Mercurial > vim-lawrencium
annotate doc/lawrencium.txt @ 46:6a4f5200d8da
`:Hg!` command changes:
- Ability to edit in a normal buffer instead of the preview window.
- Set syntax coloring according to the Mercurial command.
- Updated the documentation.
Miscellaneous cleanup.
New pretty banner in the documentation.
New "global settings" section in the documentation.
Added `graphlog` syntax file.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 07 Nov 2012 07:14:15 -0800 |
parents | fc20a265551d |
children | 85e39bdd7089 |
rev | line source |
---|---|
0 | 1 *lawrencium.txt* Mercurial wrapper for VIM |
2 | |
13 | 3 |
46
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
4 LLLLLLLLLLL ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
5 L:::::::::L ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
6 L:::::::::L ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
7 LL:::::::LL ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
8 L:::::L rrrrr rrrrrrrrr ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
9 L:::::L r::::rrr:::::::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
10 L:::::L r:::::::::::::::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
11 L:::::L rr::::::rrrrr::::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
12 L:::::L r:::::r r:::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
13 L:::::L r:::::r rrrrrrr ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
14 L:::::L r:::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
15 L:::::L LLLLLLr:::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
16 LL:::::::LLLLLLLLL:::::Lr:::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
17 L::::::::::::::::::::::Lr:::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
18 L::::::::::::::::::::::Lr:::::r ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
19 LLLLLLLLLLLLLLLLLLLLLLLLrrrrrrr ~ |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
20 |
13 | 21 LAWRENCIUM REFERENCE MANUAL |
22 by Ludovic Chabant | |
23 | |
24 | |
25 *lawrencium* | |
0 | 26 |
13 | 27 1. Introduction |lawrencium-intro| |
28 2. Commands |lawrencium-commands| | |
31
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
29 3. Status Window |lawrencium-status-window| |
46
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
30 4. Global Settings |lawrencium-global-settings| |
0 | 31 |
13 | 32 |
33 ============================================================================= | |
34 1. Introduction *lawrencium-intro* | |
0 | 35 |
36 When a file from a Mercurial repository is open in a buffer, that buffer gets | |
37 new commands defined. | |
38 | |
13 | 39 This plugin is only available if 'compatible' is not set. |
40 | |
41 Grab the latest version or report a bug on BitBucket: | |
42 | |
43 http://bitbucket.org/ludovicchabant/vim-lawrencium | |
44 | |
45 | |
46 | |
47 ============================================================================= | |
48 2. Commands *lawrencium-commands* | |
0 | 49 |
50 All commands defined by |lawrencium| are local to each buffer. | |
51 | |
13 | 52 *:Hg* |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
53 :Hg {args} Run an arbitrary Mercurial command. Similar to :!hg |
0 | 54 [args] but the '--repository' is automatically |
55 specified with the root of the repository the current | |
20
01932a36df03
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
13
diff
changeset
|
56 file belongs to, and it will auto-complete any |
01932a36df03
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
13
diff
changeset
|
57 standard command or option. |
43
fc20a265551d
Added auto cd'ing into the repo root for `:Hg`.
Ludovic Chabant <ludovic@chabant.com>
parents:
40
diff
changeset
|
58 |
46
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
59 Also, unless the |lawrencium_auto_cd| global is set to |
43
fc20a265551d
Added auto cd'ing into the repo root for `:Hg`.
Ludovic Chabant <ludovic@chabant.com>
parents:
40
diff
changeset
|
60 `0`, it will temporarily set the current directory to be |
fc20a265551d
Added auto cd'ing into the repo root for `:Hg`.
Ludovic Chabant <ludovic@chabant.com>
parents:
40
diff
changeset
|
61 the root of the repository so that auto-completed |
fc20a265551d
Added auto cd'ing into the repo root for `:Hg`.
Ludovic Chabant <ludovic@chabant.com>
parents:
40
diff
changeset
|
62 filenames work out of the box. |
0 | 63 |
13 | 64 *:Hg!* |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
65 :Hg! {args} Like |:Hg|, but the output of the command is placed in |
46
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
66 a temp file and edited in the |preview-window|, unless |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
67 the |lawrencium_hg_bang_edit_command| global setting |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
68 specifies that another type of window or buffer should |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
69 be used. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
70 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
71 Once the output is open in a buffer, Lawrencium will |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
72 try to set the file type according to the Mercurial |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
73 command that was run. See |lawrencium_hg_commands_file_types|. |
0 | 74 |
13 | 75 *:Hgcd* |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
76 :Hgcd[!] {path} |:cd| relative to the root of the repository. |
0 | 77 |
13 | 78 *:Hglcd* |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
79 :Hglcd[!] {path} |:lcd| relative to the root of the repository. |
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
80 |
13 | 81 *:Hgedit* |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
82 :Hgedit {file} |:edit| {file} relative to the root of the repository. |
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
83 |
13 | 84 *:Hgedit!* |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
85 :Hgedit! {file} |:edit!| {file} relative to the root of the repository. |
0 | 86 |
13 | 87 *:Hgstatus* |
0 | 88 :Hgstatus Shows the output of 'hg status' in the |
31
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
89 |preview-window|. Some extra-commands, along with some |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
90 default mappins, are available in this window. See |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
91 |lawrencium-status-window|. |
13 | 92 |
93 *:Hgdiff* | |
94 :Hgdiff Diffs the current file against its parent revision. | |
95 | |
96 *:Hgdiff_f* | |
97 :Hgdiff {revspec} Diffs the current file against the specified revision. | |
98 | |
99 *:Hgvdiff* | |
100 :Hgvdiff Same as |:Hgdiff| but uses a vertical split. | |
101 | |
102 *:Hgvdiff_f* | |
103 :Hgvdiff {revspec} Same as |:Hgdiff_f| but uses a vertical split. | |
104 | |
105 *:Hgcommit* | |
106 :Hgcommit Opens a new window to edit a commit message into a | |
107 temporary file and, upon quitting the buffer, if that | |
108 file has been written to, commit the current changes | |
109 to the repository. | |
110 | |
111 *:Hgvcommit* | |
112 :Hgvcommit Same as |:Hgcommit| but uses a vertical split to edit | |
113 the commit message. | |
0 | 114 |
38
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
115 :Hgrevert {files} *:Hgrevert* |
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
116 Reverts the given files (in repo-relative paths). If no |
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
117 file are given, reverts the current file. |
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
118 |
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
119 :Hgrevert! {files} *:Hgrevert!* |
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
120 Same as |:Hgrevert| but with the --no-backup option |
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
121 given to prevent a .orig backup file from being |
a384b4aff211
Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
122 created. |
0 | 123 |
124 | |
31
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
125 ============================================================================= |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
126 3. Status Window *lawrencium-status-window* |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
127 |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
128 The `hg status` window opened by Lawrencium has a few special commands |
46
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
129 defined in it. Also, unless the global |lawrencium_define_mappings| is set to |
31
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
130 `0`, some commands are mapped to keyboard shortcuts, as detailed in the |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
131 following descriptions. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
132 |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
133 |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
134 *:Hgstatusedit* |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
135 :Hgstatusedit Open the file mentioned on the current line. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
136 Mapped to <cr>. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
137 |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
138 *:Hgstatusaddremove* |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
139 :Hgstatusaddremove Run `hg addremove` on the file mentioned on the |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
140 current line, or on the lines currently selected in |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
141 visual selection mode (see |visual-start|). |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
142 Mapped to <C-A>. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
143 |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
144 *:Hgstatusdiff* |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
145 :Hgstatusdiff Open a diff window on the file mentioned on the |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
146 current line, between the working directory version |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
147 and the parent revision version. Similar to running |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
148 |:Hgdiff| on that file. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
149 Mapped to <C-D>. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
150 |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
151 *:Hgstatusvdiff* |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
152 :Hgstatusvdiff Similar to |:Hgstatusdiff|, but use a vertical split. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
153 Similar to running |:Hgvdiff| on that file. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
154 Mapped to <C-V>. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
155 |
34
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
156 *:Hgstatuscommit* |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
157 :Hgstatuscommit Runs |:Hgcommit| on the files currently mentioned in |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
158 the buffer, or in the current selection. The first |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
159 option means you can delete lines from the buffer |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
160 until the remaining filenames are those you want to |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
161 commit. |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
162 Mapped to <C-S>. |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
163 |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
164 *:Hgstatusvcommit* |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
165 :Hgstatusvcommit Similar to |:Hgstatuscommit|, but use a vertical |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
166 split, as with |:Hgvcommit|. |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
167 Not mapped byd default. |
cfc15ff67aaf
Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents:
31
diff
changeset
|
168 |
31
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
169 *:Hgstatusrefresh* |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
170 :Hgstatusrefresh Refreshes the status window by running `hg status` |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
171 again. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
172 Mapped to <C-R>. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
173 |
40
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
174 *:Hgstatusqnew* |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
175 :Hgstatusqnew {patch} {message}. |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
176 If you have the 'mq' extension enabled, creates a new |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
177 patch with the file currently mentioned in the buffer, |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
178 or in the current selection. You must give a patch name, |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
179 and may optionally write a commit message for the patch |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
180 (without surrounding quotes). |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
181 |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
182 *:Hgstatusqrefresh* |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
183 :Hgstatusqrefresh If you have the 'mq' extension enabled, refreshes the |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
184 current patch with the files currently mentioned in the |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
185 buffer, or in the current selection. |
a63ec818ab21
Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents:
38
diff
changeset
|
186 |
31
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
187 *lawrencium-status-mappings* |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
188 A few other mappings are available in the status window: |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
189 |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
190 <C-N> Jump to the next filename. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
191 <C-P> Jump to the previous filename. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
192 q Quit the status window. |
3a0f7bb6ea64
Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
193 |
0 | 194 |
46
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
195 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
196 ============================================================================= |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
197 4. Global Settings *lawrencium-global-settings* |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
198 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
199 The following global settings can be defined in your |vimrc| to change the |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
200 default behaviour of Lawrencium. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
201 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
202 *lawrencium_hg_executable* |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
203 g:lawrencium_hg_executable |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
204 Defines the executable to run when running Mercurial |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
205 commands. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
206 Defaults to simply `hg`. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
207 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
208 *lawrencium_auto_cd* |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
209 g:lawrencium_auto_cd Specifies whether the current working directory should |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
210 be set to the repository's root while running |:Hg| |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
211 commands so that auto-completion works magically with |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
212 repository relative paths. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
213 Defaults to `1`. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
214 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
215 *lawrencium_define_mappings* |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
216 g:lawrencium_define_mappings |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
217 Specifies whether Lawrencium should define default |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
218 keyboard shortcuts. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
219 Defaults to `1`. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
220 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
221 *lawrencium_hg_bang_edit_command* |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
222 g:lawrencium_hg_bang_edit_command |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
223 Defines the Vim command to run when using the |:Hg!| |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
224 command (with the bang) in order to show the output. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
225 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
226 Defaults to |pedit|, which opens the output of the |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
227 command in the |preview-window|. A good alternative |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
228 is to use |edit|, to open the output in a normal |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
229 buffer. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
230 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
231 *lawrencium_hg_commands_file_types* |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
232 g:lawrencium_hg_commands_file_types |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
233 Defines the |file-types| that Lawrencium should use |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
234 when editing the output of |:Hg!| based on the |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
235 Mercurial command that was used. |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
236 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
237 By default, unless overridden, the following commands |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
238 map to the following file types: |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
239 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
240 diff diff |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
241 graphlog graphlog |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
242 |
6a4f5200d8da
`:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
43
diff
changeset
|
243 |
0 | 244 vim:tw=78:et:ft=help:norl: |