From 81d6b5c56f5834a2d0ff77fad508b9fe7f16fae5 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 30 Apr 2023 19:48:06 +0100 Subject: Add `matching-algorithm` to the example config. --- doc/config | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/config') diff --git a/doc/config b/doc/config index 69bddab..2acf247 100644 --- a/doc/config +++ b/doc/config @@ -249,8 +249,14 @@ # facilitate the creation of custom modes. # history-file = /path/to/histfile - # Use fuzzy matching for searches. - fuzzy-match = false + # Select the matching algorithm used. If normal, substring matching is + # used, weighted to favour matches closer to the beginning of the + # string. If prefix, only substrings at the beginning of the string are + # matched. If fuzzy, searching is performed via a simple fuzzy matching + # algorithm. + # + # Supported values: normal, prefix, fuzzy + matching-algorithm = normal # If true, require a match to allow a selection to be made. If false, # making a selection with no matches will print input to stdout. -- cgit v1.2.3