diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-13 01:16:41 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-13 01:16:41 +0800 |
| commit | 6c819f3b00a5689223bff1f80880155133f775fd (patch) | |
| tree | 37ea224decb0e3623df2ecb32c03549eeb7c2073 | |
| parent | ba283d0a09a6a8129f49ac3ed5167a2fe7ecc550 (diff) | |
add doc
| -rw-r--r-- | mappings.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mappings.vim b/mappings.vim index 44b0617..df4afe1 100644 --- a/mappings.vim +++ b/mappings.vim @@ -176,6 +176,7 @@ nnoremap <silent> <A-j> <Cmd>call utils#SwitchLine(line('.'), 'down')<CR> 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. +" Replace visual selection with text in register, but not contaminate the +" register, see also https://stackoverflow.com/q/10723700/6064933. xnoremap p "_c<ESC>p "} |
