├── Cisco-acl.sublime-snippet ├── Cisco-netmask-24.sublime-snippet ├── Cisco-obj.sublime-snippet ├── Cisco-route.sublime-snippet ├── Cisco-static.sublime-snippet ├── Cisco-tunnel-group.sublime-snippet └── README.md /Cisco-acl.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | acl 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Cisco-netmask-24.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | /24 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Cisco-obj.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | obj 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Cisco-route.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | route 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Cisco-static.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | static 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Cisco-tunnel-group.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | tug 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cisco snippets package for Sublime Text 2 2 | 3 | Sublime Text 2 Cisco Snippets. This package includes various snippets for Cisco routers/switch/firewall configurations. 4 | 5 | ## Installing 6 | 7 | **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. 8 | 9 | **With Git:** Clone the repository in your Sublime Text "Packages" directory: 10 | 11 | git clone git://github.com/tunnelsup/sublime-cisco-snippets.git 12 | 13 | ## Usage 14 | To use the snippets, type the snippet name then hit tab. Some snippets allow you to then tab through the config. Available snippets are: 15 | 16 | * `static` - Creates a static NAT for ASA 8.3+ 17 | * `acl` - Creates an ACL for an ASA 18 | * `/24` - Expands into 255.255.255.0 19 | * `obj` - Creates an object-group 20 | * `route` - creates a route for an ASA 21 | 22 | ## Further Reading 23 | See official website for further information and discussion. 24 | [http://www.tunnelsup.com/tup/2013/03/29/sublime-text-2-cisco-syntax-and-snippets](http://www.tunnelsup.com/tup/2013/03/29/sublime-text-2-cisco-syntax-and-snippets) 25 | --------------------------------------------------------------------------------