fix(neomutt): workaround sidebar rendering regression

This commit is contained in:
George Rawlinson 2020-04-29 19:54:00 +12:00
parent 61bfea0aec
commit 851de42f74
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
5 changed files with 11 additions and 6 deletions

View File

View File

View File

@ -1,8 +1,10 @@
# sidebar
set sidebar_visible # show sidebar
set sidebar_divider_char = "│" # divider between sidebar + index
set sidebar_width = 22 # sidebar width
set sidebar_width = 25 # sidebar width
set sidebar_format = "%B%?F? [%F]?%* %?N?%N?" # display folder name + unread count
set sidebar_short_path = yes # truncate folder name
set mail_check_stats # calculate message counts
# status bar
set status_chars = " *%A"

View File

@ -1,3 +1,6 @@
source 'find ~/.mail -name cur -printf "mailboxes \"%h\"\n"|sort|'
named-mailboxes ":: rawlinson" ~/.config/neomutt/div_rw
mailboxes `find ~/.mail/rawlinson -type d -name cur | sort | sed -e 's:/cur/*$::' -e 's/ /\\ /g' | tr '\n' ' '`
named-mailboxes ":: nullpointer" ~/.config/neomutt/div_np
mailboxes `find ~/.mail/nullpointer -type d -name cur | sort | sed -e 's:/cur/*$::' -e 's/ /\\ /g' | tr '\n' ' '`
# vim: syntax=muttrc

View File

@ -73,10 +73,10 @@ bind index,pager E sidebar-toggle-virtual
# virtual-mailboxes description notmuch-URI { description notmuch-URI ...}
# virtual-mailboxes "Climbing" "notmuch://?query=climbing"
virtual-mailboxes \
"INBOX" "notmuch://?query=tag:INBOX" \
"Unread" "notmuch://?query=tag:unread" \
"Sent" "notmuch://?query=tag:sent" # sets up queries for virtual folders
#virtual-mailboxes \
# "INBOX" "notmuch://?query=tag:INBOX" \
# "Unread" "notmuch://?query=tag:unread" \
# "Sent" "notmuch://?query=tag:sent" # sets up queries for virtual folders
# Replace some tags with icons
# tag-transforms tag transformed-string { tag transformed-string ...}