# System-wide personalization for Mutt
######################################
-folder-hook "" set sort=threads
# '!' an '=' are expand only as the very first characters.
# regexes are processed.
# '$' must follow alpha or '{' to get interpreted as a variable.
-folder-hook "!$" set sort=mailbox-order;push "*"
-folder-hook "=(=|sent|spam|err|input)" set sort=mailbox-order;push "*"
+folder-hook "" set sort=threads
+folder-hook "!$" set sort=mailbox-order;push "*<Tab>"
+folder-hook "=(=|err)" set sort=mailbox-order;push "*<Tab>"
+folder-hook "=(sent|spam|input)" set sort=mailbox-order;push "*"
bind index <Tab> next-new
bind pager <Tab> next-new
bind index <Esc><Tab> previous-new