Ⅰ. 插件描述
Mundo fork - master is --->Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dsummersl/gundo-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dsummersl/gundo-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dsummersl/gundo-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dsummersl/gundo.vim
Ⅳ. 文档说明
vim-mundo
A Vim plugin to visualizes the Vim [undo tree].

- [Official webpage]
- [Introductory Video]
How is this different than other plugins?
Mundo is a fork of [Gundo], and it has bunch of improvements.
Several new features:
- Ability to search undo history using /.
- An 'in line' diff mode.
- Navigation keys J and K to move thru written undos.
Merged upstream [pull requests]:
- [Neovim] support
What's your further plan?
- Make faster
- Automated test
Requirements
- Vim ≥ 7.3 or [Neovim]
+python3or+pythoncompile option- Python ≥ 2.4
Recommended vim settings:
" Enable persistent undo so that undo history persists across vim sessions
set undofile
set undodir=~/.vim/undoContributing to Mundo
Tagging in the issue tracker
When submitting pull requests (commonly referred to as "PRs"), include one
of the following tags prepended to the title:
- [WIP] - Work In Progress: the PR will change, so while there is no immediate
- for review, the submitter still might appreciate it.
- [RFC] - Request For Comment: the PR needs reviewing and/or comments.
- [RDY] - Ready: the PR has been reviewed by at least one other person and has
- outstanding issues.
Assuming the above criteria has been met, feel free to change your PR's tag
yourself, as opposed to waiting for a contributor to do it for you.
Unit tests
Tests unit tests can be run with [nose]:
cd autoload
nosetestsvim-mundo is primarily distributed under the terms of the [GNU General Public
License, version 2] or any later version. See [COPYRIGHT] for details.