How to switch mailboxes in Mutt

mutt

I want to switch between the "Sent" mailbox and the current mailbox. I use the maildir type.

Ideally, there would be a macro bound to a shortcut key that does this.

Best Answer

You can write a macro and bind it to a key, or key sequence. For example, in my muttrc I include this line:

macro index \Cs  "<change-folder> =JWR/INBOX.Sent<enter>"  "go to Sent Items"

It takes me to my Sent items with Ctrls.

You can determine the correct name of the relevant maildir folder by bringing up the prompt with c and then hitting ? for the list.

Related Question