aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.mutt/sidebar.rc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.mutt/sidebar.rc b/.mutt/sidebar.rc
new file mode 100644
index 0000000..a5da4d2
--- /dev/null
+++ b/.mutt/sidebar.rc
@@ -0,0 +1,12 @@
+set sidebar_visible = yes
+set sidebar_sort = yes
+set sidebar_width = 30
+
+macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
+macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
+
+# Ctrl-n, Ctrl-p to select next, previous folder.
+# Ctrl-o to open selected folder.
+bind index,pager \CP sidebar-prev
+bind index,pager \CN sidebar-next
+bind index,pager \CO sidebar-open