aboutsummaryrefslogtreecommitdiffstats
path: root/.config/mutt/sidebar.rc
diff options
context:
space:
mode:
Diffstat (limited to '.config/mutt/sidebar.rc')
-rw-r--r--.config/mutt/sidebar.rc14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/mutt/sidebar.rc b/.config/mutt/sidebar.rc
new file mode 100644
index 0000000..c3c130c
--- /dev/null
+++ b/.config/mutt/sidebar.rc
@@ -0,0 +1,14 @@
+set browser_abbreviate_mailboxes = no
+set sidebar_visible = yes
+set sidebar_folder_indent = yes
+set sidebar_short_path = 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