August 10, 2024

Display mailboxes in Mutt’s sidebar

This is my setup so far to display mailboxes in Mutt’s sidebar.

I created a file ~.config/mutt/mailboxes which I have populated as such:

mailboxes -label "yctct/INBOX" "+yctct/INBOX"
mailboxes -label "yctct/sent" "+yctct/Sent"
mailboxes -label "website/INBOX" "+website/INBOX" # the inbox of another email addreess I use
mailboxes -label "digital/INBOX" "+digital/INBOX" # the inbox of another email addreess I use

Then I sourced the file in .muttrc

# Sidebar settings

source ~/.config/mutt/mailboxes

other sidebar’s settings:

set mail_check_stats
set sidebar_visible = no # default
set sidebar_width = 30
# set sidebar_short_path = yes
# set sidebar_next_new_wrap = yes

and these the keybinding I got from another .muttrc file:

# Sidebar keybinding
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
bind index,pager \Cl sidebar-open
bind index,pager \Cp sidebar-prev-new # I don't use this one
bind index,pager \Cn sidebar-next-new # I don't use this one
bind index,pager b sidebar-toggle-visible

Source: https://willpittman.net:8080/index.php?title=Mutt_sidebar


personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki mutt

No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2024 by yctct is licensed under CC BY-ND 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88