Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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