Available in version 3.4 or later.
You can add new keyboard shortcuts or re-assign existing shortcut to a different command.
To customize keyboard shortcuts:
Settings
/ Advanced Options...
menu (or Ctrl + K
to invoke Command Palette, type adv
to narrow down and select Advanced Options...
command)Shortcuts
array and add new shortcut definitionsAn example of customization:
Shortcuts [
[
Cmd = CmdOpenFolder
Key = Alt + O
]
[
Cmd = CmdOpen
Key = x
]
[
Cmd = CmdNone
Key = q
]
]
Explanation:
Alt + O
keyboard shortcut for CmdOpenFolder
command. It opens a folder for browsing.Ctrl + O
shortcut for CmdOpen
(open a file) command. This changes the shortcut to x
q
closes the document. By binding it to CmdNone
we can disable a built-in shortcutKey
section:a
, Z
, 5
) i.e. letters a
to z
, A
to Z
, and numbers 0
to 9
Shift
, Alt
, Ctrl
e.g. Alt + F1
, Ctrl + Shift + Y
Alt + F3
)
F1
- F24
numpad0
- numpad9
: 0
to 9
but on a numerical keyboardDelete
, Backspace
, Insert
, Home
, End
, Escape
Left
, Right
, Up
, Down
for arrow keysa
and A
are differentShift
to select upper-case i.e. Alt + a
is the same as Alt + A
, use Alt + Shift + A
to select the upper-case A