diff --git a/mappings.vim b/mappings.vim index 44b0617..df4afe1 100644 --- a/mappings.vim +++ b/mappings.vim @@ -176,6 +176,7 @@ nnoremap call utils#SwitchLine(line('.'), 'down') xnoremap :call utils#MoveSelection('up') xnoremap :call utils#MoveSelection('down') -" 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 "_cp "}