Visual block movements

This commit is contained in:
Daniel Lynn 2021-12-14 09:59:32 -06:00
parent 07530fb3f8
commit a507285d10
Signed by: daniel
GPG Key ID: 28496A140E180A9D

View File

@ -29,3 +29,7 @@ noremap <Leader>; $a;<Esc>
" Search highlighted text in buffer
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>
" Shift + J/K moves selected lines down/up in visual mode
vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv