1
0
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:
jdhao 2020-10-13 01:11:00 +08:00
parent a1d9d9a852
commit f68cdff9d5

View File

@ -174,4 +174,7 @@ nnoremap <silent> <A-j> <Cmd>call utils#SwitchLine(line('.'), 'down')<CR>
" Move current visual-line selection up and down
xnoremap <silent> <A-k> :<C-U>call utils#MoveSelection('up')<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
"}