From 319347e5cc6b31a4d3669dfe7f56bbf904039fb4 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 15 Oct 2017 20:24:28 +0200 Subject: [PATCH] fix(settings): Correctly enable Helm's fuzzy matches The global Helm fuzzy matching doesn't actually seem to enable fuzzy matching for modes that have an explicit config. This enables fuzzy matching for M-x and C-x b --- init/settings.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/init/settings.el b/init/settings.el index 2818aeb5c..1786957b4 100644 --- a/init/settings.el +++ b/init/settings.el @@ -5,9 +5,15 @@ ;; Make Helm go! (require 'helm-config) -;; Enable fuzzy matching in Helm +;; Enable fuzzy matching in Helm. +;; The wiki recommends the first two options for globally enabling fuzzy +;; matching, however this does not actually work. +;; Setting all the options helps! (setq helm-mode-fuzzy-match t - helm-completion-in-region-fuzzy-match t) + helm-completion-in-region-fuzzy-match t + helm-M-x-fuzzy-match t + helm-buffers-fuzzy-matching t + ) (global-set-key (kbd "M-x") #'helm-M-x) (global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) (global-set-key (kbd "C-x C-f") #'helm-find-files)