pager.muttrc 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. set pager_context = 3 ## Show pervious lins on page up/down, to help keep place
  14. set search_context = 1 ## Show lines above search to help give context
  15. ### End Pager View Options ### }}}
  16. set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
  17. auto_view text/html
  18. alternative_order text/enriched text/plain text/html text
  19. ### Pager Key Bindings ### {{{
  20. bind pager a noop ## Unbinds alias key
  21. bind pager k previous-line
  22. bind pager j next-line
  23. bind pager g noop ## Removes error from next binding
  24. bind pager gg top
  25. bind pager GG bottom
  26. bind pager R group-reply
  27. bind attach <return> view-mailcap ## View attachments properly.
  28. ### End Pager Key Bindings ### }}}
  29. ### Macros ### {{{
  30. macro pager \Cu "|urlview<enter>" "call urlview to open links" ## Handle URLs.
  31. macro attach V "<pipe-entry>w3m -v -T text/html -dump | less<enter>" ## Process html to text, for stupid html only emails
  32. macro pager d "<exit><delete-message>" ## Deletes message with out auto opening next message
  33. ### End Macros ### }}}