Share snippet on

1 Point

Romain Lafourcade Romain Lafourcade

8 years ago

Creates a paste of the whole buffer (default), visual selection or arbitrary range on

See this paste ( for a variant of the original vpaste script that trims newlines and puts the URL on Mac OS X's system clipboard (the original only uses xclip).

command! -range=% VP execute <line1> . "," . <line2> . "w !vpaste ft=" . &filetype