Ⅰ. 插件描述
sprunge.vim: Vim paste plugin for http://sprunge.usⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'chilicuil/vim-sprunge-mine'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'chilicuil/vim-sprunge-mine'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'chilicuil/vim-sprunge-mine'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/chilicuil/vim-sprunge
Ⅳ. 文档说明
About
Sprunge.vim is a global plugin to post to Sprunge
<p align="center">

</p>
Requirements
- Vim 7.0+
- curl
Installation
Vundle way (recommended), add the following to your
$HOME/.vimrcfile: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/.vimmv sprunge.vim*.zip $HOME/.vim
cd $HOME/.vim && unzip sprunge.vim*.zipUpdate 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.
