]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - mutt/display
Initial commit.
[config/dotfiles.git] / mutt / display
1 # muttrc file for the mail display
2
3 # Copyright (C) 2007-2012  Simon Ruderich
4 #
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 # automatically display html mails as plain text:
20 auto_view text/html
21 # but ensure plain mail is used if it exists:
22 alternative_order text/plain
23
24 # assume iso-8859-1 for unspecified charsets in emails as it's the most used,
25 # not a perfect solution, but it works most of the time well:
26 set assumed_charset=iso-8859-1
27
28
29 # sort threads with new messages in old threads like new threads:
30 set sort_aux=last-date-received
31
32 # mark missing messages in threads with a '?' in the thread display:
33 set hide_missing=no
34 set hide_top_missing=no
35
36
37 # use a wider index format (35 instead of 15 characters):
38 # also display the number of attachments:
39 set index_format="%4C %Z %{%b %d} %-35.35L (%?l?%4l&%4c?)%?X?(%X)&   ? %s"
40
41 # display a small email index while reading email contents:
42 set pager_index_lines=5
43
44 # when scrolling mails repeat the three last lines on the next screen:
45 set pager_context=3
46
47
48 # only update the read/write counter every 2000 mails, this increases speed:
49 set read_inc=2000
50 set write_inc=2000
51
52
53 # wrap email content to 78 characters, this increases readability (for me):
54 set wrap=78
55 # don't display any '+' markers when a line is wrapped:
56 set markers=no
57 # display ~s at the end of each message so it's clear where the message ends:
58 set tilde
59
60 # order the headers in mail display by this order:
61 hdr_order Date: From: To: Cc: Bcc: Subject:
62
63
64 # ignore settings
65 #
66 # I ignore only certain headers so I can see custom headers; the first ignore
67 # rule in each section ignores standard, the second non standard headers
68 #
69 # thanks to [1] for a very helpful list of mail headers
70 # [1]: http://people.dsv.su.se/~jpalme/ietf/mail-headers/mail-headers.html
71
72 # reset all ignores so I can see all headers I don't ignore in the following
73 # rules:
74 unignore *
75
76 # ignore mbox from header:
77 ignore "from "
78
79 # ignore trace information headers:
80 ignore received return-path
81
82 # ignore format and control information headers:
83 ignore content-disposition mime-version
84
85 # ignore sender and recipient indication headers:
86 ignore sender
87 ignore apparently-to x-face x-sender envelope-to
88
89 # ignore response control headers:
90 ignore reply-to
91 ignore errors-to followup-to mail-followup-to
92
93 # ignore message identification headers:
94 ignore in-reply-to references
95 ignore delivered-to
96
97 # ignore headers containing dates and times:
98 ignore delivery-date
99
100 # ignore quality information headers:
101 ignore precedence
102
103 # ignore size information headers:
104 #ignore
105 ignore content-length lines
106
107 # ignore encoding information headers:
108 ignore content-transfer-encoding content-type encoding
109
110 # ignore mailing list control headers:
111 ignore list-archive list-help list-id list-post list-subscribe \
112        list-unsubscribe
113
114 # ignore miscellaneous headers (non standard):
115 ignore status x-status # mail status, used by mail clients
116
117
118 # color settings
119 #
120 # thanks to http://www.therandymon.com/woodnotes/mutt/node46.html for the
121 # settings to allow transparency (default)
122 #
123 # thanks to Debian Lenny mutt default files for the color settings
124
125 # normal text:
126 color normal     white        default
127 # mail headers:
128 color hdrdefault cyan         default
129 # attachments:
130 color attachment brightyellow default
131 # marker for the currently selected mail in the index:
132 color indicator  default      cyan
133 # signature (if correctly delimited with "-- "):
134 color signature  cyan         default
135 # status bar (at top and bottom):
136 color status     brightgreen  blue
137 # tildes at the bottom if there is no more content:
138 color tilde      blue         default
139 # thread tree markers:
140 color tree       red          default
141
142 # mark quotes:
143 color quoted  magenta default
144 color quoted1 cyan    default
145 # mark the writer of the quote the same color as the quote:
146 color body magenta default ".+ <.+> writes:"
147 color body magenta default "On .+ wrote:"
148 color body cyan    default "> .+ <.+> writes:"
149 color body cyan    default "> On .+ wrote:"
150
151 # mark subject:
152 color header brightgreen default ^Subject:
153
154 # mark important messages red:
155 color index white red "~F"
156
157 # mark valid gpg signatures:
158 color body green default "gpg: Good signature from .+"
159 # mark invalid gpg signatures:
160 color body red default "gpg: BAD signature from .+"
161 # mark encrypted mails:
162 color body green default "gpg: encrypted with .+"
163 # mark missing gpg public keys:
164 color body yellow default "gpg: Can't check signature: public key not found"
165
166 # vim: ft=muttrc