summaryrefslogtreecommitdiffstats
path: root/doc/rofi-manpage.markdown
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-08-25 08:43:40 +0200
committerDave Davenport <qball@gmpclient.org>2016-08-25 21:17:58 +0200
commit20e55e1e4e7a084e2e86c16e5b3f0497a14773a4 (patch)
treee3a45cbbbf93135bcafbdced2878bac0282d2fe6 /doc/rofi-manpage.markdown
parenta657f81145465df1d8a75bedb1b56a0e99d541e0 (diff)
Add fuzzy matching, make a -matching option.
* -matching *method* option instead of -regex, -glob, -fuzzy. * Re-add fuzzy matching pattern. * When there are substrings in regex, only highlight those matches. Fixes: #447
Diffstat (limited to 'doc/rofi-manpage.markdown')
-rw-r--r--doc/rofi-manpage.markdown18
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown
index d668b25e..e203d43b 100644
--- a/doc/rofi-manpage.markdown
+++ b/doc/rofi-manpage.markdown
@@ -45,8 +45,7 @@
[ -combi-modi *mode1,mode2* ]
[ -normal-window ]
[ -fake-transparency ]
-[ -glob ]
-[ -regex ]
+[ -matching *method* ]
[ -tokenize ]
[ -threads *num* ]
[ -config *filename* ]
@@ -275,14 +274,19 @@ Hide the scrollbar.
Set the scrollbar width.
-`-glob`
+`-matching` *method*
-Use glob style matching
-*Warning this option might be slow on large lists*
+Specify the matching algorithm used.
+Current the following methods are supported.
-`-regex`
+* **normal**: Match the int string.
+* **regex**: Match a regex input.
+* **glob**: Match a glob pattern.
+* **fuzzy**: Do a fuzzy match.
-Use regex matching
+ Default: normal
+
+ Note:, glob matching might be slow for larger lists.
`-tokenize`