mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
a59014cf2d
commit
deab11f9d0
4 changed files with 61 additions and 66 deletions
|
|
@ -89,8 +89,21 @@ export abstract class Constants {
|
|||
fr_FR: "20200923234011-ieuun1p",
|
||||
};
|
||||
|
||||
public static readonly KEYCODE: { [key: string]: string[] } = {
|
||||
"186": [";", ":"],
|
||||
"187": ["=", "+"],
|
||||
"188": [",", "<"],
|
||||
"189": ["-", "_"],
|
||||
"190": [".", ">"],
|
||||
"191": ["/", "?"],
|
||||
"192": ["`", "~"],
|
||||
"219": ["[", "{"],
|
||||
"220": ["\\", "|"],
|
||||
"221": ["]", "}"],
|
||||
"222": ["'", '"'],
|
||||
};
|
||||
// "⌘", "⇧", "⌥", "⌃"
|
||||
// "⌘A", "⌘X", "⌘C", "⌘V", "⌘/", "⇧↑", "⇧↓", "⇧→", "⇧←", "⇧⇥", "⇧⌘⇥", "⌃⇥", "⌃⌘⇥", "⇧⌘→", "⇧⌘←", "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦" 不可自定义
|
||||
// "⌘A", "⌘X", "⌘C", "⌘V", "⌘/", "⇧↑", "⇧↓", "⇧→", "⇧←", "⇧⇥", "⇧⌘⇥", "⌃⇥", "⌃⌘⇥", "⇧⌘→", "⇧⌘←", "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦", "⌃I", "⌃E", "⌃N", "⌃U" 不可自定义
|
||||
public static readonly SIYUAN_KEYMAP: IKeymap = {
|
||||
general: {
|
||||
syncNow: {default: "F9", custom: "F9"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue