When I type c in mutt I get all my folders displayed and this is quite long.

I would like to configure it to show only those folders that I deem to be interesting. Would be happy to configure it by adding a list in my .muttrc

link|improve this question

65% accept rate
feedback

2 Answers

up vote 1 down vote accepted

Pressing TAB after c will switch from the folder to the mailbox list view. Pressing it again takes you back.

You can add new mailboxes with something like

mailboxes /some/local/path
mailboxes imaps://some.imap.host/INBOX

For imap (after login) this will add all top-folders to the mailbox list though.

link|improve this answer
In my normal muttrc, there is a mailboxes command that adds all the foldes in ~/Maildir/. If I have run that, how do I empty the list of mailboxes. – justintime Mar 27 '10 at 15:05
Also thanks for the very quick reply ... – justintime Mar 27 '10 at 15:06
As I understand it, there is no way to "narrow down" the list of folders further (apart from what is already registered as mailbox). Maybe there is some "bookmark" patch available somewhere, but I couldn't find it. – honk Mar 28 '10 at 17:47
feedback

There's a mutt sidebar patch (available on Debian, Ubuntu and probably others as mutt-patched ).

With it, you set up your mailboxes as a list of folders you're interested in; they'll appear on the left of the screen. You can then use commands like sidebar-next to navigate. I use this setup:

bind index \CN sidebar-next
bind index \CP sidebar-prev
bind index \CO sidebar-open
link|improve this answer
Thanks - sounds interesting – justintime Mar 28 '10 at 10:05
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.