nagios.vim


Ⅰ. 插件描述

Nagios syntax and snippets for vim.

Ⅱ. 基本信息

创建日期:  2016-06-09
使用用户:  3
Github星:  1
插件作者:  Canux

Ⅲ. 安装方法

使用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

nagios syntax for vim.

Inspired by https://github.com/pld-linux/vim-syntax-nagios

Feature

Include:

  1. nagios configuration sytax
  2. autodetect configuration files
  3. nagios.vim/snippets/nagios.snippets file for vim-snipmate
  4. 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

  1. nagios.snippets for UltiSnips
  2. nagios.snippets for snippets

License

Just as the vim, all the nagios.vim are licensed under the terms of the GPL license.

添加新评论