Ⅰ. 插件描述
VIM plugin for KRLⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kynetx/krl-vim-plugin'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kynetx/krl-vim-plugin'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kynetx/krl-vim-plugin'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kynetx/krl-vim-plugin
Ⅳ. 文档说明
This a vim plugin for krl (Kynex Rule Language) vim support. It includes:
syntax highlighting
snippets for use with snipMate (https://github.com/msanders/snipmate.vim)
For installation, we recommend pathogen by Tim Pope (https://github.com/tpope/vim-pathogen). Just clone this repo into your bundle directory. If you aren't using pathogen, then you can install the plugin the old-school way by copying the directories into your .vim directory.
I also recommend the PastelsOnDark theme that has KRL specific highlighting at: https://github.com/mikefarmer/pastelsondark-vim
NOTE: In order to use VIM with KRL, you will need to install the KRL Commandline Tool. Instructions for installing and using it are here: http://docs.kynetx.com/docs/Command-line_Ruby_Gem