Quickly copy and paste to system clipboard using <leader>

1 Point

Mattia Tezzele Mattia Tezzele

4 years ago

Access the + register in fewer keystrokes

vmap <Leader>y "+y
vmap <Leader>d "+d
nmap <Leader>yy "+yy
nmap <Leader>p "+p
nmap <Leader>P "+P
vmap <Leader>p "+p
vmap <Leader>P "+P

Florian Beer

Florian Beer 4 years ago

This seems to be a duplicate of Snippet #8