aboutsummaryrefslogtreecommitdiff
path: root/modules/mutt/mutt.dot.link/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mutt/mutt.dot.link/sidebar')
-rw-r--r--modules/mutt/mutt.dot.link/sidebar53
1 files changed, 53 insertions, 0 deletions
diff --git a/modules/mutt/mutt.dot.link/sidebar b/modules/mutt/mutt.dot.link/sidebar
new file mode 100644
index 0000000..248b152
--- /dev/null
+++ b/modules/mutt/mutt.dot.link/sidebar
@@ -0,0 +1,53 @@
+#
+# http://www.die-welt.net/2011/02/desktop-in-a-shell-mutt/
+# http://www.debian-administration.org/articles/523
+# http://www.lunar-linux.org/mutt-sidebar/
+#
+
+# set up the sidebar, default not visible
+set sidebar_width=20
+set sidebar_visible=no
+set sidebar_delim='|'
+set sidebar_sort=yes
+
+# which mailboxes to list in the sidebar
+mailboxes =inbox =ml
+
+# color of folders with new mail
+color sidebar_new yellow default
+
+# ctrl-n, ctrl-p to select next, prev folder
+# ctrl-o to open selected folder
+#bind index CP sidebar-prev
+#bind index CN sidebar-next
+#bind index CO sidebar-open
+#bind pager CP sidebar-prev
+#bind pager CN sidebar-next
+#bind pager CO sidebar-open
+bind index \Cp sidebar-prev
+bind index \Cn sidebar-next
+bind index \Co sidebar-open
+bind pager \Cp sidebar-prev
+bind pager \Cn sidebar-next
+bind pager \Co sidebar-open
+
+# I don’t need these. just for documentation purposes. See below.
+# sidebar-scroll-up
+# sidebar-scroll-down
+
+# b toggles sidebar visibility
+#macro index b ‘<enter-command>toggle sidebar_visible<enter>’
+#macro pager b ‘<enter-command>toggle sidebar_visible<enter>’
+#macro index b 'toggle sidebar_visible'
+#macro pager b 'toggle sidebar_visible'
+macro index \Cb '<enter-command>toggle sidebar_visible<enter><refresh>'
+macro pager \Cb '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
+
+# Remap bounce-message function to “B”
+bind index B bounce-message
+
+#
+# Mario Holbe suggests:
+# macro index b ‘<enter-command>toggle sidebar_visible<enter><refresh>’
+# macro pager b ‘<enter-command>toggle sidebar_visible<enter><redraw-screen>’
+#