vim: move block

This commit is contained in:
Mathieu Maret 2020-10-20 20:34:23 +02:00
parent bf076ff44c
commit dd04e5bf00

5
.vimrc
View File

@ -110,6 +110,11 @@ nnoremap k gk
vnoremap j gj
vnoremap k gk
" move visual block around
vnoremap <S-Down> :m '>+1<cr>gv=gv
vnoremap <S-Up> :m '<-2<cr>gv=gv
vnoremap <S-Right> >gv
vnoremap <S-Left> <gv
"""""""""""
" DISPLAY "
"""""""""""