commit 2e0a0d88d8079ce3f5c3d80289edad90b4df0fac parent c25497bd2f00db2be128ae07a00cf3640279a7cc Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Sun, 28 Feb 2016 10:34:22 -0800 fix spoolfile, improve format in index view Diffstat:
M | .mutt/muttrc | | | 11 | ++++++++--- |
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc @@ -33,8 +33,7 @@ set my_realname = "Anders Damsgaard" # IMAP: offlineimap set folder = "~/Mail" source ~/.mutt/mailboxes -#set spoolfile = "+riseup/INBOX" -set spoolfile = "+riseup" +set spoolfile = "+riseup/INBOX" set record = "+riseup/Sent\ Items" set postponed = "+riseup/Drafts" set mbox_type=Maildir @@ -180,6 +179,12 @@ macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuc # 'a' shows all messages again (supersedes default <alias> binding) macro index a "<limit>all\n" "show all messages (undo limit)" +# show recipient instead of sender in "Sent" folder view +set date_format='%b %d %I:%M' +set my_index_format_pre='set index_format="%3C %Z %D %-20.20' +set my_index_format_post=' (%4.4c) %?M?<%M> ?%s"' +folder-hook .*[sS]ent.* "$my_index_format_pre"t"$my_index_format_post" +folder-hook ! .*[sS]ent.* "$my_index_format_pre"F"$my_index_format_post" + # Get mutt to display its version on startup. push <show-version> -