Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

152 righe
6.9 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. 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,pager M noop
  31. bind index,pager C noop
  32. bind index \Cf noop
  33. # General rebindings
  34. bind attach <return> view-mailcap
  35. bind attach l view-mailcap
  36. bind editor <space> noop
  37. bind pager,attach h exit
  38. bind pager j next-line
  39. bind pager k previous-line
  40. bind pager l view-attachments
  41. bind index gg first-entry
  42. bind index G last-entry
  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 browser h goto-parent
  49. macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
  50. bind index,pager H view-raw-message
  51. bind browser l select-entry
  52. bind pager,browser gg top-page
  53. bind pager,browser G bottom-page
  54. bind index,pager,browser d half-down
  55. bind index,pager,browser u half-up
  56. bind index,pager S sync-mailbox
  57. bind index,pager R group-reply
  58. bind index \031 previous-undeleted # Mouse wheel
  59. bind index \005 next-undeleted # Mouse wheel
  60. bind pager \031 previous-line # Mouse wheel
  61. bind pager \005 next-line # Mouse wheel
  62. bind editor <Tab> complete-query
  63. macro index,pager a "|abook --add-email\n" 'add sender to abook'
  64. macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
  65. macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'Enter a search term to find with notmuch: ' x; echo \$x >\${XDG_CACHE_HOME:-~/.cache}/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat \${XDG_CACHE_HOME:-~/.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"
  66. macro index A "<limit>all\n" "show all messages (undo limit)"
  67. # Sidebar mappings
  68. set sidebar_visible = yes
  69. set sidebar_width = 20
  70. set sidebar_short_path = yes
  71. set sidebar_next_new_wrap = yes
  72. set mail_check_stats
  73. set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
  74. bind index,pager \Ck sidebar-prev
  75. bind index,pager \Cj sidebar-next
  76. bind index,pager \Co sidebar-open
  77. bind index,pager \Cl sidebar-open
  78. bind index,pager \Cp sidebar-prev-new
  79. bind index,pager \Cn sidebar-next-new
  80. bind index,pager B sidebar-toggle-visible
  81. # Default index colors:
  82. color index yellow default '.*'
  83. color index_author red default '.*'
  84. color index_number blue default
  85. color index_subject cyan default '.*'
  86. # New mail is boldened:
  87. color index brightyellow black "~N"
  88. color index_author brightred black "~N"
  89. color index_subject brightcyan black "~N"
  90. # Other colors and aesthetic settings:
  91. mono bold bold
  92. mono underline underline
  93. mono indicator reverse
  94. mono error bold
  95. color normal default default
  96. color indicator brightblack white
  97. color sidebar_highlight red default
  98. color sidebar_divider brightblack black
  99. color sidebar_flagged red black
  100. color sidebar_new green black
  101. color normal brightyellow default
  102. color error red default
  103. color tilde black default
  104. color message cyan default
  105. color markers red white
  106. color attachment white default
  107. color search brightmagenta default
  108. color status brightyellow black
  109. color hdrdefault brightgreen default
  110. color quoted green default
  111. color quoted1 blue default
  112. color quoted2 cyan default
  113. color quoted3 yellow default
  114. color quoted4 red default
  115. color quoted5 brightred default
  116. color signature brightgreen default
  117. color bold black default
  118. color underline black default
  119. color normal default default
  120. # Regex highlighting:
  121. color header blue default ".*"
  122. color header brightmagenta default "^(From)"
  123. color header brightcyan default "^(Subject)"
  124. color header brightwhite default "^(CC|BCC)"
  125. color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
  126. color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
  127. color body green default "\`[^\`]*\`" # Green text between ` and `
  128. color body brightblue default "^# \.*" # Headings as bold blue
  129. color body brightcyan default "^## \.*" # Subheadings as bold cyan
  130. color body brightgreen default "^### \.*" # Subsubheadings as bold green
  131. color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
  132. color body brightcyan default "[;:][-o][)/(|]" # emoticons
  133. color body brightcyan default "[;:][)(|]" # emoticons
  134. color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
  135. color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
  136. color body red default "(BAD signature)"
  137. color body cyan default "(Good signature)"
  138. color body brightblack default "^gpg: Good signature .*"
  139. color body brightyellow default "^gpg: "
  140. color body brightyellow red "^gpg: BAD signature from.*"
  141. mono body bold "^gpg: Good signature"
  142. mono body bold "^gpg: BAD signature from.*"
  143. 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<>\"]"