From 0b8fe8352bf3d9d8a119586e7ba8f9ddf80669bf Mon Sep 17 00:00:00 2001 From: gasparschott Date: Sun, 23 Mar 2025 16:49:37 -0700 Subject: [PATCH] 1.0.3 Renamed commands. --- README.md | 16 ++++++++-------- main.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 87d6ef2..da26476 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,16 @@ The plugin repeats some command functions already available in Obsidian, but the AVAILABLE COMMANDS -- Go to next root tab group -- Go to previous root tab group -- Go to next tab group (root + sidebars) -- Go to previous tab group (root + sidebars) +- Go to next tab group (workspace root only) +- Go to previous tab group (workspace root only) +- Go to next tab group (workspace root + sidebars) +- Go to previous tab group (workspace root + sidebars) - Go to next leaf in active tab group - Go to previous leaf in active tab group -- Go to first file in workspace root -- Go to last file in workspace root -- Go to first file in active tab group -- Go to last file in active tab group +- Go to first leaf in workspace root +- Go to last leaf in workspace root +- Go to first leaf in active tab group +- Go to last leaf in active tab group - Go to most recent leaf - Go to file explorer diff --git a/main.js b/main.js index 8b97333..782b968 100644 --- a/main.js +++ b/main.js @@ -73,22 +73,22 @@ class SmoothNavigator extends obsidian.Plugin { //// COMMANDS this.addCommand({ id: 'smooth-nav-cycle-splits-forward', - name: 'Go to next root tab group', + name: 'Go to next tab group (workspace root only)', callback: () => { focusTabs('cycleSplitsForward') } }); this.addCommand({ id: 'smooth-nav-cycle-splits-backward', - name: 'Go to previous root tab group', + name: 'Go to previous tab group (workspace root only)', callback: () => { focusTabs('cycleSplitsBackward') } }); this.addCommand({ id: 'smooth-nav-cycle-splits-forward-plus', - name: 'Go to next tab group (root + sidebars)', + name: 'Go to next tab group (workspace root + sidebars)', callback: () => { focusTabs('cycleSplitsForwardPlus') } }); this.addCommand({ id: 'smooth-nav-cycle-splits-backward-plus', - name: 'Go to previous tab group (root + sidebars)', + name: 'Go to previous tab group (workspace root + sidebars)', callback: () => { focusTabs('cycleSplitsBackwardPlus') } }); this.addCommand({ @@ -103,22 +103,22 @@ class SmoothNavigator extends obsidian.Plugin { }); this.addCommand({ id: 'smooth-nav-focus-first-file', - name: 'Go to first file in workspace root', + name: 'Go to first leaf in workspace root', callback: () => { focusTabs('focusFirstFile') } }); this.addCommand({ id: 'smooth-nav-focus-last-file', - name: 'Go to last file in workspace root', + name: 'Go to last leaf in workspace root', callback: () => { focusTabs('focusLastFile') } }); this.addCommand({ id: 'smooth-nav-focus-first-file-in-tab-group', - name: 'Go to first file in active tab group', + name: 'Go to first leaf in active tab group', callback: () => { focusTabs('focusFirstFileInTabGroup') } }); this.addCommand({ id: 'smooth-nav-focus-last-file-in-tab-group', - name: 'Go to last file in active tab group', + name: 'Go to last leaf in active tab group', callback: () => { focusTabs('focusLastFileInTabGroup') } }); this.addCommand({