vimrc: add vmaps for better visual UX

This commit is contained in:
surtur 2022-10-30 03:18:21 +01:00
parent d3e69e7311
commit bb6e1fc9c7
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -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