diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-27 19:06:29 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-27 19:06:29 -0500 |
commit | 6ad5f1cfda26c41fb1b7d06030c1918c06a3aad2 (patch) | |
tree | 98297a53d3e8642dcc001c073f5b1d73590c58f0 /mutt/local | |
parent | 579e180c033d102859fdb74495170a743cecc3a0 (diff) | |
download | conf-6ad5f1cfda26c41fb1b7d06030c1918c06a3aad2.tar.gz conf-6ad5f1cfda26c41fb1b7d06030c1918c06a3aad2.zip |
switch from offlineimap to mbsync
Diffstat (limited to 'mutt/local')
-rw-r--r-- | mutt/local | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mutt/local b/mutt/local new file mode 100644 index 0000000..0d6205f --- /dev/null +++ b/mutt/local @@ -0,0 +1,16 @@ +set mbox_type=Maildir +set folder="~/Maildir" +set spoolfile="~/Maildir/INBOX" +mailboxes `\ + for folder in ~/Maildir/*; do\ + basename=$(basename "$folder");\ + if [ "x${basename:0:4}" != "xold."\ + -a "x$basename" != "xspam"\ + -a "x$basename" != "xnotmuch" ]; then\ + echo -n "\"=$basename\" ";\ + fi\ + done` +macro index R "<enter-command>unset wait_key<enter><shell-escape>mbsync all && notmuch new<enter><enter-command>set wait_key<enter>" "fetch mail with mbsync" +set timeout=3 + +# vim: ft=neomuttrc |