Add shortcut for global clipboard copy and paste
This commit is contained in:
parent
dd9d48d1ea
commit
4f195e3261
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,12 @@ nmap <F2> :w<CR>
|
||||||
" in insert mode F2 will exit insert, save, enters insert again
|
" in insert mode F2 will exit insert, save, enters insert again
|
||||||
imap <F2> <ESC>:w<CR>i
|
imap <F2> <ESC>:w<CR>i
|
||||||
|
|
||||||
|
" in normal mode <leader>y will save to the selection clipboard
|
||||||
|
nmap <leader>y "*yy
|
||||||
|
|
||||||
|
" in normal mode <leader>p will paste from the selection clipboard
|
||||||
|
nmap <leader>p "*p
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" VUNDLE {{{
|
" VUNDLE {{{
|
||||||
|
|
Loading…
Add table
Reference in a new issue