Document the new close_on_revert setting.

This commit is contained in:
Steve Losh 2011-05-09 18:10:05 -04:00
parent 994ee7d948
commit 137b114adb
2 changed files with 32 additions and 6 deletions

View File

@ -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

View File

@ -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 @@ let g:gundo_right = 1
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 @@ let g:gundo_right = 1
<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 @@ let g:gundo_right = 1
<section>
<a name="credits"></a>
<h1>Credits</h1>
<p>
The graphing code was all taken from Mercurial, hence the
GPLv2+ license.