Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Implement a fuzzy dir finder #4430

Closed
eburghar opened this issue Oct 23, 2022 · 4 comments
Closed

Implement a fuzzy dir finder #4430

eburghar opened this issue Oct 23, 2022 · 4 comments
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@eburghar
Copy link

eburghar commented Oct 23, 2022

I use extensively a fuzzy dir finder in kakoune I made with skim to quickly cd into a project directory and then fuzzy pick a file from there.

I have the option to start the finder from a given dir (by default it fuzzy finds from the current directory).

So there could be a fuzzy dir picker accessible from the space mode, and a command accepting argument with completion mode on the prompt mode, but we can rely on the :cd command for that and then pick a dir in space mode in 2 steps.

It should be reasonably easy to implement on top of the actual file picker (choose dir instead of file, cd instead of open).

What do you think ?

@eburghar eburghar added the C-enhancement Category: Improvements label Oct 23, 2022
@the-mikedavis
Copy link
Member

Does #2412 cover what you're looking for?

@eburghar
Copy link
Author

Does #2412 cover what you're looking for?

I think this is about a different kind file picker. I was talking about a dir picker which does a cd at the end. The :cd command completion is not fuzzy and limited to one level which force you to press tab many times at each level. With a cd fuzzy picker you can select the dir with just a few keystrokes independently of its depth in the current hierarchy.

@grv07
Copy link
Contributor

grv07 commented Oct 25, 2022

Hey @eburghar
I think something like this can also help.
What you think?

image

@eburghar
Copy link
Author

Hey @eburghar I think something like this can also help. What you think?

image

Yes that would be better. I just fear that it would offer less readability than a vertical list like the file picker. You should also have the fuzzy pattern highlighted in candidates.

@kirawi kirawi added E-easy Call for participation: Experience needed to fix: Easy / not much A-helix-term Area: Helix term improvements E-good-first-issue Call for participation: Issues suitable for new contributors labels Oct 25, 2022
@the-mikedavis the-mikedavis removed E-easy Call for participation: Experience needed to fix: Easy / not much E-good-first-issue Call for participation: Issues suitable for new contributors labels Feb 15, 2024
@helix-editor helix-editor locked and limited conversation to collaborators Apr 12, 2024
@pascalkuthe pascalkuthe converted this issue into discussion #10366 Apr 12, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants