Thiago wrote:
> Hi,
>
> I have a function that replaces some text in a range of lines
> (through the use of the range keyword). What I want is to be able to
> apply this function in an area selected with the Visual Block Mode,
> how can I do it?
>
I've written a plugin, vis.vim, that provides a "B" (for block) command:
:'<,'>B cmd
The cmd can be pretty much any Ex command; a popular one is to do
substitutes, such as
:'<,'>B s/onething/foranother/
You can get vis.vim from:
http://vim.sourceforge.net/scripts/script.php?script_id=1195 (stable)
http://mysite.verizon.net/astronaut/vim/index.html#VIS
(cutting edge)
Regards.
Chip Campbell
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---