hypergit.vim


Ⅰ. 插件描述

This git plugin provides many awesome features so that you don't need to type commands anymore..

Ⅱ. 基本信息

创建日期:  2009-11-08
使用用户:  4
Github星:  58
插件作者:  Yo-An Lin

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

hypergit.vim

This git plugin provides many awesome features so that you don't need to type commands anymore..

Screenshot

ScreenShot

Features

  • Git Actions in TreeMenu
  • Commit Buffer
  • Rebase (interactive) Helper. When using git rebase -i [branch], it's automatically enabled.

Tested Platforms

  • Debian/Ubuntu Linux
  • Mac OS X

Installation

Via Vundle:

Plugin 'c9s/helper.vim'
Plugin 'c9s/treemenu.vim'
Plugin 'c9s/hypergit.vim'

Be sure to have helper.vim before hypergit.vim.

Configuration

Add Git Menu key mapping to your ~/.vimrc:

nmap <leader>G   :ToggleGitMenu<CR>

Default Key Mappings

<leader>G    toggle hypergit menu
<leader>ci   commit current file changes
<leader>ca   commit all changes

<leader>ga   add file to git repository
<leader>gb   branch manager buffer
<leader>gs   status manager buffer
<leader>gh   stash manager buffer

Commands

:GitCommit

:GitCommitAll

:GitCommitAmend

:GitStatus

:GitStash

:GitPush

:GitPull

添加新评论