-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.muttrc
139 lines (118 loc) · 4 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#--------------------------------------------------------------------------
# General
#--------------------------------------------------------------------------
# Local Folders
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
set header_cache = ~/.mutt/cache/headers
set tmpdir = ~/.mutt/tmp
# Keepalive and mail check settings
set imap_keepalive = 900
set mail_check = 120
# Calculate statistics, necessary for incoming message count in
# sidebar_format.
set mail_check_stats = yes
# Sidebar settings
set sidebar_visible = yes
set sidebar_format = "%B%* (%N)"
set sidebar_new_mail_only = no
set sidebar_folder_indent = yes
set sidebar_width = 25
# Message handling
# Stop asking to "move read messages to mbox"
set move = no
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
# Always include replies
set include = yes
# Aliases
set alias_file = ~/.mutt_aliases
set sort_alias = alias
set reverse_alias = yes
# SSL settings
set ssl_starttls = yes
set ssl_force_tls = yes
# Miscellaneous
# Don't add User-Agent in sent messages
set user_agent = no
#--------------------------------------------------------------------------
# Colors
#--------------------------------------------------------------------------
# Index colors
color index brightcyan black ~N
color index brightred black ~O
color index brightyellow black ~F
color index black green ~T
color index brightred black ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D
# Message Body highlights
color body brightgreen black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
# Email addresses
color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
# Header colors
color header green black "^from:|^to:|^cc:|^date:"
color header yellow black "^newsgroups:|^reply-to:"
color header brightcyan black "^subject:"
color header red black "^x-spam-rule:"
color header green black "^x-mailer:"
color header yellow black "^message-id:|^Organization:|^Organisation:|^User-Agent:|^message-id: .*pine|^X-Fnord:|^X-WebTV-Stationery:|^X-Message-Flag:|^X-Spam-Status:|^X-SpamProbe:"
color header red black "^X-SpamProbe: SPAM"
# Quoted text colors
color quoted cyan black
color quoted1 yellow black
color quoted2 red black
color quoted3 green black
color quoted4 cyan black
color quoted5 yellow black
color quoted6 red black
color quoted7 green black
# Default colors
color hdrdefault white green
color signature brightmagenta black
color indicator black cyan
color attachment black green
color error red black
color message white black
color search brightwhite magenta
color status brightyellow blue
color tree brightblue black
color normal white black
color tilde green black
color bold brightyellow black
color underline magenta black
color markers brightcyan black
# Mono screen colors
mono bold bold
mono underline underline
mono indicator reverse
#--------------------------------------------------------------------------
# Key bindings
#--------------------------------------------------------------------------
# Create an alias when selecting an email
macro index,pager a "<create-alias>"
# Thread collapsing
bind index - collapse-thread
bind index _ collapse-all
# Sidebar control
bind index gn sidebar-next
bind index gm sidebar-prev
bind index go sidebar-open
#--------------------------------------------------------------------------
# Hooks
#--------------------------------------------------------------------------
# Collapse all threads before entering in a folder
folder-hook . "exec collapse-all"
#--------------------------------------------------------------------------
# Inclusions
#--------------------------------------------------------------------------
source $alias_file
# Private parameters
# These are included at the end to enforce existing values if wanted
# by user and ignored in source tree.
source ~/.mutt_extra