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
This commit is contained in:
Vincent Ambo 2017-10-15 20:24:28 +02:00
parent 5e48ce3f9b
commit 319347e5cc

View file

@ -5,9 +5,15 @@
;; Make Helm go! ;; Make Helm go!
(require 'helm-config) (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 (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 "M-x") #'helm-M-x)
(global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) (global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks)
(global-set-key (kbd "C-x C-f") #'helm-find-files) (global-set-key (kbd "C-x C-f") #'helm-find-files)