diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index bf4b6c9..905aa83 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -24,6 +24,8 @@ " | (A) -> toggle collapsed/folded rows " | (N) -> format document and return to current line " | (N) -> remove whitespace +" | (N) -> paste and replace the current word +" | (V) -> paste and replace the selection " " (neocomplcache) " | (I) -> write the part common to all suggestions @@ -83,6 +85,10 @@ "map shift to enable middle-click paste while being held map map! + + "map shift-p to paste and replace the current word or selection + nnoremap "_diwP + vnoremap "_d"0P "}}} "PLUGIN KEYBINDINGS {{{