From 20e55e1e4e7a084e2e86c16e5b3f0497a14773a4 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 25 Aug 2016 08:43:40 +0200 Subject: 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 --- config/config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/config.c b/config/config.c index 1a9da3b0..b7b76f31 100644 --- a/config/config.c +++ b/config/config.c @@ -107,10 +107,10 @@ Settings config = { /** Parse ~/.ssh/known_hosts file in ssh view. */ .parse_known_hosts = TRUE, /** Modi to combine into one view. */ - .combi_modi = "window,run", - .glob = FALSE, - .tokenize = TRUE, - .regex = FALSE, + .combi_modi = "window,run", + .tokenize = TRUE, + .matching = "normal", + .matching_method = MM_NORMAL, /** Monitor */ .monitor = "-5", /** set line margin */ -- cgit v1.2.3