/
README
54 lines (46 loc) · 3.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
This is a mirror of http://www.vim.org/scripts/script.php?script_id=3828
This plugin provides a vim <--> VCS (currently mercurial, git and subversion)
integration for your projects. Features:
• Partially committing changes (:AuRecord [1]).
• Viewing file state at particular revision (aurum://file [2], :AuFile [3]).
• Viewing uncommited changes in a vimdiff, as well as changes between
specific revisions (:AuVimDiff [4]). It is also possible to open multiple
tabs with all changes to all files viewed as side-by-side diffs.
• Viewing revisions log (:AuLog [5]). Output is highly customizable.
• Viewing working directory status (:AuStatus [6]).
• Commiting changes (:AuCommit [7]), commit messages are remembered in case of
rollback (g:aurum_remembermsg [8]).
• Obtaining various URL’s out of remote repository URL (like URL of the HTML
version of the current file with URL fragment pointing to the current line
attached: useful for sharing) (:AuHyperlink [9]).
• aurum#changeset() [10], aurum#repository() [11] and aurum#status() [12] functions
that are to be used from modeline.
• Frontends for various other VCS commands.
Most commands can be reached with a set of mappings (see aurum-mappings [13]),
all mappings are customizable.
Plugin’s mercurial driver is able to use mercurial python API as well as its
CLI, but remember that the former is much slower and less tested. In order to
use mercurial python API you must have vim compiled with +python (mercurial
currently does not support python 3) and have mercurial in python’s sys.path
(note: on windows msi installer is not adding mercurial to sys.path, so you
won’t be able to use its python API).
Plugin requires some additional plugins:
• frawor (https://bitbucket.org/ZyX_I/frawor)
(with their dependencies).
Note: aurum supports VAM (https://github.com/MarcWeber/vim-addon-manager). It
is prefered that you use it for aurum installation.
Project page: https://bitbucket.org/ZyX_I/aurum
Documentation: http://vimpluginloader.sourceforge.net/doc/aurum.txt.html
[1] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line372-0 (:AuRecord)
[2] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line614-0 (aurum://file)
[3] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line158-0 (:AuFile)
[4] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line415-0 (:AuVimDiff)
[5] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line239-0 (:AuLog)
[6] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line376-0 (:AuStatus)
[7] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line99-0 (:AuCommit)
[8] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line896-0 (g:aurum_remembermsg)
[9] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line189-0 (:AuHyperlink)
[10] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line463-0 (aurum#changeset())
[11] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line459-0 (aurum#repository())
[12] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line467-0 (aurum#status())
[13] http://vimpluginloader.sourceforge.net/doc/aurum.txt.html#line769-0 (aurum-mappings)