/cisco.vim

Vim syntax for cisco configuration files.

Primary LanguageVim script

cisco.vim

Vim syntax for Cisco (and other platforms with similar configuration syntax) switches and routers (show run or show start) files.

before

config_before

after

config_after

Author

momota

License

MIT

Installation

Manually

  1. Put all files under $VIM.

Pathogen

  1. Install with the following command.

     git clone https://github.com/momota/cisco.vim ~/.vim/bundle/cisco.vim
    
  1. Add the following configuration to your .vimrc.

     NeoBundle 'momota/cisco.vim'
    
  2. Install with :NeoBundleInstall.

Usage

Limited auto-detection is available based on file contents

Files ending with *.cisco will automatically receive the highlighting

Or execute :set ft=cisco