2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-01 03:20:42 +00:00
fzf/test
Junegunn Choi 2f6d23b91e Enhanced ranking algorithm
Based on the patch by Matt Westcott (@mjwestcott).
But with a more conservative approach:
- Does not use linearly increasing penalties; It is agreed upon that we
  should prefer matching characters at the beginnings of the words, but
  it's not always clear that the relevance is inversely proportional to
  the distance from the beginning.
- The approach here is more conservative in that the bonus is never
  large enough to override the matchlen, so it can be thought of as the
  first implicit tiebreak criterion.
- One may argue the change breaks the contract of --tiebreak, but the
  judgement depends on the definition of "tie".
2016-04-16 14:33:38 +09:00
..
fzf.vader [vim] Try to make 'dir' option compatible with &autochdir 2016-01-12 01:15:36 +09:00
test_go.rb Enhanced ranking algorithm 2016-04-16 14:33:38 +09:00