gitolite.vim


Ⅰ. 插件描述

Vim Syntax highlight for gitolite configuration file "gitolite.conf"

Ⅱ. 基本信息

创建日期:  2009-12-26
使用用户:  26
Github星:  21
插件作者:  Teemu Matilainen

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

gitolite.vim

Description

[Vim][] Syntax highlight and indent scripts for [gitolite][] configuration file
gitolite.conf.

Installation

gitolite.vim is included in Vim from 7.3.347 on. If you have older Vim or you
want the latest version, you have many options.

  1. Pathogen

    The recommended method is to install [pathogen.vim][], and then clone
    gitolite.vim repository (or copy the content) under _~/.vim/bundle/_:

    cd ~/.vim/bundle
    git clone git://github.com/tmatilai/gitolite.vim.git
  2. Download a released package ("Vimball", _gitolite.vba.gz_) from
    vim.org script page, open it in Vim and call :source %s.
  3. You can also create and/or install the Vimball from the source by calling:

    # create the Vimball
    make
    # create and install it
    make install-vba
  4. Yet another option is to install the files directly:

    # to $HOME/.vim
    make install
    # or systemwide
    sudo make vimdir=/etc/vim install

Copyright

Copyright © 2010-2011 Teemu Matilainen <<teemu.matilainen@iki.fi>>

License: Same as Vim or Apache 2

添加新评论