Bram Kuijper wrote:

anybody a solution to easily enclose parts of text using visual mode?

You can get the latest vis.vim from

   http://mysite.verizon.net/astronaut/vim/index.html#VIS

or a more stable version from:

   http://vim.sourceforge.net/scripts/script.php?script_id=1195

and use it as follows:

   v (move) :B s/\_.*\ze\n/"&"/

That'll put double quotes around the character-oriented visual selection.

Regards,
Chip Campbell

Reply via email to