1 # Macro keys for different mailboxes
2 macro index \e1 '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter><sidebar-open>'
3 macro index \e2 '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter><sidebar-open>'
6 # Configuration files for different mailboxes
7 folder-hook 'friedersdorff.com' 'source ~/.mutt/account.com.friedersdorff.max'
8 folder-hook 'outlook.office365.com' 'source ~/.mutt/account.uk.ac.aber.maf54'
10 macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
12 # Source the passwords file
13 #source "gpg2 -dq ~/.mutt/passwords.gpg |"
14 set my_personal_password=`pass Home/xenon/mail/max@friedersdorff.com | head -n 1`
15 set my_aber_password=`pass Aber/Main | head -n 1`
16 # Always check personal email first
17 source ~/.mutt/account.com.friedersdorff.max
19 # Automatically render html emails. Not sure if this is a good idea
21 alternative_order text/plain text/enriched text/html
23 # use abook for aliases
24 set alias_file=~/.mutt/aliases
28 # View urls more easily with urlview
29 macro index \cb "|urlview\n"
30 macro pager \cb "|urlview\n"
35 set editor="vim +':set textwidth=72' +'set fo=aw'"
40 # Speed up folder switch
44 source ~/.mutt/colors.mutt
47 set sort_aux=last-date-received
51 # Show message some message headers when reading mail
52 set pager_index_lines=10
54 # Remove all headers by default
56 unignore from date subject to cc
60 set sidebar_visible=yes
62 set sidebar_folder_indent=yes
63 set sidebar_short_path=yes
64 set sidebar_divider_char='│'
65 set sidebar_format='%B%* %N'
67 bind index,pager \CP sidebar-prev
68 bind index,pager \CN sidebar-next
69 bind index,pager \CO sidebar-open