pastie.vim


Ⅰ. 插件描述

pastie.vim: interface for pastie.org

Ⅱ. 基本信息

创建日期:  2006-07-29
使用用户:  78
Github星:  49
插件作者:  Tim Pope

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This script lets you read and create pastes at http://pastie.org/ .  Pastes can be created from a range, a register (including the clipboard), any number of files, all open windows, or an existing paste.  It automatically maps between Vim filetypes and pastie's parsers.  Details for how to use the :Pastie command are included in the comments at the top of the plugin.

Pastie is the preferred method of sharing code in the Ruby IRC community.

http://github.com/tpope/vim-pastie

添加新评论