diff --git a/README b/README.md similarity index 100% rename from README rename to README.md diff --git a/main.js b/main.js index 62411de..63c2385 100644 --- a/main.js +++ b/main.js @@ -58,7 +58,7 @@ class SmoothNavigator extends obsidian.Plugin { switch(true) { case action === 'cycleSplitsBackward' || action === 'cycleSplitsForward': target_leaf = getActiveLeaf(getNextTabGroup(action)); break; case action === 'cycleSplitsBackwardPlus' || action === 'cycleSplitsForwardPlus': target_leaf = getActiveLeaf(getNextTabGroup(action)); break; - case action === 'cycleFilesBackward': target_leaf = getNextLeaf(active_tab_group'backward'); break; + case action === 'cycleFilesBackward': target_leaf = getNextLeaf(active_tab_group,'backward'); break; case action === 'cycleFilesForward': target_leaf = getNextLeaf(active_tab_group,'forward'); break; case action === 'focusFirstFileInTabGroup': target_leaf = active_tab_group.children[0]; break; case action === 'focusLastFileInTabGroup': target_leaf = active_tab_group.children[active_tab_group.children.length - 1]; break; diff --git a/manifest.json b/manifest.json index 589f0f1..e3c9e70 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "smooth-navigator", "name": "Smooth Navigator", - "version": "1.0.0", + "version": "1.0.1", "minAppVersion": "0.15.0", "description": "Smoothly cycle through open files and splits via the keyboard.", "author": "Michael Schrauzer",