From 137b114adb8d921a8902b8e3645d32f04aef808f Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Mon, 9 May 2011 18:10:05 -0400 Subject: [PATCH] Document the new close_on_revert setting. --- doc/gundo.txt | 10 ++++++++++ site/index.html | 28 ++++++++++++++++++++++------ 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/doc/gundo.txt b/doc/gundo.txt index 3ee2b48..bcb0a38 100644 --- a/doc/gundo.txt +++ b/doc/gundo.txt @@ -16,6 +16,7 @@ CONTENTS *Gundo-contents* 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 @@ useful if you use a Dvorak keyboard and have changed your movement keys. 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 @@ GitHub: http://github.com/sjl/gundo.vim/ ============================================================================== 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 --git a/site/index.html b/site/index.html index 338fac9..a10091e 100644 --- a/site/index.html +++ b/site/index.html @@ -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 @@ let g:gundo_right = 1 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 @@ let g:gundo_right = 1

    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 @@ let g:gundo_right = 1

        Credits

        - +

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