A command may have a corresponding keyboard shortcut. You can define key bindings for commands in keymap JSON files like below:
Key binding should be a combination of following keys with
- Character literals :
- Modifier keys :
cmdctrlis automatically recognized in
cmdin MacOS and
ctrlin Windows and Linux and
altis corresponds to option key in MacOS)
- Special keys :
The key bindings is shown in menu items of the same commands automatically.
The keymap JSON files should be placed in
keymaps/folder of the extension and the keymap files are loaded in alphabetical order.