Tim Chase wrote:
On 03/15/12 10:48, shawn wilson wrote:
On Thu, Mar 15, 2012 at 10:15, Tim
Chase<[email protected]> wrote:
On 03/15/12 08:43, shawn wilson wrote:
often, i want to indent every line except two or three
lines somewhere in the middle of the selection.
:'<,'>v/pattern_to_find_lines_to_ignore/sil!>
thanks, that works (not as good as what i was hoping - a key
to press to stop select and then re-enable select but it's
better than my alternative :) ).
It's actually better than disjoint-selection for many of my
use-cases. I can just make up patterns (as there's usually some
textual commonality between the lines I want to skip/find) and Vim
does the work for me. With disjoint selections, I would have to mark
each one manually--sometimes this is a couple hundred sections in my
use-cases. :-)
I haven't tried it; however, it seems like it might do what Shawn wants...
http://www.vim.org/scripts/script.php?script_id=953
Regards,
Chip Campbell
--
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