Pathogen-style plugin for cisco IOS for Vim
Syntax config file ripped from t9md/vim-starter-kit
This is pretty basic, so pull requests are definitely welcome.
First, install tpope/vim-pathogen.
Then, install this plugin into ~/.vim/bundle
:
$ cd ~/.vim/bundle
$ git clone https://github.com/CyCoreSystems/vim-cisco-ios
There are three filetype detection methods:
- .cisco
- .cisco.cfg
- First line beginning with
!
, second line beginning withversion
You can also manually declare the filetype from within vim by :set ft=cisco