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.
 
 
 
 

48 lines
1.7 KiB

  1. # vim: filetype=muttrc
  2. # This is the general mutt config which has the settings that all accounts use.
  3. source etc/muttcol
  4. source personal.muttrc
  5. set sleep_time = 0
  6. set sort = 'reverse-date'
  7. set editor = vim
  8. #set copy = no
  9. set timeout = "5"
  10. set mail_check = "10"
  11. set mailcap_path = ~/.config/mutt/etc/mailcap
  12. set date_format="%m/%d %I:%M"
  13. set index_format="%2C %Z %D %-15.15F %s (%-4.4c)"
  14. set markers = no
  15. set mark_old = no
  16. bind index,pager i noop
  17. bind index,pager g noop
  18. auto_view text/html
  19. auto_view application/pdf
  20. alternative_order text/plain text/enriched text/html
  21. mono bold bold
  22. mono underline underline
  23. mono indicator reverse
  24. color index yellow default '.*'
  25. color index_author red default '.*'
  26. color index_number blue default
  27. color index_subject cyan default '.s'
  28. color index_size green default
  29. color normal default default
  30. color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
  31. color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
  32. bind editor <space> noop
  33. bind index G last-entry
  34. bind index gg first-entry
  35. bind index d half-down
  36. bind index u half-up
  37. bind index D delete-message
  38. bind index U undelete-message
  39. bind index F search
  40. bind index,pager R group-reply
  41. macro index,pager S '<sync-mailbox>
  42. macro index,pager \Cu |urlview\n
  43. bind index \Cf noop
  44. 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"
  45. macro index A "<limit>all\n" "show all messages (undo limit)"