Skip to content
Convert to/from cidr notation in Sublime Text
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
Default.sublime-commands
LICENSE
Main.sublime-menu
README.md
cidr_convert.py

README.md

CIDR Convert

Plugin for Sublime Text Editor 2/3

Converts IPv4 addresses to/from cidr notation. Detects and converts addresses between the formats:

  • 192.168.1.0 255.255.255.0
  • 192.168.1.0/24

Acts on entire document if no text is selected, otherwise only acts within selected area.

Usage

Adds menu entries:

Edit -> Text -> CIDR On
             -> CIDR Off

Default keyboard shortcuts:

Windows/Linux:

  • Ctrl+Alt+/ -> CIDR On
  • Ctrl+Alt+. -> CIDR Off

Mac:

  • Ctrl+⌘+/ -> CIDR On
  • Ctrl+⌘+. -> CIDR Off
You can’t perform that action at this time.