0.0.7 • Published 7 years ago
sketch-keyboard-shortcuts v0.0.7
sketch-keyboard-shortcuts 
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, andshiftfor modifier keys, andup,down,left, andrightfor 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