sayanarijit / xplr

A hackable, minimal, fast TUI file explorer
https://xplr.dev
MIT License
4.23k stars 80 forks source link

Incorrect fuzzy search behavior #678

Open ElSamhaa opened 12 months ago

ElSamhaa commented 12 months ago

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 commented 10 months ago

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

ElSamhaa commented 10 months ago

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

sayanarijit commented 10 months ago

Should be possible.

ElSamhaa commented 6 months ago

https://github.com/lotabout/skim/issues/568