Ⅰ. 插件描述
Nagios template object configuration fileⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tejr/vim-nagios-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tejr/vim-nagios-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tejr/vim-nagios-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tejr/vim-nagios
Ⅳ. 文档说明
Nagios Vim Syntax
Syntax file for Nagios in Vim. Forked from the vim-scripts repository,
itself a mirror of the file by Elan Ruusamäe hosted on the official Vim
site.
This way I can add it as a Pathogen bundle and submodule of my dotfiles
- This was forked to include
ftdetectrules, which are missing from - original repository. They're for the default install going into
/usr/local/nagios, or the Debian layout of /etc/nagios3. I'm happy to merge
others in if this is at all helpful to anyone.
License
Sorry, I'm not sure what the license terms are. This particular fork is by [Tom
Ryder][4].