Mercurial > vim-lawrencium
annotate doc/lawrencium.txt @ 7:adc267e2f0f4
Added syntax highlighting for hgstatus window.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 09 Dec 2011 23:08:53 -0800 |
parents | 1da613c13d81 |
children | 298261c939b3 |
rev | line source |
---|---|
0 | 1 *lawrencium.txt* Mercurial wrapper for VIM |
2 | |
3 Author: Ludovic Chabant <http://ludovic.chabant.com> | |
4 License: Same terms as Vim itself (see |license|) | |
5 | |
6 This plugin is only available if 'compatible' is not set. | |
7 | |
8 INTRODUCTION *lawrencium* | |
9 | |
10 When a file from a Mercurial repository is open in a buffer, that buffer gets | |
11 new commands defined. | |
12 | |
13 COMMANDS *lawrencium-commands* | |
14 | |
15 All commands defined by |lawrencium| are local to each buffer. | |
16 | |
17 *lawrencium-:Hg* | |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
18 :Hg {args} Run an arbitrary Mercurial command. Similar to :!hg |
0 | 19 [args] but the '--repository' is automatically |
20 specified with the root of the repository the current | |
21 file belongs to. | |
22 | |
23 *lawrencium-:Hg!* | |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
24 :Hg! {args} Like |:Hg|, but the output of the command is placed in |
0 | 25 a temp file and edited in the |preview-window|. |
26 | |
27 *lawrencium-:Hgcd* | |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
28 :Hgcd[!] {path} |:cd| relative to the root of the repository. |
0 | 29 |
30 *lawrencium-:Hglcd* | |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
31 :Hglcd[!] {path} |:lcd| relative to the root of the repository. |
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
32 |
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
33 *lawrencium-:Hgedit* |
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
34 :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
|
35 |
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
36 *lawrencium-:Hgedit!* |
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
37 :Hgedit! {file} |:edit!| {file} relative to the root of the repository. |
0 | 38 |
39 *lawrencium-:Hgstatus* | |
40 :Hgstatus Shows the output of 'hg status' in the | |
41 |preview-window|. | |
6
1da613c13d81
Better hg-status window.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
42 You can navigate to the next/previous file with "n"/"p". |
0 | 43 |
44 | |
45 ABOUT *lawrencium-about* | |
46 | |
47 Grab the latest version or report a bug on BitBucket: | |
48 | |
49 http://bitbucket.org/ludovicchabant/lawrencium | |
50 | |
51 | |
52 vim:tw=78:et:ft=help:norl: |