Skip to content

Build your personal knowledge base with Trilium Notes

feat(splits): describe what moving a split actually does

Elian Doran0a926a152de8
diff --git a/apps/server/src/assets/translations/en/server.json b/apps/server/src/assets/translations/en/server.json
index f4ab838b75..cb4428c0d7 100644
--- a/apps/server/src/assets/translations/en/server.json
+++ b/apps/server/src/assets/translations/en/server.json
@@ -75,7 +75,9 @@
"close-active-split": "Close the active split, keeping the other splits of the tab open",
"focus-split-left": "Move the focus to the split on the left of the active one",
"focus-split-right": "Move the focus to the split on the right of the active one",
- "split-view": "Split view"
+ "split-view": "Split view",
+ "move-split-left": "Swap the active split with the one on its left, so the note moves and the focus follows it",
+ "move-split-right": "Swap the active split with the one on its right, so the note moves and the focus follows it"
},
"keyboard_action_names": {
"back-in-note-history": "Back in Note History",
diff --git a/packages/trilium-core/src/services/keyboard_actions.ts b/packages/trilium-core/src/services/keyboard_actions.ts
index c10afe16e2..ba91967186 100644
--- a/packages/trilium-core/src/services/keyboard_actions.ts
+++ b/packages/trilium-core/src/services/keyboard_actions.ts
@@ -437,6 +437,7 @@ function getDefaultKeyboardActions() {
friendlyName: t("keyboard_action_names.move-split-left"),
iconClass: "bx bx-chevron-left",
defaultShortcuts: [],
+ description: t("keyboard_actions.move-split-left"),
scope: "window"
},
{
@@ -444,6 +445,7 @@ function getDefaultKeyboardActions() {
friendlyName: t("keyboard_action_names.move-split-right"),
iconClass: "bx bx-chevron-right",
defaultShortcuts: [],
+ description: t("keyboard_actions.move-split-right"),
scope: "window"
},
{