Skip to content

Build your personal knowledge base with Trilium Notes

client/keyboard actions: add a Mac-only binding

Adorian Doran1acca255ad17
diff --git a/apps/server/src/services/keyboard_actions.ts b/apps/server/src/services/keyboard_actions.ts
index 4551dfbe6b..4ca09653ca 100644
--- a/apps/server/src/services/keyboard_actions.ts
+++ b/apps/server/src/services/keyboard_actions.ts
@@ -117,7 +117,7 @@ function getDefaultKeyboardActions() {
actionName: "toggleArchivedNotes",
friendlyName: t("keyboard_action_names.toggle-archived-notes"),
iconClass: "bx bx-low-vision",
- defaultShortcuts: ["Ctrl+H"],
+ defaultShortcuts: (!isMac) ? ["Ctrl+H"] : ["CommandOrControl+Shift+H"],
description: t("keyboard_actions.toggle-archived-notes"),
scope: "window"
},