j0ru / kickoff

Minimalistic program launcher
GNU General Public License v3.0
409 stars 11 forks source link

Prioritize items when search term located at beginning #30

Open veloc1 opened 2 years ago

veloc1 commented 2 years ago

Hello there. Using kickoff for about a month and it looks great! Missing one feature though...

I have two frequent items in list:

When I searching for insomnia and typing ins, I expect, that insomnia will be the first item. But currently code-insiders popups at first place.

It would be great, if we can sort items with match at beginning.

For example, wofi --show run output:

image

j0ru commented 2 years ago

Hey, thanks for the feedback!

Matching the exact start of the word would negate the advantages of the fuzzy search I'm using, but your right that the shown behavior is somewhat unexpected. I may be able to fix that by lowering the significance of the history.