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.
 
 
 
 

47 lines
1.6 KiB

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