vim: move block
This commit is contained in:
parent
bf076ff44c
commit
dd04e5bf00
5
.vimrc
5
.vimrc
@ -110,6 +110,11 @@ nnoremap k gk
|
|||||||
vnoremap j gj
|
vnoremap j gj
|
||||||
vnoremap k gk
|
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 "
|
" DISPLAY "
|
||||||
"""""""""""
|
"""""""""""
|
||||||
|
Loading…
Reference in New Issue
Block a user