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.
 
 
 
 

58 lines
1.8 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 etc/muttcol
  7. source etc/aliases
  8. set sleep_time = 0
  9. set sort = 'reverse-date'
  10. set editor = vim
  11. #set copy = no
  12. set timeout = "5"
  13. set mail_check = "10"
  14. set mailcap_path = ~/.config/mutt/etc/mailcap
  15. set date_format="%m/%d %I:%M"
  16. set index_format="%2C %Z %D %-15.15F %s (%-4.4c)"
  17. set markers = no
  18. set mark_old = no
  19. set mime_forward = yes
  20. auto_view text/html
  21. auto_view application/pdf
  22. alternative_order text/plain text/enriched text/html
  23. # General remappings
  24. bind editor <space> noop
  25. bind index G last-entry
  26. bind index gg first-entry
  27. bind index d half-down
  28. bind index u half-up
  29. bind index D delete-message
  30. bind index U undelete-message
  31. bind index F search
  32. bind index,pager R group-reply
  33. macro index,pager S '<sync-mailbox>
  34. macro index,pager \Cu |urlview\n
  35. # Notmuch searching
  36. 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"
  37. macro index A "<limit>all\n" "show all messages (undo limit)"
  38. # Sidebar mappings
  39. set sidebar_visible = yes
  40. set sidebar_width = 20
  41. set sidebar_short_path = yes
  42. set sidebar_next_new_wrap = yes
  43. set mail_check_stats
  44. set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
  45. bind index,pager \Ck sidebar-prev
  46. bind index,pager \Cj sidebar-next
  47. bind index,pager \Co sidebar-open
  48. bind index,pager <F3> sidebar-page-up
  49. bind index,pager <F4> sidebar-page-down
  50. bind index,pager \Cp sidebar-prev-new
  51. bind index,pager \Cn sidebar-next-new
  52. bind index,pager B sidebar-toggle-visible
  53. source personal.muttrc