# $Id: mutt.color,v 1.2 2003/09/17 13:06:10 dope Exp dope $
#
# If your terminal supports color, you can spice up Mutt by creating your own
# color scheme. To define the color of an object (type of information), you
# must specify both a foreground color and a background color (it is not
# possible to only specify one or the other).
#
#
# object can be one of:
# * attachment
# * body (match regexp in the body of messages)
# * bold (hiliting bold patterns in the body of messages)
# * error (error messages printed by Mutt)
# * header (match regexp in the message header)
# * hdrdefault (default color of the message header in the pager)
# * index (match pattern in the message index)
# * indicator (arrow or bar used to indicate the current item in a menu)
# * markers (the '+' markers at the beginning of wrapped lines in the pager)
# * message (informational messages)
# * normal (normal (not quoted) text
# * quoted (text matching $quote_regexp in the body of a message)
# * quoted1, quotedN (higher levels of quoting)
# * search (hiliting of words in the pager)
# * signature
# * status (mode lines used to display info about the mailbox or message)
# * tilde (the '~' used to pad blank lines in the pager)
# * tree (thread tree drawn in the message index and attachment menu)
# * underline (hiliting underlined patterns in the body of messages)
#
#
# foreground and background can be one of the following:
# * white
# * black
# * green
# * magenta
# * blue
# * cyan
# * yellow
# * red
# * default
# foreground can optionally be prefixed with the keyword bright to make the
# foreground color boldfaced (e.g., brightred) or colorX{,X,XX}
#
# $ for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i}\n" ; done | column
#
# NOTE: ** The last matching rule wins! **
#
# arrow or bar used to indicate the current item in a menu
color indicator white red
# mode lines used to display info about the mailbox or message
color status brightwhite blue
# thread tree drawn in the message index and attachment menu
color tree red default
# the ``~'' used to pad blank lines in the pager
color tilde brightblue default
# /* no comment */
color attachment white default
# hiliting bold patterns in the body of messages
color bold white default
# error messages printed by Mutt
color error brightred black
# the ``+'' markers at the beginning of wrapped lines in the pager
color markers white red
# informational messages
color message brightyellow black
# hiliting of words in the pager
color search white brightblue
# Mutt sucks .. anyway .. ;)
# "General" index-colors
color header color208 default . # all (x-)header
color index blue black ~Q # those I have already replied to.
color index blue default ~D # deleted
color index blue default ~O # old
color index brightblue default ~P # mail from myself
color index brightblue yellow ~T # tagged
color index magenta default ~F # flagged
color index yellow blue ~v # collapsed thread
color index magenta black ~k # GPG
color index red default ~N # new
# spam diagnostics: alerts in red...
color header red default "^X-Spam.*"
color header red default "^X-SB.*"
color header red default "^X-Razor.*"
color header red default "^X-Pyzor.*"
color header red default "^X-DCC-.*:.*Fuz1=many Fuz2=many"
color header red default "^X-MailScanner-Spamcheck:.spam"
#color header black red "^'X-Spam-Flag: YES' ! '^X-Spam-Status: .*RAZOR2_CHECK'"
# ...harmless headers in normal green again
color header green default "^X-Spam-Status: No"
color header green default "^X-Spam-Checker-Version:"
color header green default "^X-Spam-Level: [^*]"
color header green default "^X-SpamBouncer:"
color header green default "^X-SBClass: OK"
color header green default "^X-SBPass:"
color header green default "^X-SBNote:"
color header green default "^X-Pyzor: Reported 0 times."
# Quoted test
color quoted magenta default
color quoted1 yellow default
color quoted2 red default
color quoted3 brightred default
color quoted4 yellow default
color quoted5 cyan default
color quoted6 green default
color quoted7 brightcyan default
color quoted8 brightgreen default
color signature color79 default
color underline blue default
mono normal none
mono attachment bold
mono bold bold
mono error standout
mono indicator reverse
mono markers bold
mono message bold
mono status underline
mono tree none
# My name. I'm important ;)
color body red default "[Cc]hristian [Ss]chneider"
# (ftp|web) address without "http"
color body blue white "(ftp|www)\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
#
color body brightcyan default ""
# Mailto links with a optional subject line i. e.
# 'mailto:strcat@gmx.net?subject=i+love+you
color body brightred black "mailto: *[^ ]+\(\\?subject=[^ ]+\)?"
# File names i. e. '/path/file'
color body color76 black "\\~?\(/[-_.,a-zA-Z0-9{}äöüß]+\)+"
# Path names i. e. '/path/'
color body brightred black "\(/[-_.a-zA-Z0-9]+\)+/"
# URLs
color body blue white "(gopher|finger|ftp|http|telnet)://[^ >]*"
color body blue default "news:[^ \">\t\r\n]*"
# HTTP addresses
color body yellow blue "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
# HTTPS addresses
color body color222 default "https://[^ >]*"
# Variables i. e. '$LOGNAME' or '$0'
color body green black "\\$[a-zA-Z][-_a-zA-Z]+"
color body green black "\\$[0-9]+[.,0-9]*"
# Attribution line (i. e. '* Username wrote:')
color body red black "^[*] .*:$"
# SCREAMING IN CAPS
color body brightyellow black "\\<[-A-ZÖÜßÄ']{4,}\\>"
# Smilies ;)
# Above is split into 5 parts:
# [ \t] -> Must start with a space or tab. (some pastings of command
# line promts have ":/" in them.
# >? -> An optional ">" - A frown.
# [;:] -> The eyes
# [-=]? -> optional nose.
# [PpD)/(|}{><] -> different mouths.
# color body brightyellow black "[ \t]>?[;:][-=]?[PpD)/(|}{><]"
#
# Note the intentional [], which isn't a [] at all. To put a ']' in a
# character list, the ']' must be the first character listed. To match a '-',
# put it first or last.
# color body brightyellow black "(^|[ \t])>?[;:8=][-^]?[][PpD)/(|}{><]"
# color body black yellow "[;:]-[)/(|]"
color body brightyellow black "(^|[[:space:]]+)[;:=]-*[)/(<]?[;:][-=o^]?[][)(*><|DPpd\\/][)(]?)"
# color body brightyellow black "([{}]?[8][-=o^][)(><|DPpd\\/][)(]?)"
# color body brightyellow black "([)(]?[><|\\/(][-=o^]?[8;:][{}]?)"
# more interesting words
color body brightmagenta black "Artistic License"
color body brightmagenta black "BSD License"
color body brightmagenta black "GNU (Lesser )?General Public License"
color body brightmagenta black "L?GPL"
color body brightmagenta black "MIT/X Consortium License"
color body brightmagenta black "OSI Approved"
color body brightmagenta black "Public Domain"
color body red black "Free Software"
color body red black "Open Source"
color body red black "[sS]lashdot"
color body red black "[nN]ews[fF]orge"
color body red black "[sS]ource[fF]orge"
# Border lines.
color body cyan black "( *[-+=#*~_]){6,}"
# *Emphasized*, /emphasized/, -strike-throut- and _emphasized_ words
# TODO: Fix the regex for '-strike-through-'.
color body yellow blue "[*][-[:alnum:]]+[*]" # *bold*
color body yellow blue "[*][-[:alnum:]]+ *[-[:alnum:]]+[*]" # *really bold*
color body yellow blue "/[-[:alnum:]]+/" # /emphasized/
# color body yellow blue "[-]+[-[[:alnum:]]+[-]{1}" # -strike-through-
color body yellow blue "_[-[:alnum:]]+_" # _underline_
# '*g*' is /Default/ but Doomy writes '' .. never mind .. i'm flexible .. aehm.. *g*
color body brightblue white "<[Gg]>"
color body brightblue white "<[Bb][Gg]>"
color body brightblue white "<[fF][Gg]>"
color body brightblue white "<[eE][Gg]>"
# '$ dict B1FF' all right???!!!11!
color body red white "[!?]{3,}"
# some acronyms
color body black brightyellow "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
# Make MONEY!!!11!
# *lol* murphys on tour and his law is right waiting for you.
# Original attribution-line from a mail:
# > "On Sat, Sep 06, 2003 at 11:08:22PM +0200, Mark wrote:"
# and now take a quick look at this ==> ^^^^^^^^^
# You see? ;) shit happens and that doesn't interest me.
color body black yellow "[0-9]+[,.][0-9]* *pf/min"
color body black yellow "(dm|euro?|\$\$\$) *[1-9][0-9]*([.,][0-9]*-?-?)?"
color body black yellow "[1-9][0-9.,]*(--?|[0-9][0-9])? *(dm|euro?|mark|\$\$\$)"
color body black yellow "[1-9][0-9]? *(cents?|pfennig)"
# Highlight a hint to manpage a lá 'command(1)' (i. e. "ls(1)") .. capable of
# being extended.
# Note: Use the second regex to resolve 'login.conf(5)', 'mount_null(8)',
# 'pkg-config(1)' and 'pop(3)d'.
color body black red "[[:alpha:]]+[-_.]?[[:alpha:]]+\\([0-9]\\)?"
# copyright, registered, trademark: (c), (r), [tm]
color body brightyellow black "([(](c|r)[)]|\\[tm\\])"
# ".."
color body brightred black "^ *[-*] +"
# local network's
color body brightblack blue "192.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}"
# highlight the most used OS' in different colors
color body blue yellow "(freebsd|netbsd|openbsd|solaris|gentoo)"
color body blue default "[Ww]in(do(ze|dows|of)|zigweich)"
color body white red "(linux *)?(debian|mandrake|slackware|redhat|suse) *(linux)? *[0-9][.][0-9]"
color body blue default "[Ww]indows[- ]?(3[.]11|95|98|9x|[Nn][Tt]|2k|2000|[Mm][Ee]|[Xx][Pp])"
# Color the attribution-line in order of the quoted lines.
color body brightblue default "^[^>].*(wrote|writes|said|says|schrieb|schreibt|schrub|\
schreibselte|tippte|meinte|teilte folgendes mit|escreveu|escribió|scripsit|[0-9]+\\]|\\.[a-z]{2,4}>).*:"
color body brightred default "^>[^>].*(wrote|writes|said|says|schrieb|schreibt|schrub|\
schreibselte|tippte|meinte|teilte folgendes mit|escreveu|escribió|scripsit|[0-9]+\\]|\\.[a-z]{2,4}>).*:"
color body brightmagenta default "^>[ ]?>[^>].*(wrote|writes|said|says|schrieb|schreibt|schrub|\
schreibselte|tippte|meinte|teilte folgendes mit|escreveu|escribió|scripsit|[0-9]+\\]|\\.[a-z]{2,4}>).*:"
# GPG / PGP / t-prot ()
color body green black "^#v[+-]"
color body brightmagenta black "^\\[---.*"
color body color241 default "^gpg:.*"
color body brightred default "^(gpg: )?Bad signature.*"
color body red default "^(gpg: )?warning:.*"
color body red default "^(gpg: ).*failed:.*"
color body color241 default "^Primary key fingerprint:.*"
color body brightblack yellow "-----END PGP PUBLIC KEY BLOCK-----"
color body brightblack yellow "-----BEGIN PGP PUBLIC KEY BLOCK-----"
color body black yellow "Version: GnuPG v1.[01].[67].*"
# [ first | second | third ]
color body brightyellow brightred <'\[ [-a-z ]+ (\| [-a-z ]+)+ \]'
# Colors for my { daily,weekly,monthly,yearly}-filebackup
# | 'etc-files-2003-09-15.gz'
color body red black "(etc-files-|home-files-|errors-|logfile-)+[0-9,-.gz]*"
color body black red "Backup - Report for painless"
# Highlight the relevant elements in the diff
color body green default "^diff \-.*"
color body green default "^index [a-f0-9].*"
color body green default "^\-\-\- .*"
color body green default "^[\+]{3} .*"
color body cyan default "^[\+][^\+]+.*"
color body blue default "^\-[^\-]+.*"
color body brightblue default "^@@ .*"
# First/Laste line of VBlockquote.vim
# ,----[ l33t.. isnt it?! ]
# | Insert (Quote) stuff the way some emacs people do.
# `----
color body red default ",----"
color body red default "\`----"