On Nov 8, 9:11 am, [email protected] wrote:
> Hi,
>
> is it possible to make a visual selection permament
> that way, that only a specific command will un-visual
> the block?
>
> Currently the visual block is unhighlighted after one has
> -- for example -- entered the wrong :s//-command.
>
If you entered the wrong :s command (or any other ex command) you
don't actually need to re-highlight the block. Just press : then the
up arrow to recall the last command, edit it to taste, and run it
again. You'll note the '<,'> remains at the beginning of the line, so
it acts on the last selected visual selection regardless of whether
you are currently in Visual Mode or not.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---