aboutsummaryrefslogtreecommitdiffstats
path: root/mutt/muttrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-04-25 21:49:40 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-04-25 21:49:40 +0200
commit1a8038468945e53d6c8caa2518f330fae8bf8870 (patch)
treed84ee94801b6c1ed0448a2671a18a35dcf1dae45 /mutt/muttrc
parent51465dd1b18d36c8657cbe464fe32bdcb56724c1 (diff)
downloaddotfiles-1a8038468945e53d6c8caa2518f330fae8bf8870.tar.xz
mutt: add macros for switching between thread and date sorting
Diffstat (limited to 'mutt/muttrc')
-rw-r--r--mutt/muttrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mutt/muttrc b/mutt/muttrc
index 41c2a20..6fe6242 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -73,6 +73,8 @@ unignore X-Spambayes-Classification X-Spambayes-Trained
set date_format = "%d/%m"
set index_format = "[%Z] %D %-20.20F %s"
set sort = threads # like gmail
+macro index i ':set sort=threads<return>'
+macro index I ':set sort=date-received<return>'
set uncollapse_jump # don't collapse on an unread message
set pager_index_lines = 10 # number of index lines to show
set pager_context = 3 # number of context lines to show