I am trying to learn emacs in order to use orgmode.

I came from vscode universe.

There's a Cmd+P in vscode that allows search by filename easily. Looks like this.

enter image description here

Then i can use cursor keys to go up and down and hit enter it will open as new tab.

Is there an equivalent of this in emacs and open in either new buffer or new window?

I have installed dired, but i think it forces me to type out the exact path

  • 1
    The question isn't too clear. Your screenshot doesn't show the input pattern that's being matched, and you didn't cite it. What kind of fuzzy matching are you asking about? And Emacs find-file (C-x C-f) and Dired both support various kinds of fuzzy matching, depending on your value of option completion-styles. (Neither forces you to type the whole absolute file name ("exact path").
    – Drew
    Nov 5, 2021 at 2:44
  • And it looks like your screenshot and part of your description are about navigating through a list of recent files. Going up and down with cursor keys to pick a file name is not using any kind of fuzzy matching...
    – Drew
    Nov 5, 2021 at 2:47
  • IMO, the first comment + built-in ido-mode + built-in project-find-file may serve as good starting points.
    – Y. E.
    Nov 5, 2021 at 10:17

1 Answer 1


There are several alternatives, but I use projectile. It lets me open a file within a project by typing only a short portion of the name, and not necessarily just a prefix. You can adjust somewhat how fuzzy the search is with other libraries, such as ido-mode.

It has a few other related features, such as searching the whole project for text, compiling the project, and so on.


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.