Ⅰ. 插件描述
Nagios syntax and snippets for vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'crazy-canux/nagios-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'crazy-canux/nagios-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'crazy-canux/nagios-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/crazy-canux/nagios.vim
Ⅳ. 文档说明
# nagios.vim
Inspired by https://github.com/pld-linux/vim-syntax-nagios
Feature
Include:
- nagios configuration sytax
- autodetect configuration files
- nagios.vim/snippets/nagios.snippets file for vim-snipmate
- nagios.vim/UltiSnips/nagios.snippets file for ultisnips
How to install
pathogen
cd ~/.vim/bundle
git clone git@github.com:crazy-canux/nagios.vim.git
vundle
vi ~/.vimrc
Plugin 'crazy-canux/nagios.vim'
Contribution
If you are intrested, you can ask for pull request.
You can add your own ftdetect.
You can also create nagios.snippets files.
TODO
- nagios.snippets for UltiSnips
- nagios.snippets for snippets
License
Just as the vim, all the nagios.vim are licensed under the terms of the GPL license.