vim:keys: Bind clipboard mappings to all modes

Also bind the system clipboard mappings to visual, etc.
This commit is contained in:
2022-03-30 14:54:32 +02:00
parent 10da37b676
commit ef438aeac1

View File

@@ -31,10 +31,10 @@ endif
" Interact with the system clipboard " Interact with the system clipboard
if (has('clipboard') || has('nvim')) if (has('clipboard') || has('nvim'))
noremap <leader>y "+y map <leader>y "+y
noremap <leader>d "+d map <leader>d "+d
noremap <leader>p "+p map <leader>p "+p
noremap <leader>P "+P map <leader>P "+P
endif endif
" Ctrl-Backspace should delete words in insert mode and on command-line. " Ctrl-Backspace should delete words in insert mode and on command-line.