lewang/flx

Surprising preference given to abbreviation match over an exact prefix

cubranic opened this issue · 1 comments

With flx-ido active, I try to open a file with ido-find-file and start typing "doc". Of the two possible matches in the current directory, "dh-ocr" and "Documents", "dh-ocr" is matched first. Shouldn't matching the prefix be given preference here?

Continuous matches score high, but abbreviation matches also score high. That's the trade off in deciding to accomodate both. Enter more characters to boost the match you have in mind.