4 ms·
My favourite ones: " Make Y behave like other capitals nnoremap Y y$ " Reselect visual block after indent/outdent vnoremap < <gv vnoremap > >gv
by ichinaski 14y ago
My favourite ones:
" Make Y behave like other capitals
nnoremap Y y$
" Reselect visual block after indent/outdent
vnoremap < <gv
vnoremap > >gv
- tomlu 14y agoCurious - what's the point of retaining the selection after indenting?
- jdonaldson 14y agoSometimes 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.