My dotfiles for my Linux rice managed with stow and make
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.

muttrc 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. source ~/.config/mutt/gmailrc
  2. source ~/.config/mutt/muttcol
  3. source ~/.config/mutt/aliases
  4. set editor = vim
  5. set timeout = "5"
  6. set mail_check = "10"
  7. set mailcap_path = ~/.config/mutt/mailcap
  8. set date_format="%m/%d %I:%M"
  9. set index_format="%?M?+& ?%2M %2C %Z %d %-15.15F %s (%-4.4c)"
  10. set signature = ~/.config/mutt/signature
  11. # Threads
  12. set sort = 'threads'
  13. set sort_aux = 'reverse-last-date-received'
  14. set strict_threads="yes"
  15. bind index <Space> collapse-thread
  16. bind index - collapse-thread
  17. bind index _ collapse-all
  18. exec collapse-all
  19. auto_view text/html
  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 '.*' #normal email
  25. color index green default "~v~(!~N)~(!~F)" #collapsed threads
  26. color index red default "~T" #tagged
  27. color index_author red default '.*'
  28. color index_number blue default
  29. color index_subject cyan default '.s'
  30. color index_size green default
  31. color normal default default
  32. color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
  33. color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
  34. color indicator blue default
  35. bind editor <space> noop
  36. bind index G last-entry
  37. bind index gg first-entry
  38. bind index d half-down
  39. bind index u half-up
  40. bind index D delete-message
  41. bind index U undelete-message
  42. bind index F search
  43. bind index R group-reply
  44. # address book settings
  45. set query_command="khard email --parsable %s"
  46. bind editor <Tab> complete-query
  47. bind editor ^T complete
  48. bind index,pager a noop
  49. macro index,pager ac "<pipe-message>khard add-email<return>" "Add sender to Khard"
  50. bind index,pager s noop
  51. macro index,pager sc "<shell-escape>vdirsyncer sync gaddr<return>" "sync contacts"
  52. macro index Z "<shell-escape>offlineimap<enter>" "sync all mail"
  53. macro index,pager \cu "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
  54. macro attach,compose \cu "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"