Skip to content

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

Notifications You must be signed in to change notification settings

WildDogOne/sublime-cisco-syntax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cisco syntax package for Sublime Text 2

This is a reworked Syntax highlighter forked from tunnelsup It is primarily based on the Syntax used for Switching and routing Any additions to it are always welcome and I will do the same as soon as I have more experience with Cisco components

Installing

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 https://github.com/DemonWareXT/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.YAML-tmLanguage file within Sublime Text 2/3. 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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published