This commit is contained in:
gasparschott 2025-03-17 12:24:01 -07:00
parent dcf36e33df
commit 3abc266487
3 changed files with 2 additions and 2 deletions

View file

View file

@ -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;

View file

@ -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",