Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

155 строки
7.0 KiB

  1. # vim: filetype=neomuttrc
  2. # This file contains all of mutt-wizard's default settings.
  3. # mutt-wizard will have this file sourced from your muttrc.
  4. # In the interest of seamless updating, do not edit this file.
  5. # If you want to override any settings, set those in your muttrc.
  6. # mailcap_path
  7. # PREFIX will be substituted during install. However, if you prefer to
  8. # use this configuration file as a standalone, consider substituting it
  9. # (along with the %'s surrounding it) for the path to your mutt-wizard's
  10. # mailcap file
  11. #
  12. set mailcap_path = %PREFIX%/share/mutt-wizard/mailcap
  13. set certificate_file = ~/.cache/mutt-wizard/certificates
  14. set date_format="%y/%m/%d %I:%M%p"
  15. set index_format="%2C %zs %?X?A& ? %D %-15.15F %s (%-4.4c)"
  16. set sort = 'reverse-date'
  17. set smtp_authenticators = 'gssapi:login'
  18. set query_command = "abook --mutt-query '%s'"
  19. set rfc2047_parameters = yes
  20. set sleep_time = 0 # Pause 0 seconds for informational messages
  21. set markers = no # Disables the `+` displayed at line wraps
  22. set mark_old = no # Unread mail stay unread until read
  23. set mime_forward = yes # attachments are forwarded with mail
  24. set wait_key = no # mutt won't ask "press key to continue"
  25. set fast_reply # skip to compose when replying
  26. set fcc_attach # save attachments with the body
  27. set forward_format = "Fwd: %s" # format of subject when forwarding
  28. set forward_quote # include message in forwards
  29. set reverse_name # reply as whomever it was to
  30. set include # include message in replies
  31. auto_view text/html # automatically show html (mailcap uses w3m)
  32. auto_view application/pgp-encrypted
  33. alternative_order text/plain text/enriched text/html
  34. bind index,pager i noop
  35. bind index,pager g noop
  36. bind index \Cf noop
  37. # General rebindings
  38. bind attach <return> view-mailcap
  39. bind attach l view-mailcap
  40. bind editor <space> noop
  41. bind index G last-entry
  42. bind index gg first-entry
  43. bind pager,attach h exit
  44. bind pager j next-line
  45. bind pager k previous-line
  46. bind pager l view-attachments
  47. bind index D delete-message
  48. bind index U undelete-message
  49. bind index L limit
  50. bind index h noop
  51. bind index l display-message
  52. bind browser h goto-parent
  53. bind browser l select-entry
  54. bind pager,browser gg top-page
  55. bind pager,browser G bottom-page
  56. bind index,pager,browser d half-down
  57. bind index,pager,browser u half-up
  58. bind index,pager S sync-mailbox
  59. bind index,pager R group-reply
  60. bind index \031 previous-undeleted # Mouse wheel
  61. bind index \005 next-undeleted # Mouse wheel
  62. bind pager \031 previous-line # Mouse wheel
  63. bind pager \005 next-line # Mouse wheel
  64. bind editor <Tab> complete-query
  65. macro index,pager a "|abook --add-email\n" 'add sender to abook'
  66. macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
  67. macro index O "<shell-escape>mailsync -Va<enter>" "run offlineimap to sync all mail"
  68. macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"
  69. macro index A "<limit>all\n" "show all messages (undo limit)"
  70. # Sidebar mappings
  71. set sidebar_visible = yes
  72. set sidebar_width = 20
  73. set sidebar_short_path = yes
  74. set sidebar_next_new_wrap = yes
  75. set mail_check_stats
  76. set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
  77. bind index,pager \Ck sidebar-prev
  78. bind index,pager \Cj sidebar-next
  79. bind index,pager \Co sidebar-open
  80. bind index,pager \Cp sidebar-prev-new
  81. bind index,pager \Cn sidebar-next-new
  82. bind index,pager B sidebar-toggle-visible
  83. # Default index colors:
  84. color index yellow default '.*'
  85. color index_author red default '.*'
  86. color index_number blue default
  87. color index_subject cyan default '.*'
  88. # New mail is boldened:
  89. color index brightyellow black "~N"
  90. color index_author brightred black "~N"
  91. color index_subject brightcyan black "~N"
  92. # Other colors and aesthetic settings:
  93. mono bold bold
  94. mono underline underline
  95. mono indicator reverse
  96. mono error bold
  97. color normal default default
  98. color indicator brightblack white
  99. color sidebar_highlight red default
  100. color sidebar_divider brightblack black
  101. color sidebar_flagged red black
  102. color sidebar_new green black
  103. color normal brightyellow default
  104. color error red default
  105. color tilde black default
  106. color message cyan default
  107. color markers red white
  108. color attachment white default
  109. color search brightmagenta default
  110. color status brightyellow black
  111. color hdrdefault brightgreen default
  112. color quoted green default
  113. color quoted1 blue default
  114. color quoted2 cyan default
  115. color quoted3 yellow default
  116. color quoted4 red default
  117. color quoted5 brightred default
  118. color signature brightgreen default
  119. color bold black default
  120. color underline black default
  121. color normal default default
  122. # Regex highlighting:
  123. color header blue default ".*"
  124. color header brightmagenta default "^(From)"
  125. color header brightcyan default "^(Subject)"
  126. color header brightwhite default "^(CC|BCC)"
  127. color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
  128. color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
  129. color body green default "\`[^\`]*\`" # Green text between ` and `
  130. color body brightblue default "^# \.*" # Headings as bold blue
  131. color body brightcyan default "^## \.*" # Subheadings as bold cyan
  132. color body brightgreen default "^### \.*" # Subsubheadings as bold green
  133. color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
  134. color body brightcyan default "[;:][-o][)/(|]" # emoticons
  135. color body brightcyan default "[;:][)(|]" # emoticons
  136. color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
  137. color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
  138. color body red default "(BAD signature)"
  139. color body cyan default "(Good signature)"
  140. color body brightblack default "^gpg: Good signature .*"
  141. color body brightyellow default "^gpg: "
  142. color body brightyellow red "^gpg: BAD signature from.*"
  143. mono body bold "^gpg: Good signature"
  144. mono body bold "^gpg: BAD signature from.*"
  145. 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<>\"]"