mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
This commit is contained in:
parent
afdc96458c
commit
1525c6c899
5 changed files with 41 additions and 6 deletions
|
|
@ -85,7 +85,7 @@ export abstract class Constants {
|
|||
public static readonly TIMEOUT_BLOCKLOAD = 300;
|
||||
public static readonly TIMEOUT_TRANSITION = 150;
|
||||
|
||||
// help path
|
||||
// id
|
||||
public static readonly HELP_PATH = {
|
||||
zh_CN: "20210808180117-czj9bvb",
|
||||
zh_CHT: "20211226090932-5lcq56f",
|
||||
|
|
@ -93,6 +93,8 @@ export abstract class Constants {
|
|||
fr_FR: "20210808180117-6v0mkxr",
|
||||
};
|
||||
|
||||
public static readonly QUICK_DECK_ID = "20230218211946-2kw8jgx"
|
||||
|
||||
public static readonly KEYCODE: { [key: string]: string[] } = {
|
||||
"186": [";", ":"],
|
||||
"187": ["=", "+"],
|
||||
|
|
@ -108,7 +110,8 @@ export abstract class Constants {
|
|||
};
|
||||
// 冲突不使用 "⌘S/Q"
|
||||
// "⌘", "⇧", "⌥", "⌃"
|
||||
// "⌘A", "⌘X", "⌘C", "⌘V", "⇧⌘V", "⌘/", "⇧↑", "⇧↓", "⇧→", "⇧←", "⇧⇥", "⇧⌘⇥", "⌃⇥", "⌘⇥", "⌃⌘⇥", "⇧⌘→", "⇧⌘←", "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦" 不可自定义
|
||||
// "⌘A", "⌘X", "⌘C", "⌘V", "⇧⌘V", "⌘/", "⇧↑", "⇧↓", "⇧→", "⇧←", "⇧⇥", "⇧⌘⇥", "⌃⇥", "⌘⇥", "⌃⌘⇥", "⇧⌘→", "⇧⌘←",
|
||||
// "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦" 不可自定义
|
||||
public static readonly SIYUAN_KEYMAP: IKeymap = {
|
||||
general: {
|
||||
editMode: {default: "⇧⌘G", custom: "⇧⌘G"},
|
||||
|
|
@ -159,6 +162,7 @@ export abstract class Constants {
|
|||
openBy: {default: "⌥,", custom: "⌥,"},
|
||||
insertRight: {default: "⌥.", custom: "⌥."},
|
||||
attr: {default: "⌥⌘A", custom: "⌥⌘A"},
|
||||
quickMakeCard: {default: "⌥⌘F", custom: "⌥⌘F"},
|
||||
refresh: {default: "F5", custom: "F5"},
|
||||
copyBlockRef: {default: "⇧⌘C", custom: "⇧⌘C"},
|
||||
copyProtocol: {default: "⇧⌘H", custom: "⇧⌘H"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue