How can I configure helm-source-locate (for helm-mini) such that it matches like the following:

Type some tex it should match some_file.tex as well as b_some_other_file.tex.

2 Answers 2


Fuzzy matching (enabled for some commands but disabled by default) should do the trick:

(setq helm-locate-fuzzy-match t)
(setq helm-mode-fuzzy-match t)


(setq helm-completion-in-region-fuzzy-match t)

One has to change the helm-locate command:

(setq helm-locate-command "locate %s -e -A --regex %s")

(See: https://github.com/emacs-helm/helm/issues/940)

Since I want spaces and regex, it is not a fuzzy search what I asked for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.