annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 *lawrencium.txt* Mercurial wrapper for VIM
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
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
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
21 LAWRENCIUM REFERENCE MANUAL
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
22 by Ludovic Chabant
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
23
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
24
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
25 *lawrencium*
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
26
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
27 1. Introduction |lawrencium-intro|
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
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|
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
30 4. Log Window |lawrencium-log-window|
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
31 5. Global Settings |lawrencium-global-settings|
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
32
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
33
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
34 =============================================================================
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
35 1. Introduction *lawrencium-intro*
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
36
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
37 When a file from a Mercurial repository is open in a buffer, that buffer gets
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
38 new commands defined.
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
39
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
40 This plugin is only available if 'compatible' is not set.
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
41
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
42 Grab the latest version or report a bug on BitBucket:
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
43
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
44 http://bitbucket.org/ludovicchabant/vim-lawrencium
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
45
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
46
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
47
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
48 =============================================================================
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
49 2. Commands *lawrencium-commands*
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
50
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
51 All commands defined by |lawrencium| are local to each buffer.
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
52
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
53 *:Hg*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
54 :Hg {args} Run an arbitrary Mercurial command. Similar to :!hg
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
55 [args] but the '--repository' is automatically
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
56 specified with the root of the repository the current
20
01932a36df03 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 13
diff changeset
57 file belongs to, and it will auto-complete any
01932a36df03 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 13
diff changeset
58 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
59
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
60 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
61 `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
62 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
63 filenames work out of the box.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
64
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
65 *:Hg!*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
66 :Hg! {args} Like |:Hg|, but the output of the command is placed in
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
67 a temp file and edited in a split window.
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
68
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
69 Once the output is open in a buffer, Lawrencium will
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
70 try to set the file type according to the Mercurial
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
71 command that was run. See |lawrencium_hg_commands_file_types|.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
72
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
73 *:Hgcd*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
74 :Hgcd[!] {path} |:cd| relative to the root of the repository.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
75
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
76 *:Hglcd*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
77 :Hglcd[!] {path} |:lcd| relative to the root of the repository.
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
78
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
79 *:Hgedit*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
80 :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
81
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
82 *:Hgedit!*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
83 :Hgedit! {file} |:edit!| {file} relative to the root of the repository.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
84
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
85 *:Hgstatus*
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
86 :Hgstatus Shows the output of 'hg status' in a split window.
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
87 Some extra-commands, along with some default mappings,
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
88 are available in this window. See
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
89 |lawrencium-status-window|.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
90
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
91 *:Hgdiff*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
92 :Hgdiff Diffs the current file against its parent revision.
51
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
93 This splits the current window to show both the
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
94 current file and the parent revision file, using Vim's
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
95 |diff| abilities.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
96
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
97 *:Hgdiff_f*
51
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
98 :Hgdiff {revspec} Same as |:Hgdiff| but shows a diff of the current file
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
99 with the specified revision. Any revision number, hash
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
100 or spec that can be passed to `hg cat` is valid.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
101
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
102 *:Hgvdiff*
51
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
103 :Hgvdiff Same as |:Hgdiff| but uses a vertical split instead of
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
104 a horizontal split.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
105
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
106 *:Hgvdiff_f*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
107 :Hgvdiff {revspec} Same as |:Hgdiff_f| but uses a vertical split.
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
108
51
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
109 *:Hgdiffsum*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
110 :Hgdiffsum Shows the "diff summary" (the output of `hg diff`)
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
111 of the current file against its parent revision.
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
112
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
113 *:Hgdiffsum_f*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
114 :Hgdiffsum {revspec} Same as |:Hgdiffsum| but shows a "diff summary" of the
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
115 current file with the specified revision. Any revision
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
116 number, hash or spec that can be passed to `hg diff`
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
117 is valid.
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
118
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
119 *:Hgdiffsumsplit*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
120 *:Hgdiffsumsplit_f*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
121 :Hgdiffsumsplit
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
122 :Hgdiffsumsplit {revspec}
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
123 Same as |:Hgdiffsum| and |:Hgdiffsum_f| respectively,
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
124 but opens the diff summary in a split window instead
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
125 of the current window.
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
126
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
127 *:Hgvdiffsumsplit*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
128 *:Hgvdiffsumsplit_f*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
129 :Hgvdiffsumsplit
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
130 :Hgvdiffsumsplit {revspec}
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
131 Same as |:Hgdiffsumsplit| and |:Hgdiffsumsplit_f|
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
132 respectively, but uses a vertical split window instead
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
133 of a horizontal split window.
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
134
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
135 *:Hgcommit*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
136 :Hgcommit Opens a new window to edit a commit message into a
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
137 temporary file and, upon quitting the buffer, if that
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
138 file has been written to, commit the current changes
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
139 to the repository.
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
140
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
141 *:Hgvcommit*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
142 :Hgvcommit Same as |:Hgcommit| but uses a vertical split to edit
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
143 the commit message.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
144
38
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
145 :Hgrevert {files} *:Hgrevert*
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
146 Reverts the given files (in repo-relative paths). If no
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
147 file are given, reverts the current file.
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
148
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
149 :Hgrevert! {files} *:Hgrevert!*
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
150 Same as |:Hgrevert| but with the --no-backup option
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
151 given to prevent a .orig backup file from being
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
152 created.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
153
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
154 *:Hglog*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
155 :Hglog
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
156 Opens the history (log) for the currently edited file
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
157 in a split window. Some extra-commands, along with
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
158 some default mappings, are available in this window.
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
159 See |lawrencium-log-window|.
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
160
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
161 *:Hglog_f*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
162 :Hglog {file} Same as |:Hglog|, but opens the log for the specified
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
163 file instead of the currently edited file.
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
164
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
165
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
166 =============================================================================
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
167 3. Status Window *lawrencium-status-window*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
168
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
169 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
170 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
171 `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
172 following descriptions.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
173
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
174
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
175 *:Hgstatusedit*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
176 :Hgstatusedit Open the file mentioned on the current line.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
177 Mapped to <CR>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
178
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
179 *:Hgstatusaddremove*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
180 :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
181 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
182 visual selection mode (see |visual-start|).
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
183 Mapped to <CTRL-A>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
184
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
185 *:Hgstatusdiff*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
186 :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
187 current line, between the working directory version
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
188 and the parent revision version. Similar to running
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
189 |:Hgdiff| on that file.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
190 Mapped to <CTRL-D>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
191
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
192 *:Hgstatusvdiff*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
193 :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
194 Similar to running |:Hgvdiff| on that file.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
195 Mapped to <CTRL-V>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
196
34
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
197 *:Hgstatuscommit*
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
198 :Hgstatuscommit Runs |:Hgcommit| on the files currently mentioned in
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
199 the buffer, or in the current selection. The first
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
200 option means you can delete lines from the buffer
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
201 until the remaining filenames are those you want to
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
202 commit.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
203 Mapped to <CTRL-S>.
34
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
204
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
205 *:Hgstatusvcommit*
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
206 :Hgstatusvcommit Similar to |:Hgstatuscommit|, but use a vertical
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
207 split, as with |:Hgvcommit|.
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
208 Not mapped byd default.
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
209
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
210 *:Hgstatusrefresh*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
211 :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
212 again.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
213 Mapped to <CTRL-R>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
214
40
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
215 *:Hgstatusqnew*
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
216 :Hgstatusqnew {patch} {message}.
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
217 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
218 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
219 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
220 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
221 (without surrounding quotes).
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
222
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
223 *:Hgstatusqrefresh*
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
224 :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
225 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
226 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
227
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
228 *lawrencium-status-mappings*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
229 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
230
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
231 <C-N> Jump to the next filename.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
232 <C-P> Jump to the previous filename.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
233 q Quit the status window.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
234
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
235
46
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 =============================================================================
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
238 4. Log Window *lawrencium-log-window*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
239
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
240 The `hg log` window opened by Lawrencium has a few special commands
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
241 defined in it. Also, unless the global |lawrencium_define_mappings| is set to
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
242 `0`, some commands are mapped to keyboard shortcuts, as detailed in the
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
243 following descriptions.
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
244
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
245 *:Hglogrevedit*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
246 :Hglogrevedit Looks at the revision specified on the current line,
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
247 and opens that revision for edit in the previous
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
248 window (although as a read-only buffer).
49
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
249 Mapped to |<CR>|.
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
250
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
251 *:Hglogdiff*
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
252 :Hglogdiff Looks at the revision specified on the current line,
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
253 and runs an `hg diff` between that revision and the
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
254 previously listed revision (in the line below). It
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
255 opens that diff in the previous window.
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
256 It doesn't do anything if the cursor is on the last
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
257 line.
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
258 Mapped to |<C-D>|.
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
259
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
260 *:Hglogdiff_r*
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
261 :Hglogdiff {rev} Same as |:Hglogdiff|, but opens a diff between the
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
262 specified revision and the working directory.
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
263
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
264 *:Hglogdiff_r_r*
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
265 :Hglogdiff {rev1} {rev2}
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
266 Same as |:Hglogdiff|, but opens a diff between the
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
267 two specified revisions.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
268
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
269 *lawrencium-log-mappings*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
270 A few other mappings are available in the log window:
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
271
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
272 q Quit the log window.
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
273
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
274
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
275
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
276 =============================================================================
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
277 5. Global Settings *lawrencium-global-settings*
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
278
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
279 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
280 default behaviour of Lawrencium.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
281
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
282 *lawrencium_hg_executable*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
283 g:lawrencium_hg_executable
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
284 Defines the executable to run when running Mercurial
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
285 commands.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
286 Defaults to simply `hg`.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
287
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
288 *lawrencium_auto_cd*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
289 g:lawrencium_auto_cd Specifies whether the current working directory should
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
290 be set to the repository's root while running |:Hg|
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
291 commands so that auto-completion works magically with
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
292 repository relative paths.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
293 Defaults to `1`.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
294
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
295 *lawrencium_define_mappings*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
296 g:lawrencium_define_mappings
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
297 Specifies whether Lawrencium should define default
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
298 keyboard shortcuts.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
299 Defaults to `1`.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
300
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
301 *lawrencium_hg_commands_file_types*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
302 g:lawrencium_hg_commands_file_types
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
303 Defines the |file-types| that Lawrencium should use
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
304 when editing the output of |:Hg!| based on the
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
305 Mercurial command that was used.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
306
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
307 By default, unless overridden, the following commands
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
308 map to the following file types:
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
309
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
310 diff diff
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
311 graphlog graphlog
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
312
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
313
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
314 vim:tw=78:et:ft=help:norl: