Differences between revisions 2 and 3
Revision 2 as of 2014-04-22 17:54:33
Size: 1643
Comment:
Revision 3 as of 2014-04-22 18:17:49
Size: 1743
Comment:
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:
  * Repository-wide search with `:Hgvimgrep`.
Line 33: Line 34:
  * Run any Mercurial command with `:Hg` or `:Hg!`.

Lawrencium

Lawrencium is a Vim plugin that provides dedicated integration with Mercurial.

1. Status

This plugin is not distributed with Mercurial or Vim.

Author: LudovicChabant

Repository: https://bitbucket.org/ludovicchabant/vim-lawrencium

Web page: http://bolt80.com/lawrencium/, http://www.vim.org/scripts/script.php?script_id=3861

2. Overview

Lawrencium is a Mercurial wrapper for Vim, inspired by Tim Pope’s Fugitive. It loads up when you edit a file inside a Mercurial repository — anything from a committed file to a new file, even ignored files and files stored in the .hg directory.

It has no dependencies, and can easily be installed with pathogen or other similar plugin managers. Then, :Hg* commands will become available any time you edit a file inside a Mercurial repository, including:

  • :Hgstatus to show an interactive version of hg status's output, where you can add, remove, revert, and commit files or groups of files.

  • Commands to commit and revert files in a more ad-hoc way (:Hgcommit, :Hgrevert, etc.)

  • :Hglog and :Hglogthis to show an interactive history of the repository, or of the current file, so that you can easily look at diffs.

  • The ability to both show "diff summaries" or full-fledged Vim diffs.
  • Repository-wide search with :Hgvimgrep.

  • Support for MQ.
  • Run any Mercurial command with :Hg or :Hg!.

Visit the home page for more information.

3. Configuration

This plugin does not require any modifications to .hgrc.


CategoryTools

Lawrencium (last edited 2014-04-22 18:17:49 by LudovicChabant)