Ⅰ. 插件描述
Wrapper around arcanist for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jlfwong/vim-arcanist'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jlfwong/vim-arcanist'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jlfwong/vim-arcanist'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jlfwong/vim-arcanist
Ⅳ. 文档说明
arcanist.vim
This is out of order, because the arc inlines commands is gone. This renders this repository pretttty much useless :(
Simple wrapper around arcanist for vim. Mostly useful for :ArcInlines.
arc inlines lists all of the inline comments for the current associated Differential revision.
:ArcInlines takes that list and shoves it into the quickfix buffer for quick navigation with :cnext and :cprev.

(Blurry) Screencast
Less Animated Explanation
If this is what you see in Phabricator:

Then this is what you'll see when you run arc inlines.

And this is what you'll see when you run :ArcInlines inside of vim.

Which you can then navigate using all the normal quickfix navigation commands. :help quickfix, :help :cn, :help :cp.
Installation
Compatible with pathogen.vim and
vundle.
For pathogen, install by running
cd ~/.vim/bundle
git clone git://github.com/phleet/vim-arcanist.git
For vundle, install by adding
Bundle 'phleet/vim-arcanist'
to your .vimrc and running :BundleInstall inside of vim.
Once help tags have been generated, you can view the manual with:help arcanist.
License
Copyright (c) Jamie Wong. Distributed under the same terms as Vim itself.
See :help license.