From ef438aeac1e629111f734406ea455b71b7d8ee14 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Wed, 30 Mar 2022 14:54:32 +0200 Subject: [PATCH] vim:keys: Bind clipboard mappings to all modes Also bind the system clipboard mappings to visual, etc. --- .config/vim/vimrc.d/40-keys.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index fad5d91..bbe31f5 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -31,10 +31,10 @@ endif " Interact with the system clipboard if (has('clipboard') || has('nvim')) - noremap y "+y - noremap d "+d - noremap p "+p - noremap P "+P + map y "+y + map d "+d + map p "+p + map P "+P endif " Ctrl-Backspace should delete words in insert mode and on command-line.