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.6 gundo_disable ............. |gundo_disable|
3.7 gundo_map_move_older ...... |gundo_map_move_older| 3.7 gundo_map_move_older ...... |gundo_map_move_older|
gundo_map_move_newer ...... |gundo_map_move_newer| gundo_map_move_newer ...... |gundo_map_move_newer|
3.8 gundo_close_on_revert ..... |gundo_close_on_revert|
4. License ........................ |GundoLicense| 4. License ........................ |GundoLicense|
5. Bugs ........................... |GundoBugs| 5. Bugs ........................... |GundoBugs|
6. Contributing ................... |GundoContributing| 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" Default: gundo_map_move_older = "j"
gundo_map_move_newer = "k" 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* 4. License *GundoLicense*
@ -211,6 +219,8 @@ GitHub: http://github.com/sjl/gundo.vim/
============================================================================== ==============================================================================
7. Changelog *GundoChangelog* 7. Changelog *GundoChangelog*
v2.2.0
* Add the g:gundo_close_on_revert setting.
v2.1.1 v2.1.1
* Fix a bug with the movement key mappings. * Fix a bug with the movement key mappings.
v2.1.0 v2.1.0

View File

@ -97,6 +97,7 @@
<li><a href="#gundo_help">g:gundo_help</a></li> <li><a href="#gundo_help">g:gundo_help</a></li>
<li><a href="#gundo_disable">g:gundo_disable</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_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> </ul>
</li> </li>
<li><a href="#license">License</a></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_older: "j"<br/>
gundo_map_move_newer: "k" gundo_map_move_newer: "k"
</p> </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>
<section> <section>
<a name="license"></a> <a name="license"></a>
@ -359,13 +367,21 @@ let g:gundo_right = 1
<h1>Changelog</h1> <h1>Changelog</h1>
<ol class="changelog"> <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 <li>v2.1.1
<ul> <ul>
<li> <li>
Fix a bug with the movement key mappings. Fix a bug with the movement key mappings.
</li> </li>
</ul> </ul>
</li><li>v2.1.0 </li>
<li>v2.1.0
<ul> <ul>
<li> <li>
Warnings about having an incompatible Vim and/or Warnings about having an incompatible Vim and/or