-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: use left and right for jumping into / out of directories as default #179
Comments
I'll add those bindings, commented, to the config, but I won't activate them by default. The rationale is:
|
Fair point! How about this: if there is no user input, use the left / right arrow keys for directory jumping. Currently, left and right both navigate down. I often use broot not just for searching, but for folder navigation, too. |
What do you mean ? This looks like a bug but I don't reproduce it. |
It's a bit different, it does not go down per say, but it seems to replicate the last movement:
And the other direction:
|
This is a bug. It looks like #168 |
Sure, but where can I find |
Assuming you started broot with Maybe come to the chat ? https://miaou.dystroy.org/3 |
The left / right behavior disappeared when I updated broot! |
@joepio I'd like your validation on this one |
Thanks for the addition, @Canop ! It's working pretty well, except for when the top item is selected. As a user, I expect the left arrow to navigate to parent, but if I press left on the top item, I close the app. That means that I can't open When I press I think this is the issue: |
I tried mapping it to parent, the behavior is too inconsistent with what you'd expect, especially as right-left isn't a nil operation (in broot there's both a current selection and a current root). What could be done is to prevent the left (or maybe the back, this is often discussed) to close the app. |
But that would still result in the confusing |
Right. This could be prevented too but that would make the right arrow a nil operation when the input is empty and the root is selected. That doesn't really feel better. |
How about adding a My usecase is that, once I've selected a file with broot, a lot of the time I want to move to an intermediate directory somewhere between my starting directory and the exact directory the file is in. For example:
That would be awesome. :) |
First of al, thanks for sharing this tool! I like it a lot.
Currently, both the bottom key, the left key and the right key move "down", to the next item. I'd suggest to use the left/right arrow keys for jumping out/into directories. This makes sense both visually (since children are on the right, parents on the left) and functionally (moving vertically is very common). I also think it's more intuitive than using the
p
key, and it matches with UX patterns in most other existing filesystem navigation apps.Someone has suggested allowing this before, but it's not a default setting. I suggest using it as a default.
The text was updated successfully, but these errors were encountered: