vimrc: add vmaps for better visual UX
This commit is contained in:
parent
d3e69e7311
commit
bb6e1fc9c7
@ -611,6 +611,14 @@ nnoremap <silent><f7> gt
|
|||||||
map - <C-W>-
|
map - <C-W>-
|
||||||
map + <C-W>+
|
map + <C-W>+
|
||||||
|
|
||||||
|
" vmap to stay in Visual Mode after shifting > and <
|
||||||
|
vmap < <gv
|
||||||
|
vmap > >gv
|
||||||
|
|
||||||
|
" moving visual blocks
|
||||||
|
vnoremap J :m '>+1<CR>gv=gv
|
||||||
|
vnoremap K :m '<-2<CR>gv=gv
|
||||||
|
|
||||||
|
|
||||||
"------------------------------------
|
"------------------------------------
|
||||||
" vim-go.vim
|
" vim-go.vim
|
||||||
|
Loading…
Reference in New Issue
Block a user