annotate doc/lawrencium.txt @ 95:d38be34b403b

`Hgannotate` improvements. * `Hgwannotate` opens a wide/verbose version of annotations. * Both commands can take a filename to open first.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 23 Jul 2014 21:39:41 -0700
parents e21a1819ab27
children 8ec747b13dc1
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|
60
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
31 5. Annotate Window |lawrencium-annotate-window|
71
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
32 6. MQ Series Window |lawrencium-mqseries-window|
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
33 7. Global Settings |lawrencium-global-settings|
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
34
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
35
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
36 =============================================================================
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
37 1. Introduction *lawrencium-intro*
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
38
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
39 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
40 new commands defined.
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
41
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
42 This plugin is only available if 'compatible' is not set.
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 Grab the latest version or report a bug on BitBucket:
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 http://bitbucket.org/ludovicchabant/vim-lawrencium
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
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
50 =============================================================================
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
51 2. Commands *lawrencium-commands*
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
52
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
53 All commands defined by |lawrencium| are local to each buffer.
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
54
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
55 *:Hg*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
56 :Hg {args} Run an arbitrary Mercurial command. Similar to :!hg
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
57 [args] but the '--repository' is automatically
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
58 specified with the root of the repository the current
20
01932a36df03 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 13
diff changeset
59 file belongs to, and it will auto-complete any
01932a36df03 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 13
diff changeset
60 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
61
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
62 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
63 `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
64 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
65 filenames work out of the box.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
66
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
67 *:Hg!*
6
1da613c13d81 Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
68 :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
69 a temp file and edited in a split window.
46
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
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
74
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
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
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
77
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
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
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
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
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
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
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
86
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
87 *:Hgstatus*
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
88 :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
89 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
90 are available in this window. See
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
91 |lawrencium-status-window|.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
92
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
93 *:Hgdiff*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
94 :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
95 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
96 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
97 |diff| abilities.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
98
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
99 *: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
100 :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
101 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
102 or spec that can be passed to `hg cat` is valid.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
103
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
104 *: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
105 :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
106 a horizontal split.
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
107
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
108 *:Hgvdiff_f*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
109 :Hgvdiff {revspec} Same as |:Hgdiff_f| but uses a vertical split.
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
110
87
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
111 *:Hgtabdiff*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
112 :Hgtabdiff Same as |:Hgdiff| but opens the diff with a vertical
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
113 split in a new tab page.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
114
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
115 *:Hgtabdiff_f*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
116 :Hgtabdiff {revspec} Same as |:Hgdiff_f| but opens the diff with a vertical
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
117 split in a new tab page.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
118
51
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
119 *:Hgdiffsum*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
120 :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
121 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
122
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
123 *: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
124 :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
125 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
126 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
127 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
128
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
129 *:Hgdiffsumsplit*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
130 *: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
131 :Hgdiffsumsplit
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
132 :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
133 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
134 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
135 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
136
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
137 *:Hgvdiffsumsplit*
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
138 *: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
139 :Hgvdiffsumsplit
671f5e18b515 Added "diff summary" commands to use `hg diff` instead of Vim's diff.
Ludovic Chabant <ludovic@chabant.com>
parents: 49
diff changeset
140 :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
141 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
142 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
143 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
144
87
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
145 *:Hgtabdiffsumsplit*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
146 *:Hgtabdiffsumsplit_f*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
147 :Hgtabdiffsumsplit
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
148 :Hgtabdiffsumsplit {revspec}
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
149 Same as |:Hgdiffsumsplit| and |:Hgdiffsumsplit_f|
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
150 respectively, but opens the diff summary with a
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
151 vertical split in a new tab page.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
152
13
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
153 *:Hgcommit*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
154 :Hgcommit Opens a new window to edit a commit message into a
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
155 temporary file and, upon quitting the buffer, if that
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
156 file has been written to, commit the current changes
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
157 to the repository.
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
158
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
159 *:Hgvcommit*
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
160 :Hgvcommit Same as |:Hgcommit| but uses a vertical split to edit
298261c939b3 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 6
diff changeset
161 the commit message.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
162
38
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
163 :Hgrevert {files} *:Hgrevert*
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
164 Reverts the given files (in repo-relative paths). If no
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
165 file are given, reverts the current file.
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
166
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
167 :Hgrevert! {files} *:Hgrevert!*
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
168 Same as |:Hgrevert| but with the --no-backup option
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
169 given to prevent a .orig backup file from being
a384b4aff211 Updated documentation with `Hgrevert`.
Ludovic Chabant <ludovic@chabant.com>
parents: 34
diff changeset
170 created.
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
171
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
172 *:Hglog*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
173 :Hglog
66
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
174 Opens the history (log) for the current repository
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
175 in the |preview-window|. Some extra-commands, along with
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
176 some default mappings, are available in this window.
91
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
177 See |lawrencium-log-window|. In addition, you can pass
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
178 the usual hg log arguments like -u username, -l limit, etc.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
179
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
180 *:Hglog_f*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
181 :Hglog {file} Same as |:Hglog|, but opens the log for the specified
66
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
182 file or direcotry instead of the whole repository.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
183
66
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
184 *:Hglogthis*
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
185 :Hglogthis Same as |:Hglog| but opens the history (log) for the
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
186 currently edited file instead of the whole repository.
56
2b3fb72d5471 Updated the documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 51
diff changeset
187
91
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
188 *:Hglogexport*
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
189 :Hglogexport Exports the commit under cursor to directory specified by
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
190 env variable HG_EXPORT_PATCH_DIR. If this variable is not
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
191 set, then it is exported to the current working directory
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
192 of vim. On Unix, if the user specified an absolute path,
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
193 then the env variable is ignored.
e21a1819ab27 New command to export a patch and allow existing log command to take options.
Kannan Rajah <krajah@maprtech.com>
parents: 87
diff changeset
194
60
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
195 *:Hgannotate*
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
196 :Hgannotate Splits the current window to show annotations in the
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
197 left window. These annotation are retrieved with `hg
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
198 annotate`.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
199 If the current file has local edits, the full output
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
200 of `hg annotate` will be opened instead, which is the
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
201 annotated parent revision.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
202 Some extra-commands, along with some default mappings,
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
203 are available in this window.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
204 See |lawrencium-annotate-window|.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
205
95
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
206 *:Hgannotate_f*
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
207 :Hgannotate {file} Same as |:Hgannotate|, but opens {file} first with
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
208 |:Hgedit|.
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
209
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
210 *:Hgannotate!_f*
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
211 :Hgannotate! {file} Same as |:Hgannotate_f|, but opens {file} with
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
212 |:Hgedit!|.
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
213
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
214 *:Hgwannotate*
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
215 :Hgwannotate Same as |:Hgannotate|, but runs the command in
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
216 `verbose` mode to get full user names and time of day.
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
217 This results in a wider annotation column next to the
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
218 file (hence the command name: "Hg wide annotate").
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
219
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
220 *:Hgwannotate_f*
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
221 :Hgwannotate {file} Same as |:Hgwannotate|, but opens {file} first with
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
222 |:Hgedit|.
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
223
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
224 *:Hgwannotate!_f*
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
225 :Hgwannotate! {file} Same as |:Hgwannotate_f|, but opens {file} with
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
226 |:Hgedit!|.
d38be34b403b `Hgannotate` improvements.
Ludovic Chabant <ludovic@chabant.com>
parents: 91
diff changeset
227
70
16e873b2a4a8 Added `Hgvimgrep` command.
Ludovic Chabant <ludovic@chabant.com>
parents: 66
diff changeset
228 *:Hgvimgrep*
16e873b2a4a8 Added `Hgvimgrep` command.
Ludovic Chabant <ludovic@chabant.com>
parents: 66
diff changeset
229 :Hgvimgrep Runs a |:vimgrep| command inside the current
16e873b2a4a8 Added `Hgvimgrep` command.
Ludovic Chabant <ludovic@chabant.com>
parents: 66
diff changeset
230 repository. The files in which to search can be
16e873b2a4a8 Added `Hgvimgrep` command.
Ludovic Chabant <ludovic@chabant.com>
parents: 66
diff changeset
231 provided with repository-relative names. If no file is
16e873b2a4a8 Added `Hgvimgrep` command.
Ludovic Chabant <ludovic@chabant.com>
parents: 66
diff changeset
232 given, the search will be run in the whole repository.
16e873b2a4a8 Added `Hgvimgrep` command.
Ludovic Chabant <ludovic@chabant.com>
parents: 66
diff changeset
233
71
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
234 *:Hgqseries*
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
235 :Hgqseries If you have the 'mq' extension enabled, show the
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
236 current patch series, with indicators about which
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
237 patches are applied, and which ones are not.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
238
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
239
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
240 =============================================================================
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
241 3. Status Window *lawrencium-status-window*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
242
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
243 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
244 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
245 `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
246 following descriptions.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
247
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
248
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
249 *:Hgstatusedit*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
250 :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
251 Mapped to <CR>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
252
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
253 *:Hgstatusaddremove*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
254 :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
255 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
256 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
257 Mapped to <CTRL-A>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
258
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
259 *:Hgstatusdiff*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
260 :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
261 current line, between the working directory version
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
262 and the parent revision version. Similar to running
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
263 |:Hgdiff| on that file.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
264
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
265 *:Hgstatusvdiff*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
266 :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
267 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
268 Mapped to <CTRL-V>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
269
87
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
270 *:Hgstatustabdiff*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
271 :Hgstatustabdiff Similar to |:Hgstatusdiff|, but opens the split with a
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
272 vertical split in a new tab page.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
273 Similar to running |:Hgtabdiff| on that file.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
274 Mapped to <CTRL-D>.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
275
60
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
276 *:Hgstatusdiffsum*
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
277 :Hgstatusdiffsum Similar to |:Hgstatusdiff|, but show a diff summary,
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
278 like the one shown with |:Hgdiffsum|, instead of
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
279 running a full Vim diff.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
280 Mapped to <CTRL-U>.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
281
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
282 *:Hgstatusvdiffsum*
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
283 :Hgstatusvdiffsum Similar to |:Hgstatusdiffsum|, but use a vertical
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
284 split.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
285 Mapped to <CTRL-H>.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
286
87
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
287 *:Hgstatustabdiffsum*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
288 :Hgstatustabdiffsum Similar to |:Hgstatusdiffsum|, but opens the diff
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
289 summary with a vertical split in a new tab page.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
290
34
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
291 *:Hgstatuscommit*
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
292 :Hgstatuscommit Runs |:Hgcommit| on the files currently mentioned in
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
293 the buffer, or in the current selection. The first
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
294 option means you can delete lines from the buffer
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
295 until the remaining filenames are those you want to
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
296 commit.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
297 Mapped to <CTRL-S>.
34
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
298
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
299 *:Hgstatusvcommit*
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
300 :Hgstatusvcommit Similar to |:Hgstatuscommit|, but use a vertical
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
301 split, as with |:Hgvcommit|.
cfc15ff67aaf Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 31
diff changeset
302
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
303 *:Hgstatusrefresh*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
304 :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
305 again.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
306 Mapped to <CTRL-R>.
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
307
40
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
308 *:Hgstatusqnew*
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
309 :Hgstatusqnew {patch} {message}.
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
310 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
311 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
312 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
313 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
314 (without surrounding quotes).
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
315
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
316 *:Hgstatusqrefresh*
a63ec818ab21 Added `qnew` and `qrefresh` commands to the `Hgstatus` window.
Ludovic Chabant <ludovic@chabant.com>
parents: 38
diff changeset
317 :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
318 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
319 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
320
31
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
321 *lawrencium-status-mappings*
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
322 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
323
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
324 <C-N> Jump to the next filename.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
325 <C-P> Jump to the previous filename.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
326 q Quit the status window.
3a0f7bb6ea64 Hgstatus window improvements and bug fixes:
Ludovic Chabant <ludovic@chabant.com>
parents: 20
diff changeset
327
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
328
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
329
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
330 =============================================================================
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
331 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
332
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
333 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
334 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
335 `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
336 following descriptions.
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
337
73
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
338 *:Hglogdiffsum*
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
339 :Hglogdiffsum Splits the previous window to show a diff summary (as
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
340 returned by `hg diff`) of the change specified on
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
341 the current line.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
342 Mapped to |<C-U>|.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
343
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
344 *:Hglogdiffsum_r*
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
345 :Hglogdiffsum {rev1} {rev2}
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
346 Same as |:Hglogdiffsum| but shows a diff summary of
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
347 the change between the two specified revisions. If
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
348 only {rev1} is specified, the change at that revision
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
349 will be shown.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
350
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
351 *:Hglogvdiffsum*
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
352 :Hglogvdiffsum Same as |:Hglogdiffsum| but opens a vertical split
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
353 instead of a horizontal one.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
354 Mapped to |<C-H>| and |<CR>|.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
355
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
356 *:Hglogvdiffsum_r*
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
357 :Hglogvdiffsum {rev1} {rev2}
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
358 Same as |:Hglogdiffsum_r| but opens a vertical split
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
359 instead of a horizontal one.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
360
87
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
361 *:Hglogtabdiffsum*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
362 *:Hglogtabdiffsum_r*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
363 :Hglogtabdiffsum
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
364 :Hglogtabdiffsum {rev1} {rev2}
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
365 Same as |:Hglogdiffsum| and |:Hglogdiffsum_r| but
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
366 opens the diff summary in a new tab page.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
367
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
368 *:Hglogrevedit*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
369 :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
370 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
371 window (although as a read-only buffer).
66
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
372 This is only valid if the logged path maps to a file
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
373 (i.e. not a directory, and not the whole repository as
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
374 with |:Hglog|).
75e9d909758a `Hglog` changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 63
diff changeset
375 Mapped to |<C-E>|.
49
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
376
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
377 *:Hglogdiff*
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
378 :Hglogdiff Looks at the revision specified on the current line,
73
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
379 and opens a Vim diff between that revision and its
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
380 first parent.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
381 This is only valid if the logged path maps to a file
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
382 (i.e. not a directory, and not the whole repository as
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
383 with |:Hglog|).
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
384 Mapped to |<C-D>|.
49
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
385
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
386 *:Hglogdiff_r*
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
387 :Hglogdiff {rev1} {rev2}
dffb41c2067c Lawrencium files changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 48
diff changeset
388 Same as |:Hglogdiff|, but opens a diff between the
73
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
389 specified revisions. If only {rev1} is specified,
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
390 opens a Vim diff between that revision and its first
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
391 parent.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
392
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
393 *:Hglogvdiff*
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
394 :Hglogvdiff Same as |:Hglogdiff|, but opens a vertical split
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
395 instead of a horizontal one.
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
396
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
397 *:Hglogvdiff_r*
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
398 :Hglogvdiff {rev1} {rev2}
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
399 Same as |:Hglogdiff_r| but opens a vertical split
785d1a1faa6c Changes and fixes to the `Hglog` window:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
400 instead of a horizontal one.
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
401
87
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
402 *:Hglogtabdiff*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
403 *:Hglogtabdiff_r*
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
404 :Hglogtabdiff
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
405 :Hglogtabdiff {rev1} {rev2}
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
406 Same as |:Hglogdiff| and |:Hglogdiff_r| but opens the
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
407 diff with a vertical split in a new tab page.
e688b658ce5b Add variants of existing commands that open things in a new tab page.
Ludovic Chabant <ludovic@chabant.com>
parents: 73
diff changeset
408
48
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
409 *lawrencium-log-mappings*
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
410 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
411
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
412 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
413
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
414
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
415
85e39bdd7089 Lots of changes that should have gone in other commits (ugh):
Ludovic Chabant <ludovic@chabant.com>
parents: 46
diff changeset
416 =============================================================================
60
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
417 5. Annotate Window *lawrencium-annotate-window*
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
418
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
419 The following commands are available in a |:Hgannotate| window along with the
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
420 specified keyboard mappings, unless the |lawrencium_define_mappings| setting
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
421 is set to `0`.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
422
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
423 *Hgannotatediffsum*
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
424 :Hgannotatediffsum Show a diff summary (similar to |:Hgdiffsum|) for the
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
425 revision mentioned under the cursor.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
426 Mapped to |<CR>|.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
427
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
428
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
429
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
430 =============================================================================
71
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
431 6. MQ Series Window *lawrencium-mqseries-window*
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
432
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
433 The following commands are available in a |:Hgqseries| window along with the
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
434 specified keyboard mappings, unless the |lawrencium_define_mappings| setting
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
435 is set to `0`.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
436
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
437 *Hgqseriesgoto*
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
438 :Hgqseriesgoto Go to the patch under the cursor.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
439 Mapped to |<C-g>|.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
440
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
441 *Hgqserieseditmessage*
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
442 :Hgqserieseditmessage Edit the commit message for the top patch, if any.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
443 Mapped to |<C-e>|.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
444
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
445 *Hgqseriesrename*
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
446 :Hgqseriesrename {name}
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
447 Rename the patch under the cursor with the given name.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
448
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
449 *lawrencium-mqseries-mappings*
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
450 A few other mappings are available in the MQ series window:
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
451
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
452 q Quit the MQ series window.
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
453
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
454
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
455
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
456 =============================================================================
1fbba48019b5 MQ support:
Ludovic Chabant <ludovic@chabant.com>
parents: 70
diff changeset
457 7. Global Settings *lawrencium-global-settings*
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
458
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
459 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
460 default behaviour of Lawrencium.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
461
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
462 *lawrencium_hg_executable*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
463 g:lawrencium_hg_executable
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
464 Defines the executable to run when running Mercurial
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
465 commands.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
466 Defaults to simply `hg`.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
467
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
468 *lawrencium_auto_cd*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
469 g:lawrencium_auto_cd Specifies whether the current working directory should
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
470 be set to the repository's root while running |:Hg|
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
471 commands so that auto-completion works magically with
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
472 repository relative paths.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
473 Defaults to `1`.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
474
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
475 *lawrencium_define_mappings*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
476 g:lawrencium_define_mappings
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
477 Specifies whether Lawrencium should define default
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
478 keyboard shortcuts.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
479 Defaults to `1`.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
480
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
481 *lawrencium_hg_commands_file_types*
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
482 g:lawrencium_hg_commands_file_types
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
483 Defines the |file-types| that Lawrencium should use
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
484 when editing the output of |:Hg!| based on the
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
485 Mercurial command that was used.
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
486
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
487 By default, unless overridden, the following commands
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
488 map to the following file types:
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
489
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
490 diff diff
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
491 graphlog graphlog
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
492
60
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
493 *lawrencium_annotate_width_offset*
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
494 g:lawrencium_annotate_width_offset
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
495 Specifies the offset to use when computing the width
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
496 of the annotations window (opened with |:Hgannotate|).
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
497 Defaults to 0.
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
498 This is useful for example if you have |'listchars'|
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
499 set to display characters at the window border when
137d5c895659 Updated documentation.
Ludovic Chabant <ludovic@chabant.com>
parents: 56
diff changeset
500 unwrapped lines are extending outside.
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 43
diff changeset
501
63
02a1be804fe8 Using Lawrencium buffers for `Hgstatus`.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
502 *lawrencium_auto_close_buffers*
02a1be804fe8 Using Lawrencium buffers for `Hgstatus`.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
503 g:lawrencium_auto_close_buffers
02a1be804fe8 Using Lawrencium buffers for `Hgstatus`.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
504 Specifies whether to auto-close buffers opened by
02a1be804fe8 Using Lawrencium buffers for `Hgstatus`.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
505 Lawrencium. For instance, any diff summary buffer open
02a1be804fe8 Using Lawrencium buffers for `Hgstatus`.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
506 by `Hglog` will be deleted when the log window
02a1be804fe8 Using Lawrencium buffers for `Hgstatus`.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
507 disappears.
02a1be804fe8 Using Lawrencium buffers for `Hgstatus`.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
508
0
0a5b490dc35d Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
509 vim:tw=78:et:ft=help:norl: