]> git.friedersdorff.com Git - max/dotfiles.git/blob - online_mail/.mutt/muttrc
Update the online mail config
[max/dotfiles.git] / online_mail / .mutt / muttrc
1 # Macro keys for different mailboxes
2 macro index \e1 '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter>'
3 macro index \e2 '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter>'
4
5
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'
9
10 macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
11
12 # Source the passwords file
13 source "gpg2 -dq ~/.mutt/passwords.gpg |"
14 # Always check personal email first
15 source ~/.mutt/account.com.friedersdorff.max
16
17 # Automatically render html emails.  Not sure if this is a good idea
18 auto_view text/html
19 alternative_order text/plain text/enriched text/html
20
21 # use abook for aliases
22 set alias_file=~/.mutt/aliases
23 set sort_alias= alias
24 source $alias_file
25
26 # View urls more easily with urlview
27 macro index \cb   "|urlview\n"
28 macro pager \cb   "|urlview\n"
29
30 set text_flowed=yes
31 set reflow_text=yes
32 set editor="vim +':set textwidth=72' +'set fo=aw'"
33
34 # Encryption
35 source ~/.mutt/gpg.rc
36
37 # Speed up folder switch
38 set sleep_time=0 
39
40 # Mutt colors
41 source ~/.mutt/colors.mutt
42
43 set sort=threads
44 set sort_aux=last-date-received
45
46 set fast_reply=yes