VIM: Adds ctrl+c and ctrl+v mappings for clipboard use

This commit is contained in:
Jonathan Hodgson 2020-09-26 16:33:07 +01:00
parent 05cf5d188c
commit fa9e7ef249

View file

@ -14,3 +14,8 @@ nnoremap <c-h> <c-w>h
nnoremap <c-j> <c-w>j nnoremap <c-j> <c-w>j
nnoremap <c-k> <c-w>k nnoremap <c-k> <c-w>k
nnoremap <c-l> <c-w>l nnoremap <c-l> <c-w>l
" Make Ctrl C and Ctrl V work on system clipboard
" if in visual or insert mode respectively
vnoremap <C-c> "+y
inoremap <C-v> <Esc>"+pa