Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

muttrc 3.1 KiB

6 lat temu
6 lat temu
6 lat temu
6 lat temu
6 lat temu
6 lat temu
6 lat temu
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 = $EDITOR
  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 %?X?A& ? %D %-15.15F %s (%-4.4c)"
  17. set markers = no
  18. set mark_old = no
  19. set mime_forward = yes
  20. set smtp_authenticators = 'gssapi:login'
  21. auto_view text/html
  22. auto_view application/pdf
  23. alternative_order text/plain text/enriched text/html
  24. set rfc2047_parameters = yes
  25. # General remappings
  26. bind editor <space> noop
  27. bind index G last-entry
  28. bind index gg first-entry
  29. bind pager j next-line
  30. bind pager k previous-line
  31. bind pager gg top
  32. bind pager G bottom
  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. # View attachments properly.
  42. bind attach <return> view-mailcap
  43. set fast_reply # skip to compose when replying
  44. set fcc_attach # save attachments with the body
  45. unset mime_forward # forward attachments as part of body
  46. set forward_format = "Fwd: %s" # format of subject when forwarding
  47. set forward_decode # decode when forwarding
  48. set forward_quote # include message in forwards
  49. set reverse_name # reply as whomever it was to
  50. set include # include message in replies
  51. #Ctrl-R to mark all as read
  52. macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
  53. #sync email
  54. macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"
  55. macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"
  56. #copy/move dialogs
  57. macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
  58. macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
  59. # Notmuch searching
  60. 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"
  61. macro index A "<limit>all\n" "show all messages (undo limit)"
  62. # Sidebar mappings
  63. set sidebar_visible = yes
  64. set sidebar_width = 20
  65. set sidebar_short_path = yes
  66. set sidebar_next_new_wrap = yes
  67. set mail_check_stats
  68. set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
  69. bind index,pager \Ck sidebar-prev
  70. bind index,pager \Cj sidebar-next
  71. bind index,pager \Co sidebar-open
  72. bind index,pager <F3> sidebar-page-up
  73. bind index,pager <F4> sidebar-page-down
  74. bind index,pager \Cp sidebar-prev-new
  75. bind index,pager \Cn sidebar-next-new
  76. bind index,pager B sidebar-toggle-visible
  77. source personal.muttrc