-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmuttrc
119 lines (96 loc) · 3.01 KB
/
muttrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# .muttrc
# Eryn Wells <eryn@erynwells.me>
# whoami
set realname="Eryn Wells"
# Clear out whatever crap the system sets.
unmailboxes *
unlists *
unsubscribe *
# Source my local mail settings
source ~/.dotfiles/private/mail/erynwells.me.rc
# IMAP settings
set imap_check_subscribed
set mail_check=120
set timeout=300
set imap_keepalive=300
# Caching
set header_cache="~/.mutt/cache/headers"
set message_cachedir="~/.mutt/cache/bodies"
set certificate_file="~/.mutt/certificates"
set use_from=yes
set envelope_from=yes
# Interface
set quit=ask-yes
set move=no
set mark_old=no
set charset=UTF8
set sort=threads
set sort_aux=last-date-received
set sort_browser=alpha
set tilde
set markers=no
set wrap=80
set smart_wrap
set reflow_wrap
# Sounds
set beep_new
unset beep
ignore *
unignore Date: From: To: Cc: Subject:
hdr_order Date: From: To: Cc: Subject:
# Aliases
set reverse_alias=yes
set alias_file="~/.mutt/aliases"
# Composing and Sending
set edit_headers=yes
set include=yes
# HTML email :(
set mailcap_path="~/.mutt/mailcap"
auto_view text/html
alternative_order text/html text/plain text/enriched
unmailboxes "$record" "$postponed" "$trash"
# Basically the default, but give a little more space to addresses since we are no longer in the 80s.
set index_format="%4C %Z %{%b %d} %-20.20L (%?l?%4l&%4c?) %s"
# Vim style first and last
bind index gg first-entry
bind index G last-entry
bind index R group-reply
bind index <tab> sync-mailbox
bind index <space> collapse-thread
# First syncs everything, second syncs only INBOX.
macro index O "<shell-escape>offlineimap<enter>"
macro index o "<shell-escape>offlineimap -qf INBOX<enter>"
macro pager \Cu "|urlview<enter>" "call urlview to open links"
# Some resources for colors:
# http://www.strcat.de/dotfiles/mutt.color
# https://github.com/altercation/mutt-colors-solarized/blob/master/mutt-colors-solarized-dark-256.muttrc
# https://www.sendmail.org/~ca/email/mutt/manual-4.html
# A sensible default
color index default default ~A
# Unread email
color index color33 default ~U
# Email to me. Not flagged or tagged. (Those have their own colors.)
color index color64 default "~p!~T!~F"
# Collapsed thread
color index color61 default ~v
# Deleted email
color index color236 default ~D
color index color236 default "~D!~F"
# Flagged email
color index brightred default ~F
# Tagged email
color index yellow default ~T
# Arrows under threaded messages in the index
color tree red default
# Tildes are visible but dark
color tilde black default
color header color136 default "^Date:"
color header color33 default "^From:"
color header color37 default "^(To|Cc):"
color header color254 default "^Subject:"
# Quoted email levels. Possible quotedN's go from 0-9.
color quoted color61 default
color quoted1 color37 default
color quoted2 color64 default
# Solarized (light theme) colors
#source ~/.mutt/mutt-colors-solarized/mutt-colors-solarized-dark-256.muttrc