sandbox_hg


Ⅰ. 插件描述

Same as sandbox.vim but for hg(mercurial).

Ⅱ. 基本信息

创建日期:  2012-02-17
使用用户:  1
Github星:  1
插件作者:  Wenzhi Liang

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

After installing this plugin, ':Sandhg <hg working copy>' on the command line will create a new buffer
which list the currnet status of the sandbox. In the buffer, a few handy mapping are available like diffing, commit, revert, etc. See the help at  the bottom of the buffer.

Screenshot:
http://files.myopera.com/wzhliang/albums/649613/sandbox.png

Linux only!

Depends on: hg, diffuse, or meld for GUI diffing. tortoisehg for other GUI stuff

---------- H E L P -----------
c         Commit a single file or selected files.
d         Diff the file specified in the current line.
e         Open the file in question in a new tab.
r         Revert a single file or selected files.
t         Select/Unselect a single file.
C-D     Reset selection.
<F5>    Refresh the buffer.
q       Quit

添加新评论