ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Cisco Syntax Highlighter

by tunnelsup ST2/ST3

Sublime Text 2 Syntax Definitition for Cisco router/switch/firewall configurations

Details

  • 2018.07.31.04.09.58
  • github.​com
  • github.​com
  • 1 year ago
  • 19 minutes ago
  • 5 years ago

Installs

  • Total 11K
  • Win 6K
  • OS X 3K
  • Linux 1K
Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8
Windows 2 9 3 10 2 2 2 3 5 7 2 0 0 8 4 3 6 8 0 2 7 1 5 3 4 0 2 3 2 3 5 4 1 1 5 6 1 4 2 0 3 4 7 5 7 2
OS X 0 1 1 1 1 0 4 2 3 2 3 2 1 3 3 4 0 1 0 0 2 0 1 1 1 0 1 4 0 0 2 1 0 0 0 1 1 0 2 1 2 1 1 2 1 2
Linux 2 1 0 1 0 1 0 1 0 0 0 1 0 0 4 2 1 2 0 0 1 0 0 0 1 2 1 2 0 0 1 0 0 3 0 0 0 1 1 0 0 0 0 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