houcheng / obsidian-cycle-in-sidebar-plugin Goto Github PK
View Code? Open in Web Editor NEWCycle through tabs of left/ right sidebar panel
License: MIT License
Cycle through tabs of left/ right sidebar panel
License: MIT License
I love the idea of finally extending some keyboard control to the Obsidian UI
Could there maybe be a feature that automatically switches sidebar tabs based on which note you are in, e.g. based on yaml frontmatter or filepath of the note?
There could be tons of use cases for that like "in my atomic notes folder, open backlinks panel instead of outline panel" etc.
Cant install this plugin - Obsidian says 'plugin ID mismatch'
Hello @houcheng !!!!
I would like to share with you an idea about how we could enhance the usage of this plugin using keyboard to navigate inside the Sidebar
The FR is simple to explain: while using the commands to cycle in sidebar, we need a command/treatment to keep the focus on the sidebar while we are cycle.
In other words, when I use the commands from this plugin to cycle in sidebar, I lost the focus from the previous plugin.
๐ฅ
Steps :
1 - Reveal File in Reveal Current File in Navigation Command to open the Sidebar an focus
2- Cycle in Left Sidebar command
3- Cycle in Left Sidebar command
4- Cycle in Left Sidebar command
As you can see, after step two I lost the focus on the Sidebar and I cant use the keyboard anymore
๐I have to click in the sidebar to get the focus back
Since this behavior that I described above is an additional workflow from the standard (cycle sidebar keeping the focus on the active note) my suggestion is add this feature as a NEW COMMAND Focus on Sidebar
This way users could decide when is necessary to focus on sidebar to have a keyboard navigation or not. This would be the best scenario for all :)
Thanks for reading this !!!
I hope you like this idea. I really miss the opinion to use keyboard with my Sidebars ๐
I wish you a fantastic day โ๏ธ
Hello @houcheng !!!!
Thanks for the amazing plugin, I use sidebar a lot and its amazing to be able to cycle using the keyboard :)
MY FR is about a new command to dynamic cycle on the sidebar that is ACTIVE in the workspace.
โ I use the left sidebar for File Explorer, Starred Files and Search;
โ I use the right sidebar for Tags and Backlinks
My right sidebar is ALWAYS open (active/visible) and I only open the Left Sidebar to Search.
This way, would be amazing for me to have a unique command to cycle between the active sidebar without worrying if is in the left or the right sidebar :)
1๏ธโฃ If the Right Sidebar is Active then Cycle in the Right Sidebar
2๏ธโฃ If the Left Sidebar is Active then Cycle in the Left Sidebar
3๏ธโฃ If the Right Sidebar AND the Left Sidebar is Active then Cycle in the Right Sidebar AND the Left Sidebar
Thanks for reading this ! I hope you like my idea
I wish you a fantastic day :)
First off, thank you for this! I would love for this functionality to be part of the product itself.
Can you add a reverse cycle order so we can go back and forth between two of sidebar tabs instead of having to go all of the way through them? You could make the reverse with hotkeys like
shift+ctl+[
shift+ctl+]
to mimic how other programs do the same kind of tab cycling.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.