Skip to content

Build your personal knowledge base with Trilium Notes

fix(core): unbind "Switch to Last Tab" from Ctrl+0 by default

Elian Dorancb33b2513172
diff --git a/packages/trilium-core/src/services/keyboard_actions.ts b/packages/trilium-core/src/services/keyboard_actions.ts
index 9b4a873a87..397d34759f 100644
--- a/packages/trilium-core/src/services/keyboard_actions.ts
+++ b/packages/trilium-core/src/services/keyboard_actions.ts
@@ -407,7 +407,9 @@ function getDefaultKeyboardActions() {
actionName: "lastTab",
friendlyName: t("keyboard_action_names.switch-to-last-tab"),
iconClass: "bx bx-rectangle",
- defaultShortcuts: ["CommandOrControl+0"],
+ // Unbound by default: CommandOrControl+0 is the conventional "reset zoom" key (see zoomReset),
+ // and "switch to last tab" is a niche action, so it no longer squats on that combination.
+ defaultShortcuts: [],
scope: "window"
},