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.
 
 
 
 

46 lines
1.6 KiB

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