Share snippet on vpaste.net

1 Point

Romain Lafourcade Romain Lafourcade

4 years ago

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

See this paste (http://vpaste.net/UMgGR) 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