Curious - what's the point of retaining the selection after indenting?
Re:Vim After 11 Years
by jdonaldson on Thursday February 21, 2013 @01:31AM
(#5255843)
Sometimes you want to indent more than once. This remap is fine, but the idiomatic way to do this is just to use a period to repeat the last command. It doesn't hurt to get used to that.
Enter a number then any command to repeat it as many times as you want.
" Make Y behave like other capitals
nnoremap Y y$
" Reselect visual block after indent/outdent
vnoremap < <gv
vnoremap > >gv