Cisco Syntax Highlighter
Sublime Text 2 Syntax Definitition for Cisco router/switch/firewall configurations
Details
Installs
- Total 18K
- Win 11K
- Mac 5K
- Linux 2K
| Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 1 | 1 | 0 | 0 | 1 | 3 | 0 | 4 | 2 | 0 | 0 | 0 | 1 | 5 | 3 | 4 | 1 | 2 | 0 | 1 | 3 | 1 | 5 | 0 | 3 | 1 | 1 | 2 | 1 | 2 | 4 | 0 | 0 | 0 | 4 | 3 | 3 | 3 | 0 | 0 | 5 | 2 | 3 | 4 | 2 |
| Mac | 0 | 1 | 1 | 1 | 1 | 0 | 3 | 1 | 1 | 1 | 1 | 0 | 0 | 2 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 2 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 | 1 | 2 | 3 | 2 | 1 | 3 | 3 | 1 | 1 | 1 |
| Linux | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Cisco syntax package for Sublime Text 2
Sublime Text 2 Syntax Definitition for Cisco router/switch/firewall configurations. This package will highlight Cisco configuration and commands within Sublime Text 2.
Installing
Using Package Control: If you have package control installed then installing this is a snap. Simply open the command palette (Tools->Command Palette). Then type “install” then search for this plugin by typing “Cisco Syntax Highlighter”. That's it. It should be installed.
Without Git: Download the zip from github, and extract the files to your Sublime Text “Packages” directory, into a new directory named Cisco. You can find the packages directy by going to Preferences -> Browse packages, within Sublime Text 2.
With Git: Clone the repository in your Sublime Text “Packages” directory:
git clone git://github.com/tunnelsup/sublime-cisco-syntax.git
Usage
Once installed navigate to View->Syntax->Cisco to apply the Cisco syntax to the document.
This syntax definition will automatically be applied to .txt files and .cfg files.
Using control-/ will comment out any line that is highlighted.
Customizing
Once Cisco syntax is turned on you can then try different color schemes by going to Preferences -> Color Schemes.
If you wish to customize this even further for your own needs navigate to the Cisco package (Preferences -> Browse Packages). Edit the Cisco Definitions.json-tmlanguage file within Sublime Text 2. Install AAAPackageDev. After your changes go to Tools -> Build, to rebuild the syntax definitions.
Further Reading
See official website for further information and discussion. http://www.tunnelsup.com/tup/2013/03/29/sublime-text-2-cisco-syntax-and-snippets