thermometer


Ⅰ. 插件描述

Vim plugin to work with mercurial repositories

Ⅱ. 基本信息

创建日期:  2011-02-10
使用用户:  2
Github星:  4
插件作者:  Diego Guerra

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'dgsuarez/thermometer'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'dgsuarez/thermometer'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'dgsuarez/thermometer'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/dgsuarez/thermometer

Ⅳ. 文档说明

Readme

Thermometer is a vim plugin for mercurial users.

Available commands are:

  • Hgstatus to open a quickfix window with changes to the repository
  • Hgreset to reset status & rev data
  • Hgdiff to diff the current buffer with its last version on the repository, or with a particular revision if a revision number is provided. Hgdiffoff will close the diff and return to normal mode.
  • Hglog to show a file's log, or, if no file is being edited, the full log. Can receive an optional parameter to limit the number of commits shown.
  • Hgblame to show blame information for each line.
  • Hgsummary to show a summary of the working dir

The plugin also provides functions to be used in statuslines, e.g. in your vimrc:

set statusline+=%{g:HgStatusLine()}

For more information take a look at the documentation.

添加新评论