:best of Vim

Showcasing the top Vim plugins, tips and tricks.

What is Vim?

Vim is a text editor for programmers, power users & command-line junkies.

What is :best of Vim?

:best of Vim showcases the best plugins, extensions & tips for making the most of Vim.

It was built for NoVIMber 2011.

Learn more...

Follow

Gundo

Vim doesn't just support undo & redo, it has a branching model that allows you to do move backwards and forwards through the timeline of the document. It's very clever. It's also pretty hard to make best use of.

Gundo gives you an ASCII-view of the undo tree that makes it super-simple. You can view the tree of changes, navigate it, see the diff and revert back to any point in time:

 @  [5] 3 seconds ago
 |
 | o  [4] 8 seconds ago
 | |
 | o  [3] 19 seconds ago
 | |
 | o  [2] 26 seconds ago
 | |
 | o  [1] 27 seconds ago
 |/
 o  [0] Original

Even when you're using version control & committing regularly, Gundo can save you a lost snippet of work or remind you of a blind alley you've already been down. Plus, frankly, it's really neat....

Download

Tags:undo
Comments...

Written by