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

feat: Navigate by typing file/directory names #659

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sandr01d
Copy link

This PR adds the ability to jump to a file or directory by typing the first letters of its display name. Navigation will jump to the next matching item based on the current selection. The same character can also be typed in quick succession to cycle through all items beginning with the same character.
The typed word is reset when no letter has been typed for longer than defined in PrefixSearch::reset_delay. Currently this value is hard coded to 500ms, but could be easily made configurable. I did not do so yet, since this involves adding another PR for the settings and I wanted to get feedback for this one first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant