diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config | 3 | ||||
-rw-r--r-- | doc/tofi.5.md | 8 | ||||
-rw-r--r-- | doc/tofi.5.scd | 7 |
3 files changed, 18 insertions, 0 deletions
@@ -121,6 +121,9 @@ # Sort results by number of usages in run and drun modes. history = true + # Use fuzzy matching for searches. + fuzzy-match = false + # If true, directly launch applications on selection when in drun mode. # Otherwise, just print the command line to stdout. drun-launch = false diff --git a/doc/tofi.5.md b/doc/tofi.5.md index 23f4cb2..446ec8e 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -240,6 +240,14 @@ options. > > Default: true +**fuzzy-match**=*true\|false* + +> If true, searching is performed via a simple fuzzy matching algorithm. +> If false, substring matching is used, weighted to favour matches +> closer to the beginning of the string. +> +> Default: false + **drun-launch**=*true\|false* > If true, directly launch applications on selection when in drun mode. diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index c36f98c..2cb4dad 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -208,6 +208,13 @@ options. Default: true +*fuzzy-match*=_true|false_ + If true, searching is performed via a simple fuzzy matching algorithm. + If false, substring matching is used, weighted to favour matches closer + to the beginning of the string. + + Default: false + *drun-launch*=_true|false_ If true, directly launch applications on selection when in drun mode. Otherwise, just print the path of the .desktop file to stdout. |