Skip to content

Instantly share code, notes, and snippets.

@flaper87
Last active January 1, 2016 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flaper87/8093978 to your computer and use it in GitHub Desktop.
Save flaper87/8093978 to your computer and use it in GitHub Desktop.
Useful mutt macros
# Mark all as read
# Use _ to collapse-all threads
macro index .r "<limit>~N<enter><tag-pattern>~N<enter><tag-prefix><clear-flag>N<clear-flag>*<untag-pattern>~T<enter><limit>all<enter>" "party time, excellent"
# Toggle pager full-screen
# Tweak `pager_index_lines`
macro pager indexOn "<enter-command>set pager_index_lines="30"; macro pager V indexOff 'Toggle emails index'<enter><redraw-screen>"
macro pager indexOff "<enter-command>set pager_index_lines="0"; macro pager V indexOn 'Toggle emails index'<enter><redraw-screen>"
macro pager V indexOff 'Toogle emails index'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment