Skip to content

Files

Latest commit

 

History

History
18 lines (15 loc) · 651 Bytes

key-shortcuts.md

File metadata and controls

18 lines (15 loc) · 651 Bytes

Custom Keyboard Shortcuts

{
  "<shortcut-id>": {
    "key": "<key>",
    "alt": false,
    "shift": false,
    "ctrl": false,
    "meta": false,
    "keycode": 0
  }
}

The key field is the key that will trigger the shortcut. The alt, shift, ctrl, and meta fields are booleans that indicate if the respective modifier key should be pressed when the shortcut is triggered.

The keycode field is the keycode of the key that will trigger the shortcut. This field is optional and can be used to specify the keycode of the key that will trigger the shortcut. If the keycode field is specified, the key field will be ignored.