vim:keys: Bind clipboard mappings to all modes
Also bind the system clipboard mappings to visual, etc.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user