Ⅰ. 插件描述
Undo Branches ExplorerⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/undobranche-viewer-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/undobranche-viewer-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/undobranche-viewer-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/undobranche_viewer.vim
Ⅳ. 文档说明
Overview
Vim7 Undo Branches Explorer.
See ':help undo-branches', also.
Installation
- Copy the undobranch_viewer.vim script to the $HOME/.vim/plugin or
the $HOME/vimfiles/plugin. Refer to the ':help add-plugin',
':help add-global-plugin' and ':help runtimepath' topics for
more details about Vim plugins.
- Restart Vim.
- This script requires tlib (vimscript #1863) to be installed.
Usage
- Open Undo Branches Explorer with command ':UndoBranchViewer'.
2.
<c-p> undo selected branche.
<c-u> undo selected branche, and close undo branches list.