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
.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityFuzzy 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)
and/or:
(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.