VIM: Adds ctrl+c and ctrl+v mappings for clipboard use
This commit is contained in:
parent
05cf5d188c
commit
fa9e7ef249
1 changed files with 5 additions and 0 deletions
|
@ -14,3 +14,8 @@ nnoremap <c-h> <c-w>h
|
|||
nnoremap <c-j> <c-w>j
|
||||
nnoremap <c-k> <c-w>k
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue