>
> Just curious...in what sorts of cases is such a command actually
> useful?
>

I use it often. Actually, I'm not switching lines, but moving visually
selected blocks up & down, left & right.
It's faster than cut & paste or whatever. Here's my mapping on that

" Move visually selected blocks of text
vmap <C-h> <gv
vmap <C-l> >gv
vmap <C-j> :m'>+<CR>gv=`<my`>mzgv`yo`z
vmap <C-k> :m'<-2<CR>gv=`>my`<mzgv`yo`z

http://github.com/vrybas/dotvim/blob/master/rc.vim#L199

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to