X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=mail%2Fmutt%2Fdisplay.in;fp=mail%2Fmutt%2Fdisplay.in;h=22688b719d072a91558c9d820fc961157b4375e9;hp=0000000000000000000000000000000000000000;hb=214dc48c13fb068452efcb832809bddf6c5601a5;hpb=7944bc5ce0d42f27738cc087ece4edbba02d0747 diff --git a/mail/mutt/display.in b/mail/mutt/display.in new file mode 100644 index 0000000..22688b7 --- /dev/null +++ b/mail/mutt/display.in @@ -0,0 +1,172 @@ +# muttrc file for the mail display + +# Copyright (C) 2007-2013 Simon Ruderich +# +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file. If not, see . + + +# Don't display help bar at the top of the screen. +set help=no + +# don't display sidebar, enabled by setup.sh if the sidebar patch is used: +#set sidebar_visible=no + +# automatically display html mails as plain text: +auto_view text/html +# but ensure plain mail is used if it exists: +alternative_order text/plain + +# assume iso-8859-1 for unspecified charsets in emails as it's the most used, +# not a perfect solution, but it works most of the time well: +set assumed_charset=iso-8859-1 + + +# sort threads with new messages in old threads like new threads: +set sort_aux=last-date-received + +# mark missing messages in threads with a '?' in the thread display: +set hide_missing=no +set hide_top_missing=no + + +# use a wider index format (35 instead of 15 characters): +# also display the number of attachments: +set index_format="%4C %Z %{%b %d} %-35.35L (%?l?%4l&%4c?)%?X?(%X)& ? %s" + +# display a small email index while reading email contents: +set pager_index_lines=5 + +# when scrolling mails repeat the three last lines on the next screen: +set pager_context=3 + + +# only update the read/write counter every 2000 mails, this increases speed: +set read_inc=2000 +set write_inc=2000 + + +# wrap email content to 78 characters, this increases readability (for me): +set wrap=78 +# don't display any '+' markers when a line is wrapped: +set markers=no +# display ~s at the end of each message so it's clear where the message ends: +set tilde + +# order the headers in mail display by this order: +hdr_order Date: From: To: Cc: Bcc: Subject: + + +# ignore settings +# +# I ignore only certain headers so I can see custom headers; the first ignore +# rule in each section ignores standard, the second non standard headers +# +# thanks to [1] for a very helpful list of mail headers +# [1]: http://people.dsv.su.se/~jpalme/ietf/mail-headers/mail-headers.html + +# reset all ignores so I can see all headers I don't ignore in the following +# rules: +unignore * + +# ignore mbox from header: +ignore "from " + +# ignore trace information headers: +ignore received return-path + +# ignore format and control information headers: +ignore content-disposition mime-version + +# ignore sender and recipient indication headers: +ignore sender +ignore apparently-to x-face x-sender envelope-to + +# ignore response control headers: +ignore reply-to +ignore errors-to followup-to mail-followup-to + +# ignore message identification headers: +ignore in-reply-to references +ignore delivered-to + +# ignore headers containing dates and times: +ignore delivery-date + +# ignore quality information headers: +ignore precedence + +# ignore size information headers: +#ignore +ignore content-length lines + +# ignore encoding information headers: +ignore content-transfer-encoding content-type encoding + +# ignore mailing list control headers: +ignore list-archive list-help list-id list-post list-subscribe \ + list-unsubscribe + +# ignore miscellaneous headers (non standard): +ignore status x-status # mail status, used by mail clients + + +# color settings +# +# thanks to http://www.therandymon.com/woodnotes/mutt/node46.html for the +# settings to allow transparency (default) +# +# thanks to Debian Lenny mutt default files for the color settings + +# normal text: +color normal white default +# mail headers: +color hdrdefault cyan default +# attachments: +color attachment brightyellow default +# marker for the currently selected mail in the index: +color indicator default cyan +# signature (if correctly delimited with "-- "): +color signature cyan default +# status bar (at top and bottom): +color status brightgreen blue +# tildes at the bottom if there is no more content: +color tilde blue default +# thread tree markers: +color tree red default + +# mark quotes: +color quoted magenta default +color quoted1 cyan default +# mark the writer of the quote the same color as the quote: +color body magenta default ".+ <.+> writes:" +color body magenta default "On .+ wrote:" +color body cyan default "> .+ <.+> writes:" +color body cyan default "> On .+ wrote:" + +# mark subject: +color header brightgreen default ^Subject: + +# mark important messages red: +color index white red "~F" + +# mark valid gpg signatures: +color body green default "gpg: Good signature from .+" +# mark invalid gpg signatures: +color body red default "gpg: BAD signature from .+" +# mark encrypted mails: +color body green default "gpg: encrypted with .+" +# mark missing gpg public keys: +color body yellow default "gpg: Can't check signature: public key not found" + +# vim: ft=muttrc