On Wednesday 10 December 2008 8:57 am, mthread wrote:
> 
> Hi,
>     I would like to know the command to select multiple lines & move
> them either backward/forward. I need this functionality to make
> indendation in my program.

here's what i use:

"  move text and rehighlight -- vim tip_id=224
vnoremap > ><CR>gv
vnoremap < <<CR>gv

to use it, visually select the lines and then use '<' or '>'
to move them one shiftwidth

sc



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to