vim:keys: Keep selection when changing indentation
This commit is contained in:
@@ -223,3 +223,8 @@ noremap ][ ]]
|
|||||||
|
|
||||||
" Strip trailing whitespace
|
" Strip trailing whitespace
|
||||||
nnoremap <leader><space> :silent! %s/\v\s+$//<CR>
|
nnoremap <leader><space> :silent! %s/\v\s+$//<CR>
|
||||||
|
|
||||||
|
" Keep selection when changing the indentation in visual mode
|
||||||
|
vnoremap > >gv
|
||||||
|
vnoremap < <gv
|
||||||
|
vnoremap = =gv
|
||||||
|
|||||||
Reference in New Issue
Block a user