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

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