summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2023-04-30 19:48:06 +0100
committerPhil Jones <philj56@gmail.com>2023-04-30 19:48:06 +0100
commit81d6b5c56f5834a2d0ff77fad508b9fe7f16fae5 (patch)
treeb074367fd641ed3507d5ef095883087c132a88b0 /doc
parent574eff0df1aff9bdc6d32939a03312cc08803de3 (diff)
Add `matching-algorithm` to the example config.
Diffstat (limited to 'doc')
-rw-r--r--doc/config10
1 files changed, 8 insertions, 2 deletions
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.