diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-16 14:02:43 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-16 14:33:38 +0900 |
| commit | 2f6d23b91e845f53e746e7cf74477a735ec88a85 (patch) | |
| tree | 7e80f65638d310c002b559b0d7a79323d495aec3 /install | |
| parent | 5f63a7b587b4ce221d1e90a559051c51fad2ff78 (diff) | |
| download | fzf-2f6d23b91e845f53e746e7cf74477a735ec88a85.tar.gz | |
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".
Diffstat (limited to 'install')
0 files changed, 0 insertions, 0 deletions
