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