Ⅰ. 插件描述
Vim Syntax highlight for gitolite configuration file "gitolite.conf"Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用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 filegitolite.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.
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- Download a released package ("Vimball", _gitolite.vba.gz_) from
vim.org script page, open it in Vim and call:source %s. You can also create and/or install the Vimball from the source by calling:
# create the Vimball make # create and install it make install-vbaYet 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