]> git.friedersdorff.com Git - max/dotfiles.git/blob - mutt/.mutt/muttrc
Aliases and viewing urls in mutt
[max/dotfiles.git] / mutt / .mutt / muttrc
1 # Macro keys for different mailboxes
2 macro index <f2> '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter>'
3 macro index <f3> '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter>'
4 macro index <f4> '<sync-mailbox><change-folder>imaps://imap.gmail.com<enter>'
5
6 # Configuration files for different mailboxes
7 folder-hook 'friedersdorff.com' 'source ~/.mutt/account.com.friedersdorff.max'
8 folder-hook 'office365.com' 'source ~/.mutt/account.uk.ac.le.student.mf195'
9 folder-hook 'gmail.com' 'source ~/.mutt/account.com.gmail.maxf130'
10
11 macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
12
13 # Source the passwords file
14 source "gpg -dq ~/.mutt/passwords.gpg |"
15 # Always check personal email first
16 source ~/.mutt/account.com.friedersdorff.max
17
18 # Automatically render html emails.  Not sure if this is a good idea
19 auto_view text/html
20 alternative_order text/plain text/enriched text/html
21
22 # Solarized color theme
23 source ~/.mutt/solarized.muttrc
24
25 # use abook for aliases
26 set alias_file=~/.mutt/aliases
27 set sort_alias= alias
28 source $alias_file
29
30 #set query_command="abook --mutt-query '%s'"
31 #macro index a   "|abook --add-email\n" 'add sender to abook'
32 #macro pager a   "|abook --add-email\n" 'add sender to abook'
33
34 macro index \cb   "|urlview\n"
35 macro pager \cb   "|urlview\n"
36
37