summaryrefslogtreecommitdiff
path: root/muttrc
diff options
context:
space:
mode:
authorAndrey Drobyshev <drmtmych@gmail.com>2018-02-27 00:23:40 +0300
committerAndrey Drobyshev <drmtmych@gmail.com>2018-02-27 00:23:40 +0300
commited1a729aaf065877a5d042d222d8063600a81049 (patch)
tree353a4e8f6d6ff3431cf4a9d68b5cfd462ae96b79 /muttrc
parent8545f779bf07aaee3f7fa034813796319227b6d3 (diff)
Add account name to sidebar head.
When managing multiple accounts it's hard to determine which one you're currently viewing. This patch makes sidebar look like this: +++++++++++++++++++++++++ luke@lukesmith + ----------------------- + INBOX 99+ Sent Mail + Drafts + Trash + Spam + +++++++++++++++++++++++++ The only problem with it is the necessity of changing sidebar_format, as with its current value these 2 excess mailboxes are being appended with 0. That leads to situation when size of an empty mailbox is being displayed as empty string instead of 0. I consider it's not a big deal.
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/muttrc b/muttrc
index 88c50e3..aec5da4 100644
--- a/muttrc
+++ b/muttrc
@@ -43,7 +43,7 @@ set sidebar_width = 20
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes
set mail_check_stats
-set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S'
+set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
bind index,pager \Co sidebar-open