Reputation: 6558
Is there a package or something built-in to emacs that will do fuzzy file name matching within a directory structure (that is a project directory) which mimics the quick-open in Sublime and Intellij.
I don't require that it popup a text input UI in the middle of the application with possible matches listed below in drop-down form, updating as I type. Just that it match the intentions of that feature.
Upvotes: 1
Views: 581
Reputation: 17422
Put the following in your init file (e.g., ~/.emacs
or ~/.emacs.d/init.el
) to get fuzzy matching of filenames with find-file
(C-x C-f):
(ido-mode t)
(setq ido-enable-flex-matching t)
Upvotes: 0
Reputation: 18415
I have only a vague idea of Sublime, but you might be looking for Projectile's find-file command. It also has the same to find inside a directory (not a project). It comes with various matching possibilities, with an helm
interface with helm-projectile
, which can be replaced by ido
.
It is not buit-in though, you have to install it with the package manager, package.el
: M-x package-install RET projectile RET
, once it is configured.
Upvotes: 1