vim clipboard one-liners

in code

Yank and replace all lines in a file without consuming the clipboard.

" Quickly yank all lines in the file.
nmap <leader>yy :%y+<cr>
" Replace all lines in the file with the contents of the clipboard.
nmap <silent><leader>rp gg"_dGVp

Remap a JavaScript Object

in code

Blog Silence

in me

Run Clare 2019 Race Series

in running

Your email address will not be published. Required fields are marked *