I switched to Org Mode and Emacs few weeks ago. I find it incredibly better than my previous (simple but effective) setup based on markdown files and VS Code editor.
I'm learning new features everyday but there's one thing from VS Code that I really miss and I can't think how to reproduce it in Emacs:
I'd like to open a specific directory (like /OrgMode
) like a "workspace" and then be able to launch a command to find a file in the directory itself. Really simple. In VS Code I used to launch CMD+P
(macOS) or CTRL+P
(Win) to open a Spotlight-like file search. It was incredibly quick, useful and powerful.
It placed most opened files at the top of the list, updating the order dynamically. But it's OK if I can't reproduce it exactly in Emacs right now. All I want is an effective way to find a file based on my (partial and not necessarily using the beginning part of the filename) keyboard input.
Can you help me?
** Clarifying Edit ** I want to open a directory as the active workspace. Then, I need a command that will ask for my input so that I can quickly open a file within the directory itself.
Example:
Directories on my disk:
/OrgMode/Projects.org
/OrgMode/Todo.org
/OrgMode/MonkeyIsland.org
Then:
M-x command-im-looking-for
- I type
isl
- A list containing
MonkeyIsland.org
appears RET
visits the file.