aboutsummaryrefslogtreecommitdiff
path: root/mutt.dot.link/sidebar
blob: 248b1529cbcf1df765fa5c93993f18690d33e1ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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>’
#