Toggle "Directories" list
- From: Berk Birand <dont@xxxxxxxx>
- Date: Mon, 02 Jul 2007 23:20:53 -0400
Hi,
I just started using mutt to check my local maildir mail (fetched with
fetchmail), and my IMAP server's mail. I set up the $mailboxes variable to
use both, and the Mailboxes screen displays them correctly.
However I would like to customize the Directories screen (the one obtained
by pressing <Tab> at the Mailboxes prompt) so that it either displays all
the folders on my local computer, or all the ones on the IMAP server,
toggled using a key.
So for instance, when I first hit 'c,' and then Tab I want to see all the
folders under ~/.maildir. If I hit 'W' at this point, then it should list
all the directories on the IMAP server. Another 'W' will get it back to
displaying ~/.maildir.
I tried creating a macro like this
macro index W "<change-dir>imap://imap\n"
But it didn't even work.
I looked at the ConfigTricks section on the MuttWiki, and I figured the
toggling behavior I want can be achieved by having two files source
each other dynamically (as in the sorting example on the wiki page).
But I couldn't get it to work. I'm very new to mutt, and I would really
appreciate some help.
Thanks,
Berk
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Toggle "Directories" list
- From: Rado S
- Re: Toggle "Directories" list
- Prev by Date: strict_mime -- gone in new mutt?
- Next by Date: Re: Toggle "Directories" list
- Previous by thread: strict_mime -- gone in new mutt?
- Next by thread: Re: Toggle "Directories" list
- Index(es):
Relevant Pages
|