Diego Saa
Diego Saa

Reputation: 1456

How can I open multiple minibuffers in emacs?

Say I'm entering a command in the minibuffer, and I realize that I need to remember the path to some file as a param to my command. Can I instead of cancelling the command I started entering to do C-x d or to go to a shell, click (click? what's that?) on a secondary mini buffer to run such command?

Upvotes: 12

Views: 507

Answers (1)

dbr
dbr

Reputation: 169633

You are looking for "recursive editing", specifically the bit discussed in the Recursive Minibuffer docs:

(setq enable-recursive-minibuffers t)
(minibuffer-depth-indicate-mode 1)

The latter line makes things the recursive editing less confusing, by showing the level of recursion. E.g C-x C-f then C-x b will appear like this:

minibuffer-depth-indicate-mode example

Upvotes: 17

Related Questions