On 2009-10-27, Robbo wrote:
> Hello,
> I need to execute:
>
> :'<,'>s/,/,^M/g
>
> and than, select by visual all the lines affected by the previous
> command and execute
> :normal ==
If by "affected" you mean the entire visually-selected region rather
than just those lines modified by the substitute command, you can
reselect that region with
gv
To indent those selected lines, just type
=
--there's no need to use ":normal ==".
Regards,
Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---