4 ms·
For me, p is for pasting between open buffers, and <leader>p is for pasting between programs. This way you can paste from an open buffer, and paste from the sys
by shredfvz 14y ago
For me, p is for pasting between open buffers, and <leader>p is for pasting between programs. This way you can paste from an open buffer, and paste from the system clipboard with no go-between.
vimrc:
" copy to clipboard
map <leader>y "+yy
" paste from clipboard
map <leader>p "+p
- crazydiamond 14y agoThanks, this answers my previous point, of having set clipboard push every delete/cut into the clipboard. In addition, I found this: vmap <C-c> "+y