]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Add sidebar to mutt
authorMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 8 Jan 2018 11:39:17 +0000 (11:39 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 8 Jan 2018 11:39:17 +0000 (11:39 +0000)
online_mail/.mutt/account.com.friedersdorff.max
online_mail/.mutt/account.uk.ac.aber.maf54
online_mail/.mutt/colors.mutt
online_mail/.mutt/muttrc

index eb4617c9d1ab46af9bb52efabb2e0f65e2ea4862..e756dc6a6ba783067eaed2e4f66c6ee432937e7e 100644 (file)
@@ -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" 
index ca0f4742ba85386d0764b0d9b4bfc52040c7d039..c047ae0e9343076a1a3aff8f7873c23c72ef080d 100644 (file)
@@ -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"
index b14068c7e153590f25c8d63c46c2a9ca242cc9c1..4f97f8bce8f2950b7af5fdc1c100f54df80a2e2c 100644 (file)
@@ -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
index 81bf0801f87b0aca500357e684d4f9ac49140398..8244d8e202fca11d19928218da77a1409b7b4216 100644 (file)
@@ -1,6 +1,6 @@
 # Macro keys for different mailboxes
-macro index \e1 '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter>'
-macro index \e2 '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter>'
+macro index \e1 '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter><sidebar-open>'
+macro index \e2 '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter><sidebar-open>'
 
 
 # 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