Skip to content
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

Hotkeys: Jump to last/next folder #485

Open
reneleonhardt opened this issue Nov 19, 2023 · 0 comments
Open

Hotkeys: Jump to last/next folder #485

reneleonhardt opened this issue Nov 19, 2023 · 0 comments
Labels
enhancement Add a new feature

Comments

@reneleonhardt
Copy link

What would you like to be added:

Hotkeys to jump to the next or previous folder (like a smart page up/down).

  • Pressing next jumps to the next folder on the same level. If there isn't any left, it jumps to the next entry after the parent folder (please note that that must not be a folder or the same level, having to press the same hotkey twice in such a case is less distracting then to auto-advance and loose the first page of files which could be between the first sibling and the next sibling folder).
  • Pressing previous jumps to the previous folder on the same level. If there isn't any left, it jumps to the parent folder, like pressing left arrow would do.
  • To summarize, if standing on a folder, pressing previous or next jumps to the next sibling entry (if any), but then immediately stops (instead of advancing to the next folder), to give the user a chance to see where they jumped to now after the last sibling folder. Just pressing the hotkey again resumes jumping to the next folder.

Why is this needed:

In order to get an overview of an image's content more quickly it would be helpful to jump between folders instead of pages.
Example: python:3.12-alpine
When you navigate inside /usr/local/lib/python3.12 it would be much easier to jump from one (parallel) folder to the next instead of using page down where you can end up on any other level. There even is no indication where inside the file tree you're now (aka what the parent folder / path is now).
Jumping on the same level is much more intuitive for a user.

Additional context:

The previous folder is sometimes reachable by pressing left arrow, but only if the previous folder is the same as the parent folder.
Please note that the right arrow does not jump to the next folder on the same level, and only to the next child element when coincidentally standing on a parent folder.
A breadcrump / PWD line would be very helpful to recognize if the last navigation action changed the current directory.

@reneleonhardt reneleonhardt added the enhancement Add a new feature label Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Add a new feature
Projects
None yet
Development

No branches or pull requests

1 participant