Awesome
vim-mundo
A Vim plugin to visualizes the Vim undo tree.
<img src="https://simnalamburt.github.io/vim-mundo/screenshot.png"> <br>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 <kbd>/</kbd>.
- An 'in line' diff mode.
- Navigation keys <kbd>J</kbd> and <kbd>K</kbd> to move thru written undos.
- Merged upstream pull requests:
- Neovim support
What's your further plan?
- Make faster
- Automated test
Requirements
Recommended vim settings:
" Enable persistent undo so that undo history persists across vim sessions
set undofile
set undodir=~/.vim/undo
<br>
Installation
It is recommended to use one of the popular plugin managers for Vim. There are many and you probably already have a preferred one, but a few examples for your copy-and-paste convenience:
Pathogen
$ git clone https://github.com/simnalamburt/vim-mundo ~/.vim/bundle/mundo.vim
Vundle
Plugin 'simnalamburt/vim-mundo'
NeoBundle
NeoBundle 'simnalamburt/vim-mundo'
Vim-Plug
Plug 'simnalamburt/vim-mundo'
Manual (not recommended)
Download the plugin and extract it in ~/.vim/
(or
%PROGRAMFILES%/Vim/vimfiles
on Windows).
Unit tests
Tests unit tests can be run with nose:
cd autoload
nosetests
<br>
vim-mundo is primarily distributed under the terms of the GNU General Public License, version 2 or any later version. See COPYRIGHT for details.