Ⅰ. 插件描述
bbcode syntax and code templatesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/bbcode'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/bbcode'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/bbcode'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/bbcode
Ⅳ. 文档说明
This plugin includes a syntax highlighting for bbcode and some code
skeletons for use with tSkeleton (vimscript #1160).
If viki (vimscript #861) >= 304 is installed, tex regions will be
properly highlighted too.
If you use tSkeleton < 403, you might also want to set these variables:
let g:tskelKeyword_bbcode = '([*|[\]{-})'
let g:tskelBitGroup_bbcode = ['bbcode', 'tex']
The basic syntax file can also be used without any of these add-ons.