No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

156 líneas
6.6 KiB

  1. # vim: filetype=neomuttrc
  2. # This is the general mutt config which has the settings that all accounts use.
  3. bind index,pager i noop
  4. bind index,pager g noop
  5. bind index \Cf noop
  6. source personal.muttrc
  7. set sleep_time = 0
  8. set sort = 'reverse-date'
  9. set editor = $EDITOR
  10. #set copy = no
  11. set timeout = "5"
  12. set mail_check = "10"
  13. set mailcap_path = ~/.config/mutt/etc/mailcap
  14. set date_format="%y/%m/%d %I:%M"
  15. set index_format="%2C %zs %?X?A& ? %D %-15.15F %s (%-4.4c)"
  16. set markers = no
  17. set mark_old = no
  18. set mime_forward = yes
  19. set smtp_authenticators = 'gssapi:login'
  20. set wait_key = no
  21. auto_view text/html
  22. auto_view application/pgp-encrypted
  23. alternative_order text/plain text/enriched text/html
  24. set rfc2047_parameters = yes
  25. # General remappings
  26. bind editor <space> noop
  27. bind index G last-entry
  28. bind index gg first-entry
  29. bind pager j next-line
  30. bind pager k previous-line
  31. bind browser h goto-parent
  32. bind browser l select-entry
  33. bind pager,browser gg top-page
  34. bind pager,browser G bottom-page
  35. bind index,browser d half-down
  36. bind index,browser u half-up
  37. bind index D delete-message
  38. bind index U undelete-message
  39. bind index,browser F search
  40. bind index,pager R group-reply
  41. bind index \031 previous-undeleted # Mouse wheel
  42. bind index \005 next-undeleted # Mouse wheel
  43. bind pager \031 previous-line # Mouse wheel
  44. bind pager \005 next-line # Mouse wheel
  45. macro index,pager S <sync-mailbox>
  46. set query_command= "abook --mutt-query '%s'"
  47. bind editor <Tab> complete-query
  48. # View attachments properly.
  49. bind attach <return> view-mailcap
  50. set fast_reply # skip to compose when replying
  51. set fcc_attach # save attachments with the body
  52. unset mime_forward # forward attachments as part of body
  53. set forward_format = "Fwd: %s" # format of subject when forwarding
  54. set forward_decode # decode when forwarding
  55. set forward_quote # include message in forwards
  56. set reverse_name # reply as whomever it was to
  57. set include # include message in replies
  58. #Ctrl-R to mark all as read
  59. macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
  60. #sync email
  61. macro index O "<shell-escape>$HOME/.config/mutt/etc/mailsync.sh<enter>" "run offlineimap to sync all mail"
  62. macro index o "<shell-escape>$HOME/.config/mutt/etc/mailsync.sh -qf INBOX<enter>" "run offlineimap to sync inbox"
  63. #copy/move dialogs
  64. macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
  65. macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
  66. # Notmuch searching
  67. macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' 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"
  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. # For new mail:
  88. color index brightyellow black "~N"
  89. color index_author brightred black "~N"
  90. color index_subject brightcyan black "~N"
  91. # Header colors:
  92. color header blue default ".*"
  93. color header brightmagenta default "^(From)"
  94. color header brightcyan default "^(Subject)"
  95. color header brightwhite default "^(CC|BCC)"
  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. 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<>\"]"