~ubuntu-branches/ubuntu/vivid/mutt/vivid-updates

« back to all changes in this revision

Viewing changes to debian/extra/samples/sidebar.muttrc

Tags: 1.5.18-6
* Grab from upstream:
  + Guard idata->mailbox read in imap_mailbox_state.
    The bug happens when a user has more than a imap mailbox, when
    he/she browses through them mutt will segfault.
    (Closes: #462266, #513230, #514309. Mutt: #3057)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# shamelessly copied from
 
2
# http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
 
3
 
 
4
# set up the sidebar, default not visible
 
5
set sidebar_width=12
 
6
set sidebar_visible=no
 
7
set sidebar_delim='|'
 
8
 
 
9
# which mailboxes to list in the sidebar
 
10
mailboxes =inbox =ml
 
11
 
 
12
# color of folders with new mail
 
13
color sidebar_new yellow default
 
14
 
 
15
# ctrl-n, ctrl-p to select next, prev folder
 
16
# ctrl-o to open selected folder
 
17
bind index \CP sidebar-prev
 
18
bind index \CN sidebar-next
 
19
bind index \CO sidebar-open
 
20
bind pager \CP sidebar-prev
 
21
bind pager \CN sidebar-next
 
22
bind pager \CO sidebar-open
 
23
 
 
24
# I don't need these. just for documentation purposes. See below.
 
25
# sidebar-scroll-up
 
26
# sidebar-scroll-down
 
27
 
 
28
# b toggles sidebar visibility
 
29
macro index b '<enter-command>toggle sidebar_visible<enter>'
 
30
macro pager b '<enter-command>toggle sidebar_visible<enter>'
 
31
 
 
32
# Remap bounce-message function to "B"
 
33
bind index B bounce-message
 
34
 
 
35
#
 
36
# Mario Holbe suggests:
 
37
# macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
 
38
# macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
 
39
 
40
 
 
41
 
 
42
# Documentation
 
43
# =============
 
44
#
 
45
# sidebar_width (number)
 
46
# Width of the sidebar.
 
47
 
48
# sidebar_visible (boolean)
 
49
# Whether or not the sidebar is visible.
 
50
 
51
# sidebar_delim (string)
 
52
# Specifies the delimiter between the sidebar and other screens
 
53
 
54
# color sidebar_new [fg] [bg]
 
55
# The foreground (fg) and background (bg) color of folders that contain new
 
56
# mail.
 
57
 
58
# sidebar-prev
 
59
# Mutt's name for the operation that selects the previous folder.
 
60
 
61
# sidebar-next
 
62
# Mutt's name for the operation that selects the next folder.
 
63
 
64
# sidebar-open
 
65
# Mutt's name for the operation that opens the currently selected folder.
 
66
 
67
# sidebar-scroll-up
 
68
# Only useful if you have more folders than lines in your terminal: scrolls one
 
69
# page up through the list of folders.
 
70
 
71
# sidebar-scroll-down
 
72
# Only useful if you have more folders than lines in your terminal: scrolls one
 
73
# page down through the list of folders. 
 
74
#