# HG changeset patch # User Steve Losh # Date 1304979005 14400 # Node ID 8aeb6a1a36e47bee8c6480bacbcdce062b2e99e9 # Parent b4bac5edf5fee54819f34176fe682b34945c9fce Document the new close_on_revert setting. diff -r b4bac5edf5fe -r 8aeb6a1a36e4 doc/gundo.txt --- a/doc/gundo.txt Mon May 09 15:03:11 2011 -0700 +++ b/doc/gundo.txt Mon May 09 18:10:05 2011 -0400 @@ -16,6 +16,7 @@ 3.6 gundo_disable ............. |gundo_disable| 3.7 gundo_map_move_older ...... |gundo_map_move_older| gundo_map_move_newer ...... |gundo_map_move_newer| + 3.8 gundo_close_on_revert ..... |gundo_close_on_revert| 4. License ........................ |GundoLicense| 5. Bugs ........................... |GundoBugs| 6. Contributing ................... |GundoContributing| @@ -188,6 +189,13 @@ Default: gundo_map_move_older = "j" gundo_map_move_newer = "k" +------------------------------------------------------------------------------ +3.8 g:gundo_close_on_revert *gundo_close_on_revert* + +Set this to 1 to automatically close the Gundo windows when reverting. + +Default: 0 (windows do not automatically close) + ============================================================================== 4. License *GundoLicense* @@ -211,6 +219,8 @@ ============================================================================== 7. Changelog *GundoChangelog* +v2.2.0 + * Add the g:gundo_close_on_revert setting. v2.1.1 * Fix a bug with the movement key mappings. v2.1.0 diff -r b4bac5edf5fe -r 8aeb6a1a36e4 site/index.html --- a/site/index.html Mon May 09 15:03:11 2011 -0700 +++ b/site/index.html Mon May 09 18:10:05 2011 -0400 @@ -11,11 +11,11 @@ /* */ @@ -51,7 +51,7 @@ title="gundo by stevelosh, on Flickr" >gundo - +

You know that Vim lets you undo changes like any text editor. What you might @@ -97,6 +97,7 @@

  • g:gundo_help
  • g:gundo_disable
  • g:gundo_map_move_[older/newer]
  • +
  • g:gundo_close_on_revert
  • License
  • @@ -318,6 +319,13 @@ gundo_map_move_older: "j"
    gundo_map_move_newer: "k"

    + + +

    g:gundo_close_on_revert

    + +

    Set this to 1 to automatically close the Gundo windows when reverting.

    + +

    Default: 0 (windows do not automatically close)

    @@ -357,15 +365,23 @@

    Changelog

    - +
      +
    1. v2.2.0 +
        +
      • + Add the g:gundo_close_on_revert setting. +
      • +
      +
    2. v2.1.1
      • Fix a bug with the movement key mappings.
      -
    3. v2.1.0 +
    4. +
    5. v2.1.0
      • Warnings about having an incompatible Vim and/or @@ -414,7 +430,7 @@

        Credits

        - +

        The graphing code was all taken from Mercurial, hence the GPLv2+ license.