0.0.7 • Published 5 years ago

sketch-keyboard-shortcuts v0.0.7

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

sketch-keyboard-shortcuts npm Version

A command-line utility to manage keyboard shortcuts for Sketch

Quick start

Requires Node.js.

$ npm i -g sketch-keyboard-shortcuts
$ cat shortcuts.json
{
  "Arrange": {
    "Align": {
      "Bottom": "cmd ctrl b",
      "Left": "cmd ctrl l",
      "Right": "cmd ctrl r",
      "Top": "cmd ctrl t"
    }
  },
  "Layer": {
    "Flatten Selection to Bitmap": "cmd shift b"
  }
}
$ sks set shortcuts.json
Set 5 keyboard shortcuts
  • The path to each menu item is specified via a nested JSON object.
  • Each keypress within each shortcut shortcut is separated by a space.
  • Use cmd, ctrl, opt, and shift for modifier keys, and up, down, left, and right for arrow keys.

Usage

$ sks
sks <command>

Commands:
  sks set <file>  Sets keyboard shortcuts as defined in the specified file
  sks unset       Unsets all keyboard shortcuts

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Installation

$ npm i -g sketch-keyboard-shortcuts

License

MIT

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago