Change indent/unindent behaviour in visual mode
After indenting/unindenting the selected lines of code, vim deselects forcing the user to reapply the selection in order to indent multiple times. This remap fixes the problem.
This commit is contained in:
parent
7e1f628d8f
commit
72ff8f33db
@ -130,6 +130,10 @@ nnoremap ,gcf :call GitGrep(expand("%:t:r"))<CR>
|
||||
nnoremap <silent> ,z :bp<CR>
|
||||
nnoremap <silent> ,x :bn<CR>
|
||||
|
||||
" Reselect visual block after indent/outdent
|
||||
vnoremap < <gv
|
||||
vnoremap > >gv
|
||||
|
||||
" ==============================
|
||||
" Window/Tab/Split Manipulation
|
||||
" ==============================
|
||||
|
Loading…
x
Reference in New Issue
Block a user