Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(shortcuts): default shortcuts for nav in macOS (closes #3708)
Elian Doran0117f54ef8af
diff --git a/apps/server/src/services/keyboard_actions.ts b/apps/server/src/services/keyboard_actions.tsindex fb97be84c8..326672eeb2 100644--- a/apps/server/src/services/keyboard_actions.ts+++ b/apps/server/src/services/keyboard_actions.ts@@ -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"},