Skip to content

Build your personal knowledge base with Trilium Notes

fix default keyboard shortcuts for mac forward, back, closes #3708

zadam7cda81ec68be
diff --git a/src/services/keyboard_actions.js b/src/services/keyboard_actions.js
index d665692a93..063bcdbda8 100644
--- a/src/services/keyboard_actions.js
+++ b/src/services/keyboard_actions.js
@@ -14,13 +14,13 @@ const DEFAULT_KEYBOARD_ACTIONS = [
{
actionName: "backInNoteHistory",
// Mac has a different history navigation shortcuts - https://github.com/zadam/trilium/issues/376
- defaultShortcuts: isMac ? ["Meta+Left"] : ["Alt+Left"],
+ defaultShortcuts: isMac ? ["CommandOrControl+Left"] : ["Alt+Left"],
scope: "window"
},
{
actionName: "forwardInNoteHistory",
// Mac has a different history navigation shortcuts - https://github.com/zadam/trilium/issues/376
- defaultShortcuts: isMac ? ["Meta+Right"] : ["Alt+Right"],
+ defaultShortcuts: isMac ? ["CommandOrControl+Right"] : ["Alt+Right"],
scope: "window"
},
{