Ⅰ. 插件描述
A Vim plugin for syntax highlighting in c0Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jez/vim-c0'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jez/vim-c0'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jez/vim-c0'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jez/vim-c0
Ⅳ. 文档说明
# vim-c0
A Vim plugin for getting C0 syntax highlighting in Vim.
I did not write this code. It is commonly distributed unlicensed at CMU.
Installation
Use your favorite plugin manager. If you don't have one, I'd recommend Vundle,
though you should probably also take a look at Pathogen, as it's more common.
# if your ~/.vim folder isn't under source control:
git clone https://github.com/cmugpi/vim-c0 ~/.vim/bundle/
# if your ~/.vim folder is under source control:
git submodule add https://github.com/cmugpi/vim-c0 ~/.vim/bundle/