view 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
line wrap: on
line source

*lawrencium.txt*  Mercurial wrapper for VIM

Author:  Ludovic Chabant <http://ludovic.chabant.com>
License: Same terms as Vim itself (see |license|)

This plugin is only available if 'compatible' is not set.

INTRODUCTION                                    *lawrencium*

When a file from a Mercurial repository is open in a buffer, that buffer gets
new commands defined.

COMMANDS                                        *lawrencium-commands*

All commands defined by |lawrencium| are local to each buffer.

                                                *lawrencium-:Hg*
:Hg {args}              Run an arbitrary Mercurial command. Similar to :!hg
                        [args] but the '--repository' is automatically
                        specified with the root of the repository the current
                        file belongs to.

                                                *lawrencium-:Hg!*
:Hg! {args}             Like |:Hg|, but the output of the command is placed in
                        a temp file and edited in the |preview-window|.

                                                *lawrencium-:Hgcd*
:Hgcd[!] {path}         |:cd| relative to the root of the repository.

                                                *lawrencium-:Hglcd*
:Hglcd[!] {path}        |:lcd| relative to the root of the repository.

                                                *lawrencium-:Hgedit*
:Hgedit {file}          |:edit| {file} relative to the root of the repository.

                                                *lawrencium-:Hgedit!*
:Hgedit! {file}         |:edit!| {file} relative to the root of the repository.

                                                *lawrencium-:Hgstatus*
:Hgstatus               Shows the output of 'hg status' in the
                        |preview-window|.
                        You can navigate to the next/previous file with "n"/"p".


ABOUT                                           *lawrencium-about*

Grab the latest version or report a bug on BitBucket:

http://bitbucket.org/ludovicchabant/lawrencium


 vim:tw=78:et:ft=help:norl: