Ⅰ. 插件描述
pastie.vim: interface for pastie.orgⅡ. 基本信息
|
Ⅲ. 安装方法
使用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.