vim: Add bind for deleting into system clipboard

This commit is contained in:
2020-09-23 02:07:23 +02:00
parent 7d121cae18
commit 1c2035f458

View File

@@ -77,10 +77,12 @@ endif
" Interact with the system clipboard
if (has('clipboard') || has('nvim'))
nnoremap <leader>y "+y
nnoremap <leader>d "+d
nnoremap <leader>p "+p
nnoremap <leader>P "+P
vnoremap <leader>y "+y
vnoremap <leader>d "+d
vnoremap <leader>p "+p
vnoremap <leader>P "+P
endif