Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
heyglen committed May 30, 2017
2 parents f666ced + a2b5a77 commit 2e7bc82
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 29 deletions.
33 changes: 6 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
# Sublime Network
# network_tech

Sublime Text 3 network configuration syntax highlighting and completions.

* [Documentation](#documentation)
* [Install](#installation)
Cisco syntax highlighting and completions for Sublime Text 3.

## Documentation

[Documentation is hosted on GitHub](https://github.com/heyglen/sublime-network/blob/master/README.md)

### Syntax and Snippets

![Cisco IOS Demo](/docs/img/cisco_ios_demo.gif)

Notice that the syntax and completions are [aware of the configuration mode](docs/configuration_modes.md). You must exit out configuration modes using the `exit` command as if you were using the actual command line.

### Mask Conversions

![Mask Conversions Demo](/docs/img/mask_conversions_demo.gif)

There are completions that convert between the different IPv4 mask types:
Expand All @@ -32,30 +29,12 @@ The conversions are activated by typing the mask or opening the completions menu

## Installation

[Install Sublime Text 3](http://www.sublimetext.com/3)
Install using Sublime Text 3 [Package Manager](https://sublime.wbond.net/installation).

*Sublime Text 2 is not supported*

[Install Sublime Package Manager](https://sublime.wbond.net/installation)

Sublime Text -> Tools -> Command Pallet

Type 'add repository'

In the text box that appears docked to the bottom type:

https://github.com/heyglen/sublime-network

Sublime Text -> Tools -> Command Pallet

Type 'install package<enter>'

A list of packages will come up

Type 'sublime network<enter>'

## Feature Requests and Bug Reporting

The goal is to have highlighting and completions on frequently used commands, not full coverage.

[Sublime-Network GitHub Issues](https://github.com/heyglen/sublime-network/issues)
[network_tech GitHub Issues](https://github.com/heyglen/network_tech/issues)
2 changes: 1 addition & 1 deletion cisco/ios/ios.sublime-completions
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
{
"trigger": "show \trunning-config",
"contents": "show ${1:running-config}${1/(r$)|(ru$)|(run$)|(runn$)|(runni$)|(runnin$)|(running$)|(running-$)|(running-c$)|(running-co$)|(running-con$)|(running-conf$)|(running-confi$)|(s$)|(st$)|(sta$)|(star$)|(start$)|(startu$)|(startup$)|(startup-$)|(startup-c$)|(startup-co$)|(startup-con$)|(startup-conf$)|(startup-confi$)|.*/?1:unning-config:?2:nning-config:?3:ning-config:?4:ing-config:?5:ng-config:?6:g-config:?7:-config:?8:config:?9:onfig:?10:nfig:?11:fig:?12:ig:?13:g:?14:tartup-config:?15:artup-config:?16:rtup-config:?17:tup-config:?18:up-config:?19:p-config:?20:-config:?21:config:?22:onfig:?23:nfig:?24:fig:?25:ig:?26:g/i} $0"
},
}
]
}
2 changes: 1 addition & 1 deletion messages.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"install": "README.md"
}
}

0 comments on commit 2e7bc82

Please sign in to comment.