keymaps: Switch from :put to p
authorStefan Huber <shuber@sthu.org>
Sat, 18 Dec 2021 17:24:11 +0000 (18:24 +0100)
committerStefan Huber <shuber@sthu.org>
Sat, 18 Dec 2021 17:24:11 +0000 (18:24 +0100)
Since :put pasts in own line in normal mode, switch to p.

keymaps.vim

index 398649de79484361557bca6996b108d481ede716..6f9c335d09b28e7a2c56145f840a6edbd6eb39ee 100644 (file)
@@ -6,7 +6,7 @@ if has('clipboard')
     " override plugin keymaps.
     autocmd VimEnter * vnoremap <C-c> "+y
     autocmd VimEnter * vnoremap <C-x> "+x
-    autocmd VimEnter * nnoremap <C-v> :put +<cr>
+    autocmd VimEnter * nnoremap <C-v> "+p
     autocmd VimEnter * inoremap <C-v> <c-r>+
 endif