From d492d090cffad8ed245c34688415305c7d09b4ec Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Wed, 2 Dec 2020 19:00:40 +0100 Subject: [PATCH] mutt --- .../accounts/1-daan@vanoverloop.xyz.muttrc | 36 +++++++++++++++++ ...aan.vanoverloop@student.kuleuven.be.muttrc | 39 +++++++++++++++++++ .config/mutt/muttrc | 5 +++ 3 files changed, 80 insertions(+) create mode 100644 .config/mutt/accounts/1-daan@vanoverloop.xyz.muttrc create mode 100644 .config/mutt/accounts/2-daan.vanoverloop@student.kuleuven.be.muttrc create mode 100644 .config/mutt/muttrc diff --git a/.config/mutt/accounts/1-daan@vanoverloop.xyz.muttrc b/.config/mutt/accounts/1-daan@vanoverloop.xyz.muttrc new file mode 100644 index 0000000..bd5ad66 --- /dev/null +++ b/.config/mutt/accounts/1-daan@vanoverloop.xyz.muttrc @@ -0,0 +1,36 @@ +# vim: filetype=neomuttrc +# muttrc file for account daan@vanoverloop.xyz +set realname = "Daan Vanoverloop" +set from = "daan@vanoverloop.xyz" +set sendmail = "msmtp -a daan@vanoverloop.xyz" +alias me Daan Vanoverloop +set folder = "/home/daan/.local/share/mail/daan@vanoverloop.xyz" +set header_cache = /home/daan/.cache/mutt-wizard/daan@vanoverloop.xyz/headers +set message_cachedir = /home/daan/.cache/mutt-wizard/daan@vanoverloop.xyz/bodies +set mbox_type = Maildir + +bind index,pager gg noop +bind index,pager g noop +bind index,pager M noop +bind index,pager C noop +bind index gg first-entry +macro index o "mw -y daan@vanoverloop.xyz" "run mbsync to sync daan@vanoverloop.xyz" +unmailboxes * + +mailboxes "=INBOX" "=INBOX.Drafts" "=INBOX.Sent" "=INBOX.Spam" +macro index,pager gi "=INBOX" "go to inbox" # mw-autogenerated +macro index,pager Mi ";=INBOX" "move mail to inbox" # mw-autogenerated +macro index,pager Ci ";=INBOX" "copy mail to inbox" # mw-autogenerated +set spoolfile = "+INBOX" # mw-autogenerated +macro index,pager gd "=INBOX.Drafts" "go to inbox" # mw-autogenerated +macro index,pager Md ";=INBOX.Drafts" "move mail to inbox" # mw-autogenerated +macro index,pager Cd ";=INBOX.Drafts" "copy mail to inbox" # mw-autogenerated +set spoolfile = "+INBOX.Drafts" # mw-autogenerated +macro index,pager go "=INBOX.Sent" "go to inbox" # mw-autogenerated +macro index,pager Mo ";=INBOX.Sent" "move mail to inbox" # mw-autogenerated +macro index,pager Co ";=INBOX.Sent" "copy mail to inbox" # mw-autogenerated +set spoolfile = "+INBOX.Sent" # mw-autogenerated +macro index,pager gs "=INBOX.Spam" "go to inbox" # mw-autogenerated +macro index,pager Ms ";=INBOX.Spam" "move mail to inbox" # mw-autogenerated +macro index,pager Cs ";=INBOX.Spam" "copy mail to inbox" # mw-autogenerated +set spoolfile = "+INBOX.Spam" # mw-autogenerated diff --git a/.config/mutt/accounts/2-daan.vanoverloop@student.kuleuven.be.muttrc b/.config/mutt/accounts/2-daan.vanoverloop@student.kuleuven.be.muttrc new file mode 100644 index 0000000..2ad74a0 --- /dev/null +++ b/.config/mutt/accounts/2-daan.vanoverloop@student.kuleuven.be.muttrc @@ -0,0 +1,39 @@ +# vim: filetype=neomuttrc +# muttrc file for account daan.vanoverloop@student.kuleuven.be +set realname = "Daan Vanoverloop" +set from = "daan.vanoverloop@student.kuleuven.be" +set sendmail = "msmtp -a daan.vanoverloop@student.kuleuven.be" +alias me Daan Vanoverloop +set folder = "/home/daan/.local/share/mail/daan.vanoverloop@student.kuleuven.be" +set header_cache = /home/daan/.cache/mutt-wizard/daan.vanoverloop@student.kuleuven.be/headers +set message_cachedir = /home/daan/.cache/mutt-wizard/daan.vanoverloop@student.kuleuven.be/bodies +set mbox_type = Maildir + +bind index,pager gg noop +bind index,pager g noop +bind index,pager M noop +bind index,pager C noop +bind index gg first-entry +macro index o "mw -y daan.vanoverloop@student.kuleuven.be" "run mbsync to sync daan.vanoverloop@student.kuleuven.be" +unmailboxes * + +mailboxes "=INBOX" "=Calendar" "=Contacts" "=Deleted Items" "=Drafts" "=Journal" "=Junk Email" "=Mailspring" "=Mailspring.Snoozed" "=Notes" "=Outbox" "=Sent" "=Sent Items" "=Tasks" +macro index,pager gi "=INBOX" "go to inbox" # mw-autogenerated +macro index,pager Mi ";=INBOX" "move mail to inbox" # mw-autogenerated +macro index,pager Ci ";=INBOX" "copy mail to inbox" # mw-autogenerated +set spoolfile = "+INBOX" # mw-autogenerated +set postponed = "+Drafts" # mw-autogenerated +macro index,pager gd "=Drafts" "go to drafts" # mw-autogenerated +macro index,pager Md ";=Drafts" "move mail to drafts" # mw-autogenerated +macro index,pager Cd ";=Drafts" "copy mail to drafts" # mw-autogenerated +macro index,pager gj "=Junk" "go to junk" # mw-autogenerated +macro index,pager Mj ";=Junk" "move mail to junk" # mw-autogenerated +macro index,pager Cj ";=Junk" "copy mail to junk" # mw-autogenerated +set record = "+Sent" # mw-autogenerated +macro index,pager gs "=Sent" "go to sent" # mw-autogenerated +macro index,pager Ms ";=Sent" "move mail to sent" # mw-autogenerated +macro index,pager Cs ";=Sent" "copy mail to sent" # mw-autogenerated +set record = "+Sent" # mw-autogenerated +macro index,pager gs "=Sent" "go to sent" # mw-autogenerated +macro index,pager Ms ";=Sent" "move mail to sent" # mw-autogenerated +macro index,pager Cs ";=Sent" "copy mail to sent" # mw-autogenerated diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc new file mode 100644 index 0000000..d5cc882 --- /dev/null +++ b/.config/mutt/muttrc @@ -0,0 +1,5 @@ +# vim: filetype=neomuttrc +source /usr/share/mutt-wizard/mutt-wizard.muttrc # mw-autogenerated +source /home/daan/.config/mutt/accounts/1-daan@vanoverloop.xyz.muttrc # mw-autogenerated +macro index,pager i1 'source /home/daan/.config/mutt/accounts/1-daan@vanoverloop.xyz.muttrc!;' "switch to daan@vanoverloop.xyz" # mw-autogenerated +macro index,pager i2 'source /home/daan/.config/mutt/accounts/2-daan.vanoverloop@student.kuleuven.be.muttrc!;' "switch to daan.vanoverloop@student.kuleuven.be" # mw-autogenerated