One of the answers “How to quickly separate multiple lines in vi” showed me a neat trick to reassign > in visual mode to re-select visual mode, in .vimrc ...
vnoremap < <gv vnoremap > >gv
Then I just select the line (or lines) you want to indent, and click the appropriate direction as many times as you want.
dash-tom-bang Sep 13 '10 at 17:16 2010-09-13 17:16
source share