Enable j/k navigation in the RHS sidebar panels#196
Enable j/k navigation in the RHS sidebar panels#196sagittarian wants to merge 5 commits intoinducer:mainfrom
Conversation
|
Thanks for the patch! I see what you're getting at, but I find the resulting user experience a bit confusing. The cursor keys navigate within and across the RHS panels, but j/k only navigate within the panels. That's a tad weird, and I can see how it would confuse users. |
This reverts commit c740c50.
Works by passing "up" or "down" keypress messages to the Pile widget, so there is no difference between using j/k and using the up/down arrow keys.
|
I see what you're saying. I reworked it so that j/k in the sidebar area work the same as the up and down arrows. |
|
Crashes: To reproduce:
|
|
Forgot to say: Thank you for your contribution--I like the idea! |
|
I actually think the original version was better where it didn't jump between windows with j/k. Any chance we could get that? |
|
At the very least, this could be configured via a setting option? I have no physical arrow keys on my keyboards (vim binding all the things!), so having the ability to scroll within a sidebar menu with j/k would be awesome. @inducer: if you're willing to merge this functionality (e.g. enabled with a setting that is disabled by default so as not to confuse users out of the box), I would be willing to adopt this MR and try to implement it. |
|
Sure, I could see merging a competent implementation of the concept, behind a default-off setting. |
|
Thanks for offering! |
I found it very annoying to have to move my hand to the arrow keys to navigate in the sidebar panels. This patch make j/k work for down/up like in the source panel.