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