Mercurial > vim-lawrencium
diff doc/lawrencium.txt @ 51:671f5e18b515
Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Added documenation for the new commands.
Got rid of the useless hard-coded revision numbers.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 10 Nov 2012 11:17:34 -0800 |
parents | dffb41c2067c |
children | 2b3fb72d5471 |
line wrap: on
line diff
--- a/doc/lawrencium.txt Fri Nov 09 05:52:34 2012 -0800 +++ b/doc/lawrencium.txt Sat Nov 10 11:17:34 2012 -0800 @@ -90,16 +90,48 @@ *:Hgdiff* :Hgdiff Diffs the current file against its parent revision. + This splits the current window to show both the + current file and the parent revision file, using Vim's + |diff| abilities. *:Hgdiff_f* -:Hgdiff {revspec} Diffs the current file against the specified revision. +:Hgdiff {revspec} Same as |:Hgdiff| but shows a diff of the current file + with the specified revision. Any revision number, hash + or spec that can be passed to `hg cat` is valid. *:Hgvdiff* -:Hgvdiff Same as |:Hgdiff| but uses a vertical split. +:Hgvdiff Same as |:Hgdiff| but uses a vertical split instead of + a horizontal split. *:Hgvdiff_f* :Hgvdiff {revspec} Same as |:Hgdiff_f| but uses a vertical split. + *:Hgdiffsum* +:Hgdiffsum Shows the "diff summary" (the output of `hg diff`) + of the current file against its parent revision. + + *:Hgdiffsum_f* +:Hgdiffsum {revspec} Same as |:Hgdiffsum| but shows a "diff summary" of the + current file with the specified revision. Any revision + number, hash or spec that can be passed to `hg diff` + is valid. + + *:Hgdiffsumsplit* + *:Hgdiffsumsplit_f* +:Hgdiffsumsplit +:Hgdiffsumsplit {revspec} + Same as |:Hgdiffsum| and |:Hgdiffsum_f| respectively, + but opens the diff summary in a split window instead + of the current window. + + *:Hgvdiffsumsplit* + *:Hgvdiffsumsplit_f* +:Hgvdiffsumsplit +:Hgvdiffsumsplit {revspec} + Same as |:Hgdiffsumsplit| and |:Hgdiffsumsplit_f| + respectively, but uses a vertical split window instead + of a horizontal split window. + *:Hgcommit* :Hgcommit Opens a new window to edit a commit message into a temporary file and, upon quitting the buffer, if that