Document the new close_on_revert setting.
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 09 May 2011 18:10:05 -0400 |
parents |
b4bac5edf5fe
|
children |
69a7385eebb8
|
branches/tags |
(none) |
files |
doc/gundo.txt site/index.html |
Changes
--- 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
--- 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 @@
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
-
+
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';
-
+
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
@@ -51,7 +51,7 @@
title="gundo by stevelosh, on Flickr"
><img src="http://farm5.static.flickr.com/4113/5093114605_ebc46d6494_m.jpg"
width="234" height="240" alt="gundo" /></a>
-
+
<p>
You know that Vim lets you undo changes like any text editor. What you might
@@ -97,6 +97,7 @@
<li><a href="#gundo_help">g:gundo_help</a></li>
<li><a href="#gundo_disable">g:gundo_disable</a></li>
<li><a href="#gundo_map_move">g:gundo_map_move_[older/newer]</a></li>
+ <li><a href="#gundo_close_on_revert">g:gundo_close_on_revert</a></li>
</ul>
</li>
<li><a href="#license">License</a></li>
@@ -318,6 +319,13 @@
gundo_map_move_older: "j"<br/>
gundo_map_move_newer: "k"
</p>
+
+ <a name="gundo_close_on_revert"></a>
+ <h2>g:gundo_close_on_revert</h2>
+
+ <p>Set this to 1 to automatically close the Gundo windows when reverting.</p>
+
+ <p>Default: 0 (windows do not automatically close)</p>
</section>
<section>
<a name="license"></a>
@@ -357,15 +365,23 @@
<section>
<a name="changelog"></a>
<h1>Changelog</h1>
-
+
<ol class="changelog">
+ <li>v2.2.0
+ <ul>
+ <li>
+ Add the <code>g:gundo_close_on_revert</code> setting.
+ </li>
+ </ul>
+ </li>
<li>v2.1.1
<ul>
<li>
Fix a bug with the movement key mappings.
</li>
</ul>
- </li><li>v2.1.0
+ </li>
+ <li>v2.1.0
<ul>
<li>
Warnings about having an incompatible Vim and/or
@@ -414,7 +430,7 @@
<section>
<a name="credits"></a>
<h1>Credits</h1>
-
+
<p>
The graphing code was all taken from Mercurial, hence the
GPLv2+ license.