pager.muttrc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ##### My (demuredemeanor) muttrc sub pager config
  2. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
  3. # https://notabug.org/demure/dotfiles
  4. # legacy repo http://github.com/demure/dotfiles
  5. # vim:set syntax=muttrc:
  6. ### Pager View Options ### {{{
  7. set pager_index_lines = 10 ## Number of lines to show
  8. set pager_context = 3 ## Number of context lines to show
  9. set pager_stop ## Don't go to the next message automatically
  10. set menu_scroll ## Scroll in menus
  11. set tilde ## Show tildes like in vim
  12. unset markers ## No ugly plus signs
  13. ### End Pager View Options ### }}}
  14. set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
  15. auto_view text/html
  16. alternative_order text/enriched text/plain text/html text
  17. ### Pager Key Bindings ### {{{
  18. bind pager a noop ## Unbinds alias key
  19. bind pager k previous-line
  20. bind pager j next-line
  21. bind pager g noop ## Removes error from next binding
  22. bind pager gg top
  23. bind pager GG bottom
  24. bind pager R group-reply
  25. bind attach <return> view-mailcap ## View attachments properly.
  26. ### End Pager Key Bindings ### }}}
  27. ### Macros ### {{{
  28. macro pager \Cu "|urlview<enter>" "call urlview to open links" ## Handle URLs.
  29. macro attach V "<pipe-entry>w3m -v -T text/html -dump | less<enter>" ## Process html to text, for stupid html only emails
  30. macro pager d "<exit><delete-message>" ## Deletes message with out auto opening next message
  31. ### End Macros ### }}}