From: Maximilian Friedersdorff Date: Mon, 8 Jan 2018 11:39:17 +0000 (+0000) Subject: Add sidebar to mutt X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=06301ca9255c0ce72dc285cc94683d4fa173a63b;p=max%2Fdotfiles.git Add sidebar to mutt --- diff --git a/online_mail/.mutt/account.com.friedersdorff.max b/online_mail/.mutt/account.com.friedersdorff.max index eb4617c..e756dc6 100644 --- a/online_mail/.mutt/account.com.friedersdorff.max +++ b/online_mail/.mutt/account.com.friedersdorff.max @@ -1,3 +1,5 @@ +unmailboxes * + set imap_user = "max@friedersdorff.com" set imap_pass = $my_personal_password set smtp_url = "smtp://max@friedersdorff.com@mail.friedersdorff.com:587" @@ -15,3 +17,5 @@ set trash = "+Trash" set record = "+Sent" set pgp_sign_as="0xDA2EDF6D" + +mailboxes "+INBOX" "+todo" "+quicknote" "+google" diff --git a/online_mail/.mutt/account.uk.ac.aber.maf54 b/online_mail/.mutt/account.uk.ac.aber.maf54 index ca0f474..c047ae0 100644 --- a/online_mail/.mutt/account.uk.ac.aber.maf54 +++ b/online_mail/.mutt/account.uk.ac.aber.maf54 @@ -1,3 +1,5 @@ +unmailboxes * + set imap_user = "maf54@aber.ac.uk" set imap_pass = $my_aber_password set smtp_url = "smtp://maf54@aber.ac.uk@smtp.office365.com:587" @@ -15,3 +17,5 @@ set trash = "+Trash" set record = "+Sent" set pgp_sign_as="0x251C939D" + +mailboxes "+INBOX" "+Lists" "+Lists/ibers-all" "+Lists/centos-sec" "+Lists/unbuntu-sec" "+Notifications" "+Notifications/ibers-cs" diff --git a/online_mail/.mutt/colors.mutt b/online_mail/.mutt/colors.mutt index b14068c..4f97f8b 100644 --- a/online_mail/.mutt/colors.mutt +++ b/online_mail/.mutt/colors.mutt @@ -15,3 +15,8 @@ color index brightmagenta default "~Q" color index blue default "~U" # unread messages color index blue default "~U~$" # unread, unreferenced messages color index black red "~D" # deleted messages + +# Sidebar +color sidebar_indicator default color17 +color sidebar_highlight default color238 +color sidebar_new green default diff --git a/online_mail/.mutt/muttrc b/online_mail/.mutt/muttrc index 81bf080..8244d8e 100644 --- a/online_mail/.mutt/muttrc +++ b/online_mail/.mutt/muttrc @@ -1,6 +1,6 @@ # Macro keys for different mailboxes -macro index \e1 'imaps://mail.friedersdorff.com' -macro index \e2 'imaps://outlook.office365.com' +macro index \e1 'imaps://mail.friedersdorff.com' +macro index \e2 'imaps://outlook.office365.com' # Configuration files for different mailboxes @@ -31,7 +31,7 @@ macro pager \cb "|urlview\n" set text_flowed=yes set reflow_text=yes -set editor="gvim -v +':set textwidth=72' +'set fo=aw'" +set editor="vim -v +':set textwidth=72' +'set fo=aw'" # Encryption source ~/.mutt/gpg.rc @@ -49,3 +49,20 @@ set fast_reply=yes # Show message some message headers when reading mail set pager_index_lines=10 + +# Remove all headers by default +ignore * +unignore from date subject to cc + +# Use sidebar +set mail_check_stats +set sidebar_visible=yes +set sidebar_width=25 +set sidebar_folder_indent=yes +set sidebar_short_path=yes +set sidebar_divider_char='│' +set sidebar_format='%B%* %N' + +bind index,pager \CP sidebar-prev +bind index,pager \CN sidebar-next +bind index,pager \CO sidebar-open