You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

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