Go to file
Strahinja Markovic 9271614008 Fix bug with python3 support crashing Gundo
The recent change that introduced python3 support also made it the default
python version used for Gundo. This caused a problem with certain versions of
vim where upon toggling the Gundo window, we would be greeted with an error
message: "This Vim cannot execute :py3 after using :python"

This commit adds a g:gundo_prefer_python3 variable (default 0) that can be used
to set a preference for python3. By default, python2 will be used.

This also required moving the variable initialization code to the top, since
just evaluating `has('python3')` seems to trigger the vim error.
2011-08-29 14:13:01 +02:00
autoload Fix bug with python3 support crashing Gundo 2011-08-29 14:13:01 +02:00
doc Increment version. 2011-06-28 16:59:30 -04:00
plugin Remove unused file. 2011-08-08 17:07:25 -04:00
site Increment version. 2011-06-28 16:59:30 -04:00
tests Make the testing symlinks relative. 2011-05-09 18:31:54 -04:00
.gitignore added gitignore with data from hgignore 2011-05-15 12:45:43 -04:00
.hgignore Add ".DS_Store" to .hgignore. 2010-11-10 19:50:17 -05:00
.hgtags Added tag v2.2.2 for changeset d6f98011d079 2011-06-28 16:59:38 -04:00
package.sh Add autoload/ to the packaging script. 2011-07-29 09:39:45 -04:00
README.markdown Clean up the README. 2010-11-10 11:23:42 -05:00

Flattr this

Gundo.vim is Vim plugin to visualize your Vim undo tree.

Preview

Screencast:

http://screenr.com/M9l

Screenshot:

gundo

Requirements

  • Vim 7.3+
  • Python support for Vim
  • Python 2.4+

Installation and Usage

Check out the project site for installation instructions.

License

GPLv2+, just like Mercurial.