Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

mutt-wizard.muttrc 7.3 KiB

vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 6 Jahren
vor 6 Jahren
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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/local/share/mutt-wizard/mailcap
  7. set date_format="%y/%m/%d %I:%M%p"
  8. set index_format="%2C %Z %?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. set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example)
  25. auto_view text/html # automatically show html (mailcap uses w3m)
  26. auto_view application/pgp-encrypted
  27. alternative_order text/plain text/enriched text/html
  28. bind index,pager i noop
  29. bind index,pager g noop
  30. bind index \Cf noop
  31. # General rebindings
  32. bind index j next-entry
  33. bind index k previous-entry
  34. bind attach <return> view-mailcap
  35. bind attach l view-mailcap
  36. bind editor <space> noop
  37. bind index G last-entry
  38. bind index gg first-entry
  39. bind pager,attach h exit
  40. bind pager j next-line
  41. bind pager k previous-line
  42. bind pager l view-attachments
  43. bind index D delete-message
  44. bind index U undelete-message
  45. bind index L limit
  46. bind index h noop
  47. bind index l display-message
  48. bind index,query <space> tag-entry
  49. #bind browser h goto-parent
  50. macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
  51. bind index,pager H view-raw-message
  52. bind browser l select-entry
  53. bind pager,browser gg top-page
  54. bind pager,browser G bottom-page
  55. bind index,pager,browser d half-down
  56. bind index,pager,browser u half-up
  57. bind index,pager S sync-mailbox
  58. bind index,pager R group-reply
  59. bind index \031 previous-undeleted # Mouse wheel
  60. bind index \005 next-undeleted # Mouse wheel
  61. bind pager \031 previous-line # Mouse wheel
  62. bind pager \005 next-line # Mouse wheel
  63. bind editor <Tab> complete-query
  64. macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"
  65. macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
  66. macro index O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail"
  67. 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"
  68. macro index A "<limit>all\n" "show all messages (undo limit)"
  69. # Sidebar mappings
  70. set sidebar_visible = yes
  71. set sidebar_width = 20
  72. set sidebar_short_path = yes
  73. set sidebar_next_new_wrap = yes
  74. set mail_check_stats
  75. set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
  76. bind index,pager \Ck sidebar-prev
  77. bind index,pager \Cj sidebar-next
  78. bind index,pager \Co sidebar-open
  79. bind index,pager \Cp sidebar-prev-new
  80. bind index,pager \Cn sidebar-next-new
  81. bind index,pager B sidebar-toggle-visible
  82. # Default index colors:
  83. color index yellow default '.*'
  84. color index_author red default '.*'
  85. color index_number blue default
  86. color index_subject cyan default '.*'
  87. # New mail is boldened:
  88. color index brightyellow black "~N"
  89. color index_author brightred black "~N"
  90. color index_subject brightcyan black "~N"
  91. # Tagged mail is highlighted:
  92. color index brightyellow blue "~T"
  93. color index_author brightred blue "~T"
  94. color index_subject brightcyan blue "~T"
  95. # Other colors and aesthetic settings:
  96. mono bold bold
  97. mono underline underline
  98. mono indicator reverse
  99. mono error bold
  100. color normal default default
  101. color indicator brightblack white
  102. color sidebar_highlight red default
  103. color sidebar_divider brightblack black
  104. color sidebar_flagged red black
  105. color sidebar_new green black
  106. color normal brightyellow default
  107. color error red default
  108. color tilde black default
  109. color message cyan default
  110. color markers red white
  111. color attachment white default
  112. color search brightmagenta default
  113. color status brightyellow black
  114. color hdrdefault brightgreen default
  115. color quoted green default
  116. color quoted1 blue default
  117. color quoted2 cyan default
  118. color quoted3 yellow default
  119. color quoted4 red default
  120. color quoted5 brightred default
  121. color signature brightgreen default
  122. color bold black default
  123. color underline black default
  124. color normal default default
  125. # Regex highlighting:
  126. color header blue default ".*"
  127. color header brightmagenta default "^(From)"
  128. color header brightcyan default "^(Subject)"
  129. color header brightwhite default "^(CC|BCC)"
  130. color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
  131. color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
  132. color body green default "\`[^\`]*\`" # Green text between ` and `
  133. color body brightblue default "^# \.*" # Headings as bold blue
  134. color body brightcyan default "^## \.*" # Subheadings as bold cyan
  135. color body brightgreen default "^### \.*" # Subsubheadings as bold green
  136. color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
  137. color body brightcyan default "[;:][-o][)/(|]" # emoticons
  138. color body brightcyan default "[;:][)(|]" # emoticons
  139. color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
  140. color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
  141. color body red default "(BAD signature)"
  142. color body cyan default "(Good signature)"
  143. color body brightblack default "^gpg: Good signature .*"
  144. color body brightyellow default "^gpg: "
  145. color body brightyellow red "^gpg: BAD signature from.*"
  146. mono body bold "^gpg: Good signature"
  147. mono body bold "^gpg: BAD signature from.*"
  148. 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<>\"]"