vim-sprunge : A pastebin vim plugin for http://sprunge.us/
| script karma
Downloaded by 342
Comments, bugs, improvements
script versions (upload new version)
|There are several pastebin sites avalaible on the Internet, and there exist even a plugin for Gist: https://github.com/mattn/gist-vim. So why yet another pastebin plugin?, well, tell me 1 site who allow you fetch the content sanetely?, most of them ask you to open a browser and click here and there to get the juice.
http://sprunge.us/ doesn't not!, if you're confident in a terminal, try this:
$ ls | curl -F 'sprunge=<-' http://sprunge.us
Curius for your output?, try now this:
$ curl <url-sprunge-generated>
Cool!?, eh?, now, wouldn't it be even more cool if you could paste directly from vim?
After pressing <Enter>, you'll get a url with the content of your file. You
can also invoke this in visual mode to sprunge only the visual selection.
Alternatively you may also use the '<Leader>s' mapping, you can override this
mapping by setting 'g:sprunge_map' in your .vimrc
|The recommended way to get vim-sprunge is by combining github and vundle:
Add to your $HOME/.vimrc file:
Run inside of vim:
$ git clone https://github.com/chilicuil/vim-sprunge.git ~/.vim/bundle/sprunge
Download the zip file attached and extract the files in $HOME/.vim
mv vim-sprunge*.zip $HOME/.vim
cd $HOME/.vim && unzip vim-sprunge*.zip
Update the help tags:
Vote the plugin if you like it =)
Click on the package to download.
ip used for rating: 22.214.171.124