about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-15T18·24+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-15T18·24+0200
commit319347e5cc6b31a4d3669dfe7f56bbf904039fb4 (patch)
treea2a8adac2230dda061ea98a170fc1049903afeb8
parent5e48ce3f9b210078fb99c4d173f223c2da0379b0 (diff)
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
-rw-r--r--init/settings.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/init/settings.el b/init/settings.el
index 2818aeb5c196..1786957b4cd7 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)