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

Fuzzy matching child directories #127

Open
xh3b4sd opened this issue Oct 17, 2016 · 1 comment
Open

Fuzzy matching child directories #127

xh3b4sd opened this issue Oct 17, 2016 · 1 comment

Comments

@xh3b4sd
Copy link

xh3b4sd commented Oct 17, 2016

When I have a file /one/two/tree I should be able to find this file by providing ontwtr. This is how I am used to do in e.g. fuzzy finder. Using the fuzzy matching option I am not able to to such searches. Am I missing something?

@Osmose
Copy link
Owner

Osmose commented Oct 22, 2016

Thanks for the report!

The intent for fuzzy matching is only to match against files in the current directory, so it's working as intended. I can see the use case for wanting fuzzy matching against the current directory and it's children, though, even with the fuzzy finder.

The main challenge is that the fuzzy finder already has a delay for indexing the current project to make fuzzy finding useful, and advanced-open-file isn't limited to a project directory like the fuzzy-finder is. We'd have to index on the fly, and probably end up doing smart things like knowing when we've already indexed a child directory.

I'm pretty sure this isn't something I'd work on, but I'd certainly review a PR that provided this feature. And one more open issue in the tracker can't hurt, right? :P

@Osmose Osmose changed the title fuzzy matching does not work Fuzzy matching child directories Oct 22, 2016
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

No branches or pull requests

2 participants