From b7305897f1c6d6f499003657b352ccbe6ed1faba Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sat, 30 Aug 2014 19:26:22 -0700 Subject: scoring: Prefer consecutive matches --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 32b1f7a..587ebc1 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,10 @@ nnoremap s :call FzyCommand("ag . --no-color -l -g ''", ":sp") fzy attempts to present the best matches first. The following considerations are weighted when sorting: -It prefers matching the beginning of words: `amo` is likely to match app/models/order.rb. - It prefers consecutive characters: `file` will match file over filter. +It prefers matching the beginning of words: `amp` is likely to match app/models/posts.rb. + It prefers shorter matches: `abce` matches abcdef over abc de. It prefers shorter candidates: `test` matches tests over testing. -- cgit v1.2.3