Visual block movements
This commit is contained in:
parent
07530fb3f8
commit
a507285d10
@ -29,3 +29,7 @@ noremap <Leader>; $a;<Esc>
|
|||||||
|
|
||||||
" Search highlighted text in buffer
|
" Search highlighted text in buffer
|
||||||
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user