Add for visual mode same normal mode remaps

This commit is contained in:
2021-09-18 18:27:01 +03:00
parent d023924c20
commit f18dd5ad9b

3
.vimrc
View File

@@ -79,4 +79,5 @@ nmap <leader>w :w<CR>
" Remaps to move line under the cursor down and up " Remaps to move line under the cursor down and up
nnoremap <C-j> :m .+1<CR>== nnoremap <C-j> :m .+1<CR>==
nnoremap <C-k> :m .-2<CR>== nnoremap <C-k> :m .-2<CR>==
vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv