Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
303 stars 7 forks source link

Keyboard shortcut to dismiss topmost block in sidebar #398

Open bruab opened 4 years ago

bruab commented 4 years ago

Describe the problem

A move I make several times a day is "Click the 'X' to dismiss the topmost (and often only) block open in the sidebar so I can remove distractions and focus on a single Page."

A keyboard shortcut to accomplish this action would save me at least 66 seconds, and 20 wrist movements, per day.

Feature implementation

Dealer's choice. I'm used to CTRL-SHIFT-D for returning to Daily Notes, so maybe something parallel to that? CTRL-SHIFT-DEL? I'll learn whatever you hand me.

Additional context

I've learned basic shortcuts, and even installed Karabiner-Elements to map CTRL-HJKL to arrow keys for better intra-block navigation. If there's another keyboard shortcut that you prioritize over this one, plz LMK because I'm pretty sure this is my Next Most Time Consuming Click.

Sincerely yours, a true believer (screenshot)

luuf commented 4 years ago

If you want to remove the entire sidebar, CMD-SHIFT-\ works.

However, I'd still very much like a shortcut for the action you describe, because I often want to dismiss the top sidebar page just so I can see the next sidebar page. It's pretty common that I have two pages continuously open, and want to quickly open and close other pages for a small edit or look.

bruab commented 4 years ago

@luuf Since opening this issue I've installed the Roam Toolkit extension and enabled Vim mode, which lets me close the topmost sidebar Page with 😌

bruab commented 4 years ago

... with <CTRL-W> oops