Wednesday, October 3, 2012

V-Block Multi-line insert

Hello,

It is possible to do a visual block insert into multiple lines, through
<C-v>, select a column spanning the lines you want to edit, then
pressing 'I'. I use this fairly often, but it doesn't seem to work with
deletion.

Example being: <C-v>jjI<Del><Del><Esc>
Which doesn't delete two characters from each line.

Is there any way to get this working with deletes?

I am also curious if it is possible to do a selection that skips lines
so that I could, say, insert the letter 'a' at the beginning of lines
10-15, 18 and 20.

Thanks
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

No comments: