mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 12:40:14 +08:00

Replaced the key manager by atom-keymap to support non-US keyboards and dead key translation on macOS and Windows. In addition, a GUI for key bindings was added.
988 B
988 B
Key Bindings
All key bindings can be overwritten with the keybindings.json
file. The file is located in the application data directory. Each entry consists of a id
/accelerator
pair in JSON format.
Here is an example:
{
"file.save": "CmdOrCtrl+Shift+S",
"file.save-as": "CmdOrCtrl+S"
}
Available modifiers
Cmd
on macOSOption
on macOSCtrl
Shift
Alt
(equal toOption
on macOS)
Please don't bind AltGr
, use Cltr+Alt
instead.
Available keys
0-9
,A-Z
,F1-F24
and punctuations like/
or#
Plus
,Space
,Tab
,Backspace
,Delete
,Insert
,Return/Enter
,Esc
,Home
,End
andPrintScreen
Up
,Down
,Left
andRight
PageUp
andPageDown
- Empty string
""
to unset a accelerator