Ⅰ. 插件描述
unite source for using gitⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kmnk/vim-unite-giti'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kmnk/vim-unite-giti'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kmnk/vim-unite-giti'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kmnk/vim-unite-giti
Ⅳ. 文档说明
Now, I writing new plugin gitn for using git on denite.vim .
In the future, I implemnt all sources on giti to gitn :)
vim-unite-giti
vim-unite-giti is unite source for using git.
Usage
Install
NeoBundle 'git://github.com/kmnk/vim-unite-giti.git'
Sources
giti
- view sources of giti
giti/branch
- view branches on current repository
giti/config
- view config
giti/log
- view log on current repository
giti/remote
- view remotes
giti/status
- view status of current repository
giti/grep
- view grep results and jump to line
Kinds
giti/branch actions
- switch
- delete
- delete_force
- merge
giti/config actions
- yank_value
- write
- remove
giti/log actions
- view
- diff
- revert
- vimdiff
- reset
giti/remote actions
- fetch
- rename
- rm
giti/status actions
- add
- add_patch
- reset
- commit
- amend
- checkout
- diff
- diff_cached
- diff_head
- vimdiff_head
- rm_cached
- ignore
CUSTOM ACTION
on file kind
- git_rm
SEE ALSO
TODO
- extend giti/log source (and write document about it)
- implement giti/stash source and kind
- implement giti/blame source and kind (use scrollbind)
- implement giti/tag source and kind
- implement git_pull and git_pull_squash custom actions
- and other ...