Mercurial > vim-lawrencium
comparison 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 |
comparison
equal
deleted
inserted
replaced
50:b484fe88c500 | 51:671f5e18b515 |
---|---|
88 are available in this window. See | 88 are available in this window. See |
89 |lawrencium-status-window|. | 89 |lawrencium-status-window|. |
90 | 90 |
91 *:Hgdiff* | 91 *:Hgdiff* |
92 :Hgdiff Diffs the current file against its parent revision. | 92 :Hgdiff Diffs the current file against its parent revision. |
93 This splits the current window to show both the | |
94 current file and the parent revision file, using Vim's | |
95 |diff| abilities. | |
93 | 96 |
94 *:Hgdiff_f* | 97 *:Hgdiff_f* |
95 :Hgdiff {revspec} Diffs the current file against the specified revision. | 98 :Hgdiff {revspec} Same as |:Hgdiff| but shows a diff of the current file |
99 with the specified revision. Any revision number, hash | |
100 or spec that can be passed to `hg cat` is valid. | |
96 | 101 |
97 *:Hgvdiff* | 102 *:Hgvdiff* |
98 :Hgvdiff Same as |:Hgdiff| but uses a vertical split. | 103 :Hgvdiff Same as |:Hgdiff| but uses a vertical split instead of |
104 a horizontal split. | |
99 | 105 |
100 *:Hgvdiff_f* | 106 *:Hgvdiff_f* |
101 :Hgvdiff {revspec} Same as |:Hgdiff_f| but uses a vertical split. | 107 :Hgvdiff {revspec} Same as |:Hgdiff_f| but uses a vertical split. |
108 | |
109 *:Hgdiffsum* | |
110 :Hgdiffsum Shows the "diff summary" (the output of `hg diff`) | |
111 of the current file against its parent revision. | |
112 | |
113 *:Hgdiffsum_f* | |
114 :Hgdiffsum {revspec} Same as |:Hgdiffsum| but shows a "diff summary" of the | |
115 current file with the specified revision. Any revision | |
116 number, hash or spec that can be passed to `hg diff` | |
117 is valid. | |
118 | |
119 *:Hgdiffsumsplit* | |
120 *:Hgdiffsumsplit_f* | |
121 :Hgdiffsumsplit | |
122 :Hgdiffsumsplit {revspec} | |
123 Same as |:Hgdiffsum| and |:Hgdiffsum_f| respectively, | |
124 but opens the diff summary in a split window instead | |
125 of the current window. | |
126 | |
127 *:Hgvdiffsumsplit* | |
128 *:Hgvdiffsumsplit_f* | |
129 :Hgvdiffsumsplit | |
130 :Hgvdiffsumsplit {revspec} | |
131 Same as |:Hgdiffsumsplit| and |:Hgdiffsumsplit_f| | |
132 respectively, but uses a vertical split window instead | |
133 of a horizontal split window. | |
102 | 134 |
103 *:Hgcommit* | 135 *:Hgcommit* |
104 :Hgcommit Opens a new window to edit a commit message into a | 136 :Hgcommit Opens a new window to edit a commit message into a |
105 temporary file and, upon quitting the buffer, if that | 137 temporary file and, upon quitting the buffer, if that |
106 file has been written to, commit the current changes | 138 file has been written to, commit the current changes |