Ⅰ. 插件描述
unite-pull-request is a unite.vim plugin for Viewing GitHub pull request.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'joker1007/unite-pull-request'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'joker1007/unite-pull-request'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'joker1007/unite-pull-request'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/joker1007/unite-pull-request
Ⅳ. 文档说明
# unite-pull-request
unite-pull-request is a unite.vim plugin for Viewing GitHub pull request.
Requirement
- curl
- webapi-vim (https://github.com/mattn/webapi-vim)
Install
Bundle it!
NeoBundle 'joker1007/unite-pull-request'Usage
Add g:github_user to your vimrc
let g:github_user="<your github user id>"To fetch pull request list of a repository,
execute :Unite with pull_request source and argument.
:Unite pull_request:owner/repository_nameIf current directory is git repository and set github url as remote "origin",
you don't need argument.
:Unite pull_requestTo fetch pull request changed file list,
execute :Unite with pull_request_file source and argument.
:Unite pull_request:owner/repository_name:1ScreenShots


