]> git.friedersdorff.com Git - max/dotfiles.git/blob - online_mail/.mutt/muttrc
Split termite conf file by hostname
[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><sidebar-open>'
3 macro index \e2 '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter><sidebar-open>'
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 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
18
19 # Automatically render html emails.  Not sure if this is a good idea
20 auto_view text/html
21 alternative_order text/plain text/enriched text/html
22
23 # use abook for aliases
24 set alias_file=~/.mutt/aliases
25 set sort_alias= alias
26 source $alias_file
27
28 # View urls more easily with urlview
29 macro index \cb   "|urlview\n"
30 macro pager \cb   "|urlview\n"
31
32 set text_flowed=yes
33 set reflow_text=yes
34
35 set editor="vim +':set textwidth=72' +'set fo=aw'"
36
37 # Encryption
38 source ~/.mutt/gpg.rc
39
40 # Speed up folder switch
41 set sleep_time=0 
42
43 # Mutt colors
44 source ~/.mutt/colors.mutt
45
46 set sort=threads
47 set sort_aux=last-date-received
48
49 set fast_reply=yes
50
51 # Show message some message headers when reading mail
52 set pager_index_lines=10
53
54 # Remove all headers by default
55 ignore *
56 unignore from date subject to cc
57
58 # Use sidebar
59 set mail_check_stats
60 set sidebar_visible=yes
61 set sidebar_width=25
62 set sidebar_folder_indent=yes
63 set sidebar_short_path=yes
64 set sidebar_divider_char='│'
65 set sidebar_format='%B%* %N'
66
67 bind index,pager \CP sidebar-prev
68 bind index,pager \CN sidebar-next
69 bind index,pager \CO sidebar-open