# HG changeset patch # User Steve Losh <steve@stevelosh.com> # Date 1306507937 14400 # Node ID 8a4ae04d66d4c50521468d5417c3e284a82a1ea2 # Parent 887d515b2f460d885faa976bb3d029500c4c36cd gundo.vim: Update documentation. diff -r 887d515b2f46 -r 8a4ae04d66d4 gundo.vim/index.html --- a/gundo.vim/index.html Wed Nov 24 00:16:02 2010 -0500 +++ b/gundo.vim/index.html Fri May 27 10:52:17 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 @@ -96,6 +96,8 @@ <li><a href="#gundo_right">g:gundo_right</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_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> @@ -302,6 +304,28 @@ </p> <p>Default: 0 (Gundo is enabled as usual)</p> + + <a name="gundo_map_move"></a> + <h2>g:gundo_map_move_[older/newer]</h2> + + <p> + These options let you change the keys that navigate the + undo graph. This is useful if you use a Dvorak keyboard and + have changed your movement keys. + </p> + + <p> + Default:<br/> + 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> @@ -341,8 +365,49 @@ <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> + <li> + Fix a bug with the <code>splitbelow</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 + <ul> + <li> + Warnings about having an incompatible Vim and/or + Python installation are now deferred until the + first time you try to use Gundo, instead of being + displayed on launch. + </li> + <li> + The <code>j</code> and <code>k</code> mappings are + now configurable with + <code>g:gundo_map_move_older</code> and + <code>g:gundo_map_move_newer</code>. + </li> + <li> + The <code>o</code>, <code>Up</code> and + <code>Down</code> keys are now mapped in the + Gundo pane. + </li> + <li> + Improve and add several unit tests for Gundo. + </li> + </ul> + </li> <li>v2.0.0 <ul> <li> @@ -368,7 +433,7 @@ <section> <a name="credits"></a> <h1>Credits</h1> - + <p> The graphing code was all taken from Mercurial, hence the GPLv2+ license. diff -r 887d515b2f46 -r 8a4ae04d66d4 gundo.vim/publish.sh --- a/gundo.vim/publish.sh Wed Nov 24 00:16:02 2010 -0500 +++ b/gundo.vim/publish.sh Fri May 27 10:52:17 2011 -0400 @@ -1,5 +1,6 @@ #!/usr/bin/env bash +hg -R ~/src/sjl.bitbucket.org pull -u rsync --delete -az . ~/src/sjl.bitbucket.org/gundo.vim hg -R ~/src/sjl.bitbucket.org commit -Am 'gundo.vim: Update documentation.' hg -R ~/src/sjl.bitbucket.org push