Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 6 roky
před 6 roky
před 6 roky
před 6 roky
před 6 roky
před 6 roky
před 6 roky
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 %?X?A& ? %D %-15.15F %s (%-4.4c)"
  17. #set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)"
  18. set forward_format = "Fwd: %s"
  19. set markers = no
  20. set mark_old = no
  21. set mime_forward = yes
  22. set smtp_authenticators = 'gssapi:login'
  23. auto_view text/html
  24. auto_view application/pdf
  25. alternative_order text/plain text/enriched text/html
  26. # General remappings
  27. bind editor <space> noop
  28. bind index G last-entry
  29. bind index gg first-entry
  30. bind pager j next-line
  31. bind pager k previous-line
  32. bind attach,index,pager \CD next-page
  33. bind attach,index,pager \CU previous-page
  34. bind pager gg top
  35. bind pager G bottom
  36. bind index d half-down
  37. bind index u half-up
  38. bind index D delete-message
  39. bind index U undelete-message
  40. bind index F search
  41. bind index,pager R group-reply
  42. macro index,pager S '<sync-mailbox>
  43. macro index,pager \Cu |urlview\n
  44. # View attachments properly.
  45. bind attach <return> view-mailcap
  46. #Ctrl-R to mark all as read
  47. macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
  48. #sync email
  49. macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"
  50. macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"
  51. #copy/move dialogs
  52. macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
  53. macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
  54. # Notmuch searching
  55. 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"
  56. macro index A "<limit>all\n" "show all messages (undo limit)"
  57. # Sidebar mappings
  58. set sidebar_visible = yes
  59. set sidebar_width = 20
  60. set sidebar_short_path = yes
  61. set sidebar_next_new_wrap = yes
  62. set mail_check_stats
  63. set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
  64. bind index,pager \Ck sidebar-prev
  65. bind index,pager \Cj sidebar-next
  66. bind index,pager \Co sidebar-open
  67. bind index,pager <F3> sidebar-page-up
  68. bind index,pager <F4> sidebar-page-down
  69. bind index,pager \Cp sidebar-prev-new
  70. bind index,pager \Cn sidebar-next-new
  71. bind index,pager B sidebar-toggle-visible
  72. source personal.muttrc