Ⅰ. 插件描述
The Peepopen vim plugin, added here to make it easier to add using git when building MacvimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mrchrisadams/vim-peepopen'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mrchrisadams/vim-peepopen'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mrchrisadams/vim-peepopen'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mrchrisadams/vim-peepopen
Ⅳ. 文档说明
This isn't my plugin per se - I use [Janus][] flavoured [MacVim][] and [PeepOpen][] together, and
whenever I'd rebuild Vim, I'd always have to remember after upgrading to
open Peepopen independently of Vim, and then hit 'install MacVim
Plugin'.
When I found out that all Peepopen was doing was putting a plugin in.vim/plugins, the simplest thing to do seems to be create a repo
somewhere, and pull in the Peepopen Plugin when running an upgrade, or
building it.
How to use this
Add the following line to your janus Rakefile, and it should be pulled
in when building Vim's plugins:
vim_plugin_task "peepopen", "git://github.com/mrchrisadams/vim-peepopen.git"
And PeepOpen should be available to you without having to explicitly click 'install plugin any more'
<!-- links-->