-
Notifications
You must be signed in to change notification settings - Fork 184
User Key Bindings
redmunds edited this page Oct 21, 2014
·
22 revisions
This page describes how user can override key bindings in Brackets.
Use Debug > Open User Key Map
to open the keymap.json
in Brackets so it can be edited. If the file does not already exist, then it will be created.
Edits to file are applied immediately on File Save.
The keymap.json
file is located in the the user data folder. The user data folder is located at:
- Mac:
~/Library/Application Support/Brackets
- Win XP:
C:\Documents and Settings\<username>\Application Data\Brackets
-- (aka%appdata%\Brackets
) - Win Vista/7/8:
C:\Users\<username>\AppData\Roaming\Brackets
-- (aka%appdata%\Brackets
) - Linux:
~/.config/brackets
-- (aka$XDG_CONFIG_HOME/brackets
)
The JSON data format is:
{
"overrides": {
"<key>": "<command-id>"
[, "<key>": "<command-id>"]
}
}
Where <key>
is ...
Currently, the shortcuts to these commands cannot be updated or re-assigned:
"edit.undo"
"edit.redo"
"edit.selectAll"
"edit.cut"
"edit.copy"
"edit.paste"
These shortcuts cannot be overridden on Mac:
"Cmd-,"
"Cmd-H"
"Cmd-Alt-H"
"Cmd-M"
"Cmd-Q"