swiper icon indicating copy to clipboard operation
swiper copied to clipboard

results sorting could be improved

Open randomizedthinking opened this issue 3 years ago • 0 comments

I use swiper a lot, and feel there is one place that the swiper results sorting could be improved. Below is one example to illustrate the differences between swiper, fzf, and telescope (nvim). The search term is: gtd.org. Both fzf and telescope identify Topics/gtd.org as their first hit, and the swiper order is least intuitive. Also, note that gtd/tickler.org (not shown) is after gtd/inbox.org_archive in the swiper result set. I don't know the internal logic of the sorting algorithm, but this phenomenon is quite interesting to me.

swiper:

image

fzf:

image

telescope.nvim (note it is in reverse order):

image

randomizedthinking avatar Jul 20 '22 17:07 randomizedthinking