# vi: ft=muttrc # base16-mutt: base16-shell support for mutt ## Base color normal color20 default # softer, bold ## Weak color tilde color08 default # `~` padding at the end of pager color attachment color08 default color tree color01 default # arrow in threads color signature color08 default color markers color08 default # `+` wrap indicator in pager color underline color21 default color error color01 default color message color04 default # informational messages color search color08 color03 color status color20 color18 color indicator color21 color19 # inverse, brighter color status color00 color06 ' Pos: ([[:alnum:]]|%)+ ' color status color20 color19 ' Sort: ([[:alpha:]]|-)+ ' # Message Index ---------------------------------------------------------------- ## Index parts color index_number color20 default color index_author color20 default color index_date color20 default color index_flags color20 default color index_tag color20 default color index_tags color20 default color index_author italic color06 default "~g !~V" color index_author color04 default "~g ~V" color index_subject color04 default "~G" color index_date color08 default color index_number color08 default color index_subject bold color07 default "(~U|~N|~O)" color index_author italic color00 color06 "~T" color index_subject italic color00 color06 "~T" color index_date italic color00 color06 "~T" color index_tags italic color00 color06 "~T" color index_tag italic color00 color06 "~T" color index_subject italic bold color00 default "~T (~U|~N|~O)" ## Weak color index color01 default "~v~(~F)" # collapsed thread with flagged inside # Selection color index italic color00 color06 "~T" # tagged messages color index color01 color18 "~D" # deleted messages ### Message Headers ---------------------------------------------------- # Base set header_color_partial hdr_order From Date: From: To: Cc: Subject: color header color04 default '^[^[:blank:]:]*:' color hdrdefault color20 default color header color17 default "^[Date:] (.*)" color header color04 default "^From:" color header color05 default "^Tags:" color header color16 default "^(To|Cc|CC|BCC):" color header brightcolor07 default "^Subject: (.*)" color header color06 color00 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])" ### Message Body ------------------------------------------------------- # When possible, these regular expressions attempt to match http://spec.commonmark.org/ ## Weak # ~~~ Horizontal rules ~~~ color body color08 color00 "([[:space:]]*[-+=#*~_]){3,}[[:space:]]*" ## Strong # *Bold* span color body brightcolor03 color00 "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)" # _Underline_ span color body color05 color00 "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)" # /Italic/ span (Sometimes gets directory names) color body color05 color00 "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)" # ATX headers color body color04 color00 "^[[:space:]]{0,3}#+[[:space:]].*$" ## Highlight # `Code` span color body color02 color00 "(^|[[:space:][:punct:]])\`[^\`]+\`([[:space:][:punct:]]|$)" # Indented code block color body color02 color00 "^[[:space:]]{4,}.*$" # URLs color body italic color04 color00 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]" # Email addresses color body color06 color00 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])" # Emoticons ;-P color body black yellow "[;:][-o]?[})>{(<|P]" # PGP color body color02 default "(Good signature)" color body color01 default "(Bad signature)" color body color16 default "(Problem signature)" color body color04 color00 "^gpg: " ## Quotation blocks color quoted color06 color00 color quoted1 color02 color00 color quoted2 color03 color00 color quoted3 color16 color00 color quoted4 color01 color00 color quoted5 color17 color00 color quoted6 color05 color00 color quoted7 color04 color00