https://github.com/fleaz/bind-serialupdater
Make http://www.vim.org/scripts/script.php?script_id=2445 compatible with vundle/pathogen and some changes
https://github.com/fleaz/bind-serialupdater
hacktoberfest
Last synced: 4 months ago
JSON representation
Make http://www.vim.org/scripts/script.php?script_id=2445 compatible with vundle/pathogen and some changes
- Host: GitHub
- URL: https://github.com/fleaz/bind-serialupdater
- Owner: fleaz
- Created: 2016-05-03T20:46:16.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-08T13:18:14.000Z (about 9 years ago)
- Last Synced: 2025-06-07T03:03:57.098Z (about 1 year ago)
- Topics: hacktoberfest
- Language: Vim script
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bind-serialupdater
Make http://www.vim.org/scripts/script.php?script_id=2445 compatible with vundle/pathogen/Plug and some small changes
## Installation
Add
```
Plug 'f-breidenstein/bind-serialupdater'
```
to your ~/.vimrc or ~/.config/nvim/init.vim and call ":PlugInstall"
## Usage
Your serial should be formated in the format **YYYYMMDD##** where:
- YYYY is the year
- MM is the month
- DD is the day and
- ## is a number between 00 and 99
To update the serial of a currently opened zonefile just execute
```
:call UpdateDNSSerial()
```
or add a shortcut to your .vimrc like this to bind the function to F6
```
map :call UpdateDNSSerialZone()
```