> I would like to do this to each line in a visual block (TextMate -
Shift-Ctrl-Cmd W). Tim Chase suggested using ex mode substitute which works.
I will probably end up creating a map. But before I do that, I would like to
find out if there is a more "surround.vim"-ish way :-)
If you want to select multiple lines and apply something to each line you
need to use visual block instead of visual line:
1. Place the cursor at the start of the line,
2. Start visual block with CTRL-V
3. Move vertically to select several lines
4. Press $ to select to the end of each line
5. Press S and type in your 'surround': ", ', (, {, t, <
--
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