Differences between revisions 39 and 40
Revision 39 as of 2012-10-06 11:44:32
Size: 4424
Editor: broadband-77-37-228-65
Comment: Syncronized page contents with plugin help on commit bb148df18b31259a8dfa9a9161f77ac68c3f6b76 (done by pkgdo.pl)
Revision 40 as of 2012-10-06 11:45:18
Size: 4436
Editor: broadband-77-37-228-65
Comment: Syncronized page contents with plugin help (done by pkgdo.pl)
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
    * [[http://www.vim.org/scripts/script.php?script_id=3025|Command-T]]    * [[http://www.vim.org/scripts/script.php?script_id=3025|Command-T]]
Line 56: Line 56:
    * [[http://www.vim.org/scripts/script.php?script_id=3736|ctrlp]]    * [[http://www.vim.org/scripts/script.php?script_id=3736|ctrlp]]
Line 58: Line 58:
    * [[http://www.vim.org/scripts/script.php?script_id=1984|FuzzyFinder]]    * [[http://www.vim.org/scripts/script.php?script_id=1984|FuzzyFinder]]
Line 60: Line 60:
    * [[http://www.vim.org/scripts/script.php?script_id=3396|unite]]    * [[http://www.vim.org/scripts/script.php?script_id=3396|unite]]
Line 62: Line 62:
    * [[http://www.vim.org/scripts/script.php?script_id=2337|ku]]    * [[http://www.vim.org/scripts/script.php?script_id=2337|ku]]
Line 64: Line 64:
    * [[http://www.vim.org/scripts/script.php?script_id=1863|tlib]]    * [[http://www.vim.org/scripts/script.php?script_id=1863|tlib]]

Aurum

Vim plugin providing Mercurial ↔ Vim integration

1. Status

This plugin is not distributed with Mercurial or Vim.

Author: Nikolay Pavlov

Repository: https://bitbucket.org/ZyX_I/aurum

Web page: https://bitbucket.org/ZyX_I/aurum, http://www.vim.org/scripts/script.php?script_id=3828

2. Overview

This plugin provides a vim <--> VCS (currently mercurial, git and subversion) integration for your projects. Features:

  • Partially committing changes (:AuRecord).

  • Viewing file state at particular revision (aurum://file, :AuFile).

  • Viewing uncommited changes in a vimdiff, as well as changes between specific revisions (:AuVimDiff). It is also possible to open multiple tabs with all changes to all files viewed as side-by-side diffs.

  • Viewing revisions log (:AuLog). Output is highly customizable.

  • Viewing working directory status (:AuStatus).

  • Commiting changes (:AuCommit), commit messages are remembered in case of rollback (g:aurum_remembermsg).

  • 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). For mercurial it also supports git and subversion revisions (in case you are using hg-git and hgsubversion respectively).

  • aurum#changeset(), aurum#repository() and aurum#status() 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), 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:

(with their dependencies).

Note: aurum supports VAM. It is prefered that you use it for aurum installation.

3. Configuration

This plugin does not require any modifications to .hgrc. You can use vim-addon-manager to install it or manually clone https://bitbucket.org/ZyX_I/aurum and https://bitbucket.org/ZyX_I/frawor somewhere and add

set rtp+=/path/to/aurum,/path/to/frawor

to your vimrc.

Aurum (last edited 2013-10-11 03:49:24 by ZyX)