phibr0 / obsidian-customizable-sidebar

This Plugin allows you to add every Command to Obsidian's Sidebar Ribbon and add Custom Icons.
MIT License
82 stars 8 forks source link

[Feature Request] Hotkeys for Sidebars Behavior (Hide/Show) #1

Closed FelipeRearden closed 3 years ago

FelipeRearden commented 3 years ago

Hello @phibr0 !!!

I'd like to make a feature request for Obsidian Customizable Sidebar

I know that my request is not 100% to this plug-in but is 100% related to customizations to the sidebars

My request is simple to explain: create Obsidian Commands (command palette) to close/hide and show/open the right and left sidebars. (more details above)

Why I’m asking for these 2 last hotkeys... if Obsidian already have TOGGLE RIGHT SIDEBAR and TOGGLE LEFT SIDEBAR.

Cenario

I use this 2 plugins a lot: Workspaces (core-plugin) and Maximise Active Panel. I have a writing/reading workspace that is like this: img001

When I toggle Maximise Active Panel, the active panel goes to full screen BUT the right sidebar and the left sidebar keeps open. Then I have to use two hotkeys to hide the the right sidebar and the left sidebar.

When I came back to the normal view I have again to press two hot key to get my 2 sidebars open again.

This just one example of other workflows that I have.

FR Details

In my opinion, we have 4 hotkeys for this:

HIDE RIGHT SIDEBAR

HIDE LEFT SIDEBAR

SHOW RIGHT SIDEBAR

SHOW LEFT SIDEBAR

A Powerfull Combo with Obsidian Macros

My ideia is to use this new hotkeys with your new plug-in Obsidian Macros to create complex macros with many obsidian commands!!!!


I really hope you like my suggestion. Sorry if it was a long text. I tried to explain the importance of this hotkeys for my workflow.

Let me know if you need clarification.

Thanks and have a great day! Fun fact-> Philip means Felipe in Portuguese (we have the same name) :)

phibr0 commented 3 years ago

I added the Commands to close and open both Sidebars respectively.

Thanks for your detailed Feature Request!

FelipeRearden commented 3 years ago

Hello @phibr0 !!!

Thank you very much for making this feature :) I'm so happy!!!

Just one little information: when I am installing the plug-in today I get this notification And I can't install the plug-in. Take a look: Screen Shot 2021-08-14 at 07 38 53

Thanks for your help :)

phibr0 commented 3 years ago

Thats weird. What Obsidian Version are you on?

FelipeRearden commented 3 years ago

Thats weird. What Obsidian Version are you on?

Sorry I forgot to tell: Obsidian 0.12.10 on MacOS

phibr0 commented 3 years ago

Why don't you update to 0.12.12? The Plugin requires you to have that Version.

FelipeRearden commented 3 years ago

Sorry @phibr0 !!!

My bad, I let automatic updates disable :( . Let me update right now and I get back to you in a few minutes

FelipeRearden commented 3 years ago

@phibr0

Thank you so much !!! 100% working!!!

Sorry for my mistake and thanks again for this new feature :)

I wish you a fantastic weekend!!!

phibr0 commented 3 years ago

Thanks, you too! Definitely not a must, but if you'd like you can support me here: https://buymeacoffee.com/phibr0