Comments (8)
Working on a fix, as a workaround right now you can press ctrl + e
twice after switching panes.
from tab-switcher.
It works now with the new update (0.0.4). Thanks so much!
from tab-switcher.
Good to know that you're working on it as well as about the workaround 😁
from tab-switcher.
If you don't care about wraparound, you can use the built-in commands to "focus on pane to the left", "focus on pane to the right", "up" and "down". They don't wrap from first to last, but you can bind them to the same keys and use them in place of this plugin.
from tab-switcher.
If you don't care about wraparound, you can use the built-in commands to "focus on pane to the left", "focus on pane to the right", "up" and "down". They don't wrap from first to last, but you can bind them to the same keys and use them in place of this plugin.
Doesn't seem to be as convenient for me; I'm not able to cycle through the panes with this workaround which forces me to switch between the two hotkeys whenever I reach the last pane on either side—which makes it a more frequent inconvenience when you usually only have two panes open instead of more.
Sorry, didn't know what you meant by "wraparound," yeah I do care about that lol
Also, @phibr0, not sure if you've addressed this issue on the newest update. Have tested it and still doesn't work, even though this issue has been closed.
from tab-switcher.
It seems to be working fine for me.. Did you restart Obsidian after updating the Plugin?
Video
from tab-switcher.
I just updated to 0.0.3 and restarted, and while the new commit fixes the focusing issue, it does not seem to support wraparound either.
However, in my case, that's probably due to an Obsidian issue that prevents making a sidebar document active. (Obsidian allows dragging a document into a sidebar pane, but it doesn't allow making it "active", even though you can click into it and edit it.) Sidebar documents are included in iterateLeaves()
and getLeavesOfType("markdown")
, so this plugin attempts to cycle through them. But since they cannot be made active, the previously-active leaf remains active, so the cycling stops.
One way to fix that would be for this plugin to skip such leaves when moving forward or backward. A simple way to do this is to check that the workspace.activeLeaf
has actually changed after calling setActiveLeaf()
. If it hasn't, then the leaf wasn't suitable, and needs to be skipped in the rotation. This approach should be forward compatible in case Obsidian ever actually allows sidebar leaves to become active.
from tab-switcher.
Seems like this is a another Issue
from tab-switcher.
Related Issues (20)
- Plugin does not recognize excalidraw panes.... HOT 2
- Possible to Ctrl-tab to the default "empty" page HOT 3
- I love the idea, but it's not working for me. HOT 6
- Make this compatible with last version
- Doesn't cycle through panes in v1.0.3 HOT 4
- [Feature Request] Support for .CANVAS files HOT 5
- [Feature Request] thumbnail of tabs when switching HOT 12
- FR: Cycle through Sidebar panes HOT 23
- [Feature Request] Option Exclude **Pinned Notes** from Cycle route HOT 3
- Option to cycle between multiple tabs without switching to them HOT 4
- MRU cycling not working when "Show modal" option disabled HOT 4
- Support all view types by default HOT 3
- Modаl appears too fast HOT 2
- Not working on mobile devices HOT 8
- feature request: make meta key configurable
- Feature Request: Use Cmd+1, Cmd+2 etc. to select tabs across split view panels
- I tried to set the shortcut key to F1 ~ F2 but it didn't work
- FR: Allow mouse click on the popup dropdown menu/list of tabs
- [BUG] Modal not appearing as expected
- Linux Ubuntu: stops to work after first switch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tab-switcher.