Ⅰ. 插件描述
Pathogen-style plugin for cisco IOS for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'cycoresystems/vim-cisco-ios'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'cycoresystems/vim-cisco-ios'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'cycoresystems/vim-cisco-ios'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/cycoresystems/vim-cisco-ios
Ⅳ. 文档说明
vim-cisco-ios
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.
Installation
First, install tpope/vim-pathogen.
Then, install this plugin into ~/.vim/bundle:
$ cd ~/.vim/bundle
$ git clone https://github.com/CyCoreSystems/vim-cisco-iosDetection
There are three filetype detection methods:
- <filename>.cisco
- <filename>.cisco.cfg
- First line beginning with
!, second line beginning withversion
You can also manually declare the filetype from within vim by :set ft=cisco