mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
add more mappings
This commit is contained in:
parent
a1d9d9a852
commit
f68cdff9d5
@ -174,4 +174,7 @@ nnoremap <silent> <A-j> <Cmd>call utils#SwitchLine(line('.'), 'down')<CR>
|
|||||||
" Move current visual-line selection up and down
|
" Move current visual-line selection up and down
|
||||||
xnoremap <silent> <A-k> :<C-U>call utils#MoveSelection('up')<CR>
|
xnoremap <silent> <A-k> :<C-U>call utils#MoveSelection('up')<CR>
|
||||||
xnoremap <silent> <A-j> :<C-U>call utils#MoveSelection('down')<CR>
|
xnoremap <silent> <A-j> :<C-U>call utils#MoveSelection('down')<CR>
|
||||||
|
|
||||||
|
" Replace visual selection with text in register, but not contaminate the register.
|
||||||
|
xnoremap p "_c<ESC>p
|
||||||
"}
|
"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user