ucpp.vim


Ⅰ. 插件描述

uC++ Syntax Highlighting for Vim

Ⅱ. 基本信息

创建日期:  2012-04-04
使用用户:  2
Github星:  10
插件作者:  Felix Fung

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

µC++ Syntax Highlighting for Vim

Highlight µC++ source code contained in '.ucpp' or '.uh' files.

Download

You can obtain a zipped copy from:

https://github.com/flxf/uCpp.vim/zipball/master

Or, you can always clone the repository:

git clone https://github.com/flxf/uCpp.vim.git

Installation

Assume your downloaded (and unzipped) copy is located in the directory uCpp.vim.

Option 1: Manual Installation

Copy the sub-directories of uCpp.vim into ~/.vim/:

cp -r uCpp.vim/ftdetect ~/.vim/
cp -r uCpp.vim/syntax ~/.vim/

Option 2: Pathogen Installation

  1. Download and install [Pathogen].
  2. Move:

    mv uCpp.vim ~/.vim/bundle/

添加新评论