commit 7b3a496b37e9e75e543d87d07fd979a6a78a27c6
parent 8d14bdb60a0a682211922e417ad3956e3897871c
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Mon, 18 Apr 2016 13:44:03 -0700
enable sidebar toggle, do not sync unused IMAP folders
Diffstat:
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc
@@ -141,13 +141,13 @@ macro index \ c "<change-folder>=geomail/INBOX.cryolist/<enter>" "Go to cryolist
# mutt-sidebar
-#set sidebar_visible = yes
-#macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
-#macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
-#bind index,pager \CP sidebar-prev
-#bind index,pager \CN sidebar-next
-#bind index,pager \CO sidebar-open
-#set sidebar_sort = yes # fix order of sidebar entries
+set sidebar_visible = no
+macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
+macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
+bind index,pager \CP sidebar-prev
+bind index,pager \CN sidebar-next
+bind index,pager \CO sidebar-open
+set sidebar_sort = yes # fix order of sidebar entries
# abook address book
set query_command= "abook --mutt-query '%s'"
diff --git a/.offlineimaprc b/.offlineimaprc
@@ -98,7 +98,7 @@ remoteuser = au217756
remotepasseval = get_keychain_pass(account="au217756", server="imap.au.dk")
ssl = yes
cert_fingerprint = ae2c89d80632be3ec8a149225199e3cdcc88311f
-folderfilter = lambda folder: folder not in ['Kalender','Kontaktpersoner','Slettet post','NFIT-Import-adc-2012-09-11-04:18']
+folderfilter = lambda folder: not re.search('NFIT-Import|geo07kej|Suggested Contacts|Noter|Opgaver|Journal|Slettet post|archive|Kalender|Kontaktpersoner|RSS Feeds', folder)
# Instead of closing the connection once a sync is complete, offlineimap will
# send empty data to the server to hold the connection open. A value of 60