sprunge.vim: Vim paste plugin for http://sprunge.us
Vim script Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
doc
plugin
tests
.gitignore
.travis.yml
README.md
package.sh

README.md

About

Build Status

Sprunge.vim is a global plugin to post to Sprunge


Requirements

  • Vim 7.0+
  • curl

Installation

  • Vundle way (recommended), add the following to your $HOME/.vimrc file:

      Bundle 'javier-lopez/sprunge.vim'
    

    And run inside of vim:

      :BundleInstall
    
  • NeoBundle way:

      NeoBundle 'javier-lopez/sprunge.vim'
    

    And run inside of vim:

      :NeoBundleInstall
    
  • Pathogen way:

      $ git clone https://github.com/javier-lopez/sprunge.vim.git ~/.vim/bundle/sprunge.vim
    
  • Manual (simplest if you've never heard of vundle or pathogen), download the zip file generated from github and extract it to $HOME/.vim

      mv sprunge.vim*.zip $HOME/.vim
      cd $HOME/.vim && unzip sprunge.vim*.zip
    

    Update the help tags from vim:

      :helpt ~/.vim/doc/
    

Usage

:Sprunge (or <Leader>s) to sprunge code to sprunge.us, you may use it in visual mode to sprunge only the selection.

See :h sprunge.txt for more help.