vim-sprunge


Ⅰ. 插件描述

sprunge.vim: Vim paste plugin for http://sprunge.us

Ⅱ. 基本信息

创建日期:  2013-07-18
使用用户:  26
Github星:  16
插件作者:  Javier López

Ⅲ. 安装方法

使用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

Build Status

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/.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.

添加新评论