vim-instacode


Ⅰ. 插件描述

Instacode (http://instacod.es/) for Vim

Ⅱ. 基本信息

创建日期:  2014-04-18
使用用户:  6
Github星:  18
插件作者:  Matthew Ramina

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mattr555/vim-instacode'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mattr555/vim-instacode'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mattr555/vim-instacode'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mattr555/vim-instacode

Ⅳ. 文档说明

#Instacode for Vim

You just wrote the perfect code and want to immortalize it forever. Who wants to disrupt their workflow to put it on instacode? Now, posting to instacode is as simple as a visual select.

Install

Requires vim compiled with +python (sorry, but i didn't feel like writing a url encoding function)

Install with Pathogen, or whatever floats your boat.

Usage

In visual selection mode, just type <Leader>ic (if you haven't changed it, <Leader> is probably \)

In normal mode, :Instacode will use the last thing you visually selected.

添加新评论