Ⅰ. 插件描述
TF2 (.cfg) syntax highlighting.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'au/vim-tf2'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'au/vim-tf2'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'au/vim-tf2'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/au/vim-tf2
Ⅳ. 文档说明
# vim-tf2
Dead simple vim syntax highlighting for TF2's configuration (.cfg) files.
Jellybeans with Menlo
Install
Pick a vim package manager of your choice.
Pathogen
On OSX,
$ git clone git@github.com:au/vim-tf2.git ~/.vim/bundle/vim-tf2
On Windows,
> git clone git@github.com:au/vim-tf2.git %userprofile%/vimfiles/bundle/vim-tf2
Vundle
.vimrc
Plugin 'au/vim-tf2'
apt-vim
$ apt-vim install -y https://github.com/au/vim-tf2.git
Credits
Based on Sumant Manne's 2010 tf2.vim, which was based on the original quake.vim written by Nikolai Weibull in 2005.
License
MIT.