Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

152 рядки
11 KiB

  1. # vim: filetype=muttrc
  2. #
  3. #
  4. # make sure that you are using mutt linked against slang, not ncurses, or
  5. # suffer the consequences of weird color issues. use "mutt -v" to check this.
  6. # custom body highlights -----------------------------------------------
  7. # highlight my name and other personally relevant strings
  8. #color body yellow default "(ethan|schoonover)"
  9. # custom index highlights ----------------------------------------------
  10. # messages which mention my name in the body
  11. #color index yellow default "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
  12. #color index J_cream brightwhite "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
  13. #color index yellow cyan "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
  14. #color index yellow J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
  15. ## messages which are in reference to my mails
  16. #color index J_magent default "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
  17. #color index J_magent brightwhite "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
  18. #color index J_magent cyan "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
  19. #color index J_magent red "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
  20. # for background in 16 color terminal, valid background colors include:
  21. # base03, bg, black, any of the non brights
  22. # basic colors ---------------------------------------------------------
  23. color normal brightyellow default
  24. color error red default
  25. color tilde black default
  26. color message cyan default
  27. color markers red white
  28. color attachment white default
  29. color search brightmagenta default
  30. #color status J_black J_status
  31. color status brightyellow black
  32. color indicator brightblack yellow
  33. color tree yellow default # arrow in threads
  34. # basic monocolor screen
  35. mono bold bold
  36. mono underline underline
  37. mono indicator reverse
  38. mono error bold
  39. # index ----------------------------------------------------------------
  40. #color index red default "~D(!~p|~p)" # deleted
  41. #color index black default ~F # flagged
  42. #color index brightred default ~= # duplicate messages
  43. #color index brightgreen default "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
  44. #color index J_base default "~A~N!~T!~p!~Q!~F!~D" # the rest, new
  45. color index red default "~A" # all messages
  46. color index brightred default "~E" # expired messages
  47. color index blue default "~N" # new messages
  48. color index blue default "~O" # old messages
  49. color index brightmagenta default "~Q" # messages that have been replied to
  50. color index brightgreen default "~R" # read messages
  51. color index blue default "~U" # unread messages
  52. color index blue default "~U~$" # unread, unreferenced messages
  53. color index brightyellow default "~v" # messages part of a collapsed thread
  54. color index brightyellow default "~P" # messages from me
  55. color index cyan default "~p!~F" # messages to me
  56. color index cyan default "~N~p!~F" # new messages to me
  57. color index cyan default "~U~p!~F" # unread messages to me
  58. color index brightgreen default "~R~p!~F" # messages to me
  59. color index red default "~F" # flagged messages
  60. color index red default "~F~p" # flagged messages to me
  61. color index red default "~N~F" # new flagged messages
  62. color index red default "~N~F~p" # new flagged messages to me
  63. color index red default "~U~F~p" # new flagged messages to me
  64. color index black red "~D" # deleted messages
  65. color index brightcyan default "~v~(!~N)" # collapsed thread with no unread
  66. color index yellow default "~v~(~N)" # collapsed thread with some unread
  67. color index green default "~N~v~(~N)" # collapsed thread with unread parent
  68. # statusbg used to indicated flagged when foreground color shows other status
  69. # for collapsed thread
  70. color index red black "~v~(~F)!~N" # collapsed thread with flagged, no unread
  71. color index yellow black "~v~(~F~N)" # collapsed thread with some unread & flagged
  72. color index green black "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
  73. color index green black "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
  74. color index cyan black "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
  75. color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
  76. #color index yellow default "~(~N)" # messages in threads with some unread
  77. #color index green default "~S" # superseded messages
  78. #color index red default "~T" # tagged messages
  79. #color index brightred red "~=" # duplicated messages
  80. # message headers ------------------------------------------------------
  81. #color header brightgreen default "^"
  82. color hdrdefault brightgreen default
  83. color header brightyellow default "^(From)"
  84. color header blue default "^(Subject)"
  85. # body -----------------------------------------------------------------
  86. color quoted blue default
  87. color quoted1 cyan default
  88. color quoted2 yellow default
  89. color quoted3 red default
  90. color quoted4 brightred default
  91. color signature brightgreen default
  92. color bold black default
  93. color underline black default
  94. color normal default default
  95. #
  96. color body brightcyan default "[;:][-o][)/(|]" # emoticons
  97. color body brightcyan default "[;:][)(|]" # emoticons
  98. color body brightcyan default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
  99. |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
  100. |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
  101. color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
  102. color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
  103. ## pgp
  104. color body red default "(BAD signature)"
  105. color body cyan default "(Good signature)"
  106. color body brightblack default "^gpg: Good signature .*"
  107. color body brightyellow default "^gpg: "
  108. color body brightyellow red "^gpg: BAD signature from.*"
  109. mono body bold "^gpg: Good signature"
  110. mono body bold "^gpg: BAD signature from.*"
  111. # yes, an insance URL regex
  112. color body red default "([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<>\"]"
  113. # and a heavy handed email regex
  114. #color body J_magent default "((@(([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]\\])"
  115. # Various smilies and the like
  116. #color body brightwhite default "<[Gg]>" # <g>
  117. #color body brightwhite default "<[Bb][Gg]>" # <bg>
  118. #color body yellow default " [;:]-*[})>{(<|]" # :-) etc...
  119. # *bold*
  120. #color body blue default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
  121. #mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
  122. # _underline_
  123. #color body blue default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
  124. #mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
  125. # /italic/ (Sometimes gets directory names)
  126. #color body blue default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
  127. #mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
  128. # Border lines.
  129. #color body blue default "( *[-+=#*~_]){6,}"
  130. #folder-hook . "color status J_black J_status "
  131. #folder-hook gmail/inbox "color status J_black yellow "
  132. #folder-hook gmail/important "color status J_black yellow "