Friday, December 31, 2021

:so should take a range ?

hello people,

Years ago, i wrote a [range]Source so you can type some viml in your
current buffer and run it. This is useful in many situations (for
exemple cd to a directory refered in a log).

https://github.com/eiro/rcfiles/blob/master/vim/vimfiles/plugin/source_range.vim

I made a demo of this to some colleagues and someone asked why isn't it
a core feature. I have to admit i never thought about that but it makes
sense:

* doesn't conflict with another feature
* sourcing viml is obviously already implemented so i imagine adding a
range shouldn't be that hard

maybe none got the idea to ask so i do now :)

happy new year everyone.

regards
marc

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/Yc68VArXcuLwMilG%40prometheus.u-strasbg.fr.

No comments:

Post a Comment