diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-13 01:11:00 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-13 01:11:00 +0800 |
| commit | f68cdff9d59936524e87d779aade4f62f6b2d4c2 (patch) | |
| tree | 6fc03aa1a1045a59dc3a30d6da82ae69b2254a48 /mappings.vim | |
| parent | a1d9d9a8520c8dc0c3dc23129f31d1a2c59a15a1 (diff) | |
add more mappings
Diffstat (limited to 'mappings.vim')
| -rw-r--r-- | mappings.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mappings.vim b/mappings.vim index da0781e..4b2272e 100644 --- a/mappings.vim +++ b/mappings.vim @@ -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 "} |
