1

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.

lucidquiet
  • 6,124
  • 7
  • 51
  • 88
  • Related: https://stackoverflow.com/questions/24188058/is-there-a-quick-file-open-find-like-intellijs-find-file-or-sublimes-somethi – Ehvince Mar 21 '16 at 22:28
  • Duplicate ? https://stackoverflow.com/questions/9656096/emacs-how-can-i-find-a-file-in-my-project-quickly – Ehvince Mar 21 '16 at 22:29
  • Not really an answer, but an interesting, fairly on topic video: https://vimeo.com/1013263 – jpkotta Mar 21 '16 at 23:28

2 Answers2

1

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.

Ehvince
  • 17,274
  • 7
  • 58
  • 79
0

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)
Thomas
  • 17,016
  • 4
  • 46
  • 70