bind.vim


Ⅰ. 插件描述

Zonefile goodies for vim

Ⅱ. 基本信息

创建日期:  2011-11-25
使用用户:  7
Github星:  9
插件作者:  Dennis Kaarsemaker

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'seveas/bind-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'seveas/bind-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'seveas/bind-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/seveas/bind.vim

Ⅳ. 文档说明

Zonefile goodies for vim

This plugin makes maintaining zonefiles a little bit easier:

  • When creating a new zonefile, a skeleton SOA and NS record are created
    automatically, based on the filename.
  • When saving a zonefile, the serial is automatically incremented, using the
    YYYYMMDDnn convention (so no more than 99 saves per day please!)
  • When saving a zonefile, rndc reload is performed

You should always name your zonefiles after the zone they contain, such as
1.42.10.in-addr.arpa.zone or home.kaarsemaker.net.zone

Install instructions:

©2011 Dennis Kaarsemaker <dennis@kaarsemaker.net>

添加新评论