tomorrow-night.muttrc 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. # vim: filetype=muttrc
  2. # basic colors ---------------------------------------------------------
  3. color normal color254 color0
  4. color error color0 color9
  5. color tilde color235 color0
  6. color message color37 color0
  7. color markers color160 color254
  8. color attachment color254 color0
  9. color search color61 color0
  10. #color status J_black J_status
  11. color status color254 color235
  12. color indicator color0 color136
  13. color tree color136 color0 # arrow in threads
  14. # basic monocolor screen
  15. mono bold bold
  16. mono underline underline
  17. mono indicator reverse
  18. mono error bold
  19. # index ----------------------------------------------------------------
  20. #color index color160 color0 "~D(!~p|~p)" # deleted
  21. #color index color235 color0 ~F # flagged
  22. #color index color166 color0 ~= # duplicate messages
  23. #color index color240 color0 "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
  24. #color index J_base color0 "~A~N!~T!~p!~Q!~F!~D" # the rest, new
  25. color index color160 color0 "~A" # all messages
  26. color index color166 color0 "~E" # expired messages
  27. color index color33 color0 "~N" # new messages
  28. color index color33 color0 "~O" # old messages
  29. color index color61 color0 "~Q" # messages that have been replied to
  30. color index color240 color0 "~R" # read messages
  31. color index color33 color0 "~U" # unread messages
  32. color index color33 color0 "~U~$" # unread, unreferenced messages
  33. color index color254 color0 "~v" # messages part of a collapsed thread
  34. color index color254 color0 "~P" # messages from me
  35. color index color37 color0 "~p!~F" # messages to me
  36. color index color37 color0 "~N~p!~F" # new messages to me
  37. color index color37 color0 "~U~p!~F" # unread messages to me
  38. color index color240 color0 "~R~p!~F" # messages to me
  39. color index color160 color0 "~F" # flagged messages
  40. color index color160 color0 "~F~p" # flagged messages to me
  41. color index color160 color0 "~N~F" # new flagged messages
  42. color index color160 color0 "~N~F~p" # new flagged messages to me
  43. color index color160 color0 "~U~F~p" # new flagged messages to me
  44. color index color235 color160 "~D" # deleted messages
  45. color index color245 color0 "~v~(!~N)" # collapsed thread with no unread
  46. color index color136 color0 "~v~(~N)" # collapsed thread with some unread
  47. color index color64 color0 "~N~v~(~N)" # collapsed thread with unread parent
  48. # statusbg used to indicated flagged when foreground color shows other status
  49. # for collapsed thread
  50. color index color160 color235 "~v~(~F)!~N" # collapsed thread with flagged, no unread
  51. color index color136 color235 "~v~(~F~N)" # collapsed thread with some unread & flagged
  52. color index color64 color235 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
  53. color index color64 color235 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
  54. color index color37 color235 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
  55. color index color136 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
  56. #color index color136 color0 "~(~N)" # messages in threads with some unread
  57. #color index color64 color0 "~S" # superseded messages
  58. #color index color160 color0 "~T" # tagged messages
  59. #color index color166 color160 "~=" # duplicated messages
  60. # message headers ------------------------------------------------------
  61. #color header color240 color0 "^"
  62. color hdrdefault color240 color0
  63. color header color254 color0 "^(From)"
  64. color header color33 color0 "^(Subject)"
  65. # body -----------------------------------------------------------------
  66. color quoted color33 color0
  67. color quoted1 color37 color0
  68. color quoted2 color136 color0
  69. color quoted3 color160 color0
  70. color quoted4 color166 color0
  71. color signature color240 color0
  72. color bold color235 color0
  73. color underline color235 color0
  74. color normal color244 color0
  75. #
  76. color body color245 color0 "[;:][-o][)/(|]" # emoticons
  77. color body color245 color0 "[;:][)(|]" # emoticons
  78. color body color245 color0 "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
  79. |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
  80. |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
  81. color body color245 color0 "[ ][*][^*]*[*][ ]?" # more emoticon?
  82. color body color245 color0 "[ ]?[*][^*]*[*][ ]" # more emoticon?
  83. ## pgp
  84. color body color160 color0 "(BAD signature)"
  85. color body color37 color0 "(Good signature)"
  86. color body color0 color0 "^gpg: Good signature .*"
  87. color body color254 color0 "^gpg: "
  88. color body color254 color160 "^gpg: BAD signature from.*"
  89. mono body bold "^gpg: Good signature"
  90. mono body bold "^gpg: BAD signature from.*"
  91. # yes, an insance URL regex
  92. color body color160 color0 "([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<>\"]"
  93. # and a heavy handed email regex
  94. #color body J_magent color0 "((@(([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]\\])"
  95. # Various smilies and the like
  96. #color body color230 color0 "<[Gg]>" # <g>
  97. #color body color230 color0 "<[Bb][Gg]>" # <bg>
  98. #color body color136 color0 " [;:]-*[})>{(<|]" # :-) etc...
  99. # *bold*
  100. #color body color33 color0 "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
  101. #mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
  102. # _underline_
  103. #color body color33 color0 "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
  104. #mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
  105. # /italic/ (Sometimes gets directory names)
  106. #color body color33 color0 "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
  107. #mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
  108. # Border lines.
  109. #color body color33 color0 "( *[-+=#*~_]){6,}"
  110. #folder-hook . "color status J_black J_status "
  111. #folder-hook gmail/inbox "color status J_black color136 "
  112. #folder-hook gmail/important "color status J_black color136 "