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

Incorrect fuzzy search behavior #678

Open
ElSamhaa opened this issue Nov 26, 2023 · 4 comments
Open

Incorrect fuzzy search behavior #678

ElSamhaa opened this issue Nov 26, 2023 · 4 comments

Comments

@ElSamhaa
Copy link

ElSamhaa commented Nov 26, 2023

When in search mode, and assuming a list of subdirectories/files named ts and tst in the current CWD; when typing ts, xplr will focus tst before ts, despite ts being a closer match.

@sayanarijit
Copy link
Owner

sayanarijit commented Dec 30, 2023

Xplr uses skim internally. The skim algorithm seems to do ranking this way when run from command line.

@ElSamhaa
Copy link
Author

ElSamhaa commented Jan 1, 2024

@sayanarijit Is it possible to allow specifying a custom fuzzy search command, e.g fzf or sk --tiebreak length?

@sayanarijit
Copy link
Owner

Should be possible.

@ElSamhaa
Copy link
Author

lotabout/skim#568

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