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

Cisco Syntax Highlighter

by tunnelsup ALL

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

Details

  • 2018.07.31.04.09.58
  • github.​com
  • github.​com
  • 6 years ago
  • 2 hours ago
  • 10 years ago

Installs

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