Mercurial > vim-lawrencium
comparison doc/lawrencium.txt @ 31:3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
- `addremove` command replaces `add`, and can run on a selection range.
- Lawrencium commands are available (along with in the diff windows).
- Default mappings are optional.
- Updated documentation.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 25 Dec 2011 22:40:30 -0800 |
parents | 01932a36df03 |
children | cfc15ff67aaf |
comparison
equal
deleted
inserted
replaced
29:1ce59d5aa5e9 | 31:3a0f7bb6ea64 |
---|---|
7 | 7 |
8 *lawrencium* | 8 *lawrencium* |
9 | 9 |
10 1. Introduction |lawrencium-intro| | 10 1. Introduction |lawrencium-intro| |
11 2. Commands |lawrencium-commands| | 11 2. Commands |lawrencium-commands| |
12 3. Status Window |lawrencium-status-window| | |
12 | 13 |
13 | 14 |
14 ============================================================================= | 15 ============================================================================= |
15 1. Introduction *lawrencium-intro* | 16 1. Introduction *lawrencium-intro* |
16 | 17 |
53 *:Hgedit!* | 54 *:Hgedit!* |
54 :Hgedit! {file} |:edit!| {file} relative to the root of the repository. | 55 :Hgedit! {file} |:edit!| {file} relative to the root of the repository. |
55 | 56 |
56 *:Hgstatus* | 57 *:Hgstatus* |
57 :Hgstatus Shows the output of 'hg status' in the | 58 :Hgstatus Shows the output of 'hg status' in the |
58 |preview-window|. | 59 |preview-window|. Some extra-commands, along with some |
59 You can navigate to the next/previous file with <C-N> | 60 default mappins, are available in this window. See |
60 and <C-P>, open a file with <cr>, diff the local file | 61 |lawrencium-status-window|. |
61 with the parent revision with <C-D> and <C-V>, | |
62 depending on whether you want a horizontal or vertical | |
63 split window, add an untracked file with <C-A>, and | |
64 refresh the window with <C-R>. | |
65 | 62 |
66 *:Hgdiff* | 63 *:Hgdiff* |
67 :Hgdiff Diffs the current file against its parent revision. | 64 :Hgdiff Diffs the current file against its parent revision. |
68 | 65 |
69 *:Hgdiff_f* | 66 *:Hgdiff_f* |
85 :Hgvcommit Same as |:Hgcommit| but uses a vertical split to edit | 82 :Hgvcommit Same as |:Hgcommit| but uses a vertical split to edit |
86 the commit message. | 83 the commit message. |
87 | 84 |
88 | 85 |
89 | 86 |
87 ============================================================================= | |
88 3. Status Window *lawrencium-status-window* | |
89 | |
90 The `hg status` window opened by Lawrencium has a few special commands | |
91 defined in it. Also, unless the global `lawrencium_define_mappings` is set to | |
92 `0`, some commands are mapped to keyboard shortcuts, as detailed in the | |
93 following descriptions. | |
94 | |
95 | |
96 *:Hgstatusedit* | |
97 :Hgstatusedit Open the file mentioned on the current line. | |
98 Mapped to <cr>. | |
99 | |
100 *:Hgstatusaddremove* | |
101 :Hgstatusaddremove Run `hg addremove` on the file mentioned on the | |
102 current line, or on the lines currently selected in | |
103 visual selection mode (see |visual-start|). | |
104 Mapped to <C-A>. | |
105 | |
106 *:Hgstatusdiff* | |
107 :Hgstatusdiff Open a diff window on the file mentioned on the | |
108 current line, between the working directory version | |
109 and the parent revision version. Similar to running | |
110 |:Hgdiff| on that file. | |
111 Mapped to <C-D>. | |
112 | |
113 *:Hgstatusvdiff* | |
114 :Hgstatusvdiff Similar to |:Hgstatusdiff|, but use a vertical split. | |
115 Similar to running |:Hgvdiff| on that file. | |
116 Mapped to <C-V>. | |
117 | |
118 *:Hgstatusrefresh* | |
119 :Hgstatusrefresh Refreshes the status window by running `hg status` | |
120 again. | |
121 Mapped to <C-R>. | |
122 | |
123 *lawrencium-status-mappings* | |
124 A few other mappings are available in the status window: | |
125 | |
126 <C-N> Jump to the next filename. | |
127 <C-P> Jump to the previous filename. | |
128 q Quit the status window. | |
129 | |
90 | 130 |
91 vim:tw=78:et:ft=help:norl: | 131 vim:tw=78:et:ft=help:norl: |