mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
fix(shortcuts): default shortcuts for nav in macOS (closes #3708)
This commit is contained in:
parent
56d41916c4
commit
0117f54ef8
@ -20,7 +20,7 @@ function getDefaultKeyboardActions() {
|
||||
friendlyName: t("keyboard_action_names.back-in-note-history"),
|
||||
iconClass: "bx bxs-chevron-left",
|
||||
// Mac has a different history navigation shortcuts - https://github.com/zadam/trilium/issues/376
|
||||
defaultShortcuts: isMac ? ["CommandOrControl+Left"] : ["Alt+Left"],
|
||||
defaultShortcuts: isMac ? ["CommandOrControl+["] : ["Alt+Left"],
|
||||
description: t("keyboard_actions.back-in-note-history"),
|
||||
scope: "window"
|
||||
},
|
||||
@ -29,7 +29,7 @@ function getDefaultKeyboardActions() {
|
||||
friendlyName: t("keyboard_action_names.forward-in-note-history"),
|
||||
iconClass: "bx bxs-chevron-right",
|
||||
// Mac has a different history navigation shortcuts - https://github.com/zadam/trilium/issues/376
|
||||
defaultShortcuts: isMac ? ["CommandOrControl+Right"] : ["Alt+Right"],
|
||||
defaultShortcuts: isMac ? ["CommandOrControl+]"] : ["Alt+Right"],
|
||||
description: t("keyboard_actions.forward-in-note-history"),
|
||||
scope: "window"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user