This commit is contained in:
Daan Vanoverloop 2020-12-02 19:00:40 +01:00
parent 1d009e866d
commit d492d090cf
3 changed files with 80 additions and 0 deletions

View File

@ -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 <daan@vanoverloop.xyz>
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 "<shell-escape>mw -y daan@vanoverloop.xyz<enter>" "run mbsync to sync daan@vanoverloop.xyz"
unmailboxes *
mailboxes "=INBOX" "=INBOX.Drafts" "=INBOX.Sent" "=INBOX.Spam"
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
set spoolfile = "+INBOX" # mw-autogenerated
macro index,pager gd "<change-folder>=INBOX.Drafts<enter>" "go to inbox" # mw-autogenerated
macro index,pager Md ";<save-message>=INBOX.Drafts<enter>" "move mail to inbox" # mw-autogenerated
macro index,pager Cd ";<copy-message>=INBOX.Drafts<enter>" "copy mail to inbox" # mw-autogenerated
set spoolfile = "+INBOX.Drafts" # mw-autogenerated
macro index,pager go "<change-folder>=INBOX.Sent<enter>" "go to inbox" # mw-autogenerated
macro index,pager Mo ";<save-message>=INBOX.Sent<enter>" "move mail to inbox" # mw-autogenerated
macro index,pager Co ";<copy-message>=INBOX.Sent<enter>" "copy mail to inbox" # mw-autogenerated
set spoolfile = "+INBOX.Sent" # mw-autogenerated
macro index,pager gs "<change-folder>=INBOX.Spam<enter>" "go to inbox" # mw-autogenerated
macro index,pager Ms ";<save-message>=INBOX.Spam<enter>" "move mail to inbox" # mw-autogenerated
macro index,pager Cs ";<copy-message>=INBOX.Spam<enter>" "copy mail to inbox" # mw-autogenerated
set spoolfile = "+INBOX.Spam" # mw-autogenerated

View File

@ -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 <daan.vanoverloop@student.kuleuven.be>
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 "<shell-escape>mw -y daan.vanoverloop@student.kuleuven.be<enter>" "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 "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
set spoolfile = "+INBOX" # mw-autogenerated
set postponed = "+Drafts" # mw-autogenerated
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts" # mw-autogenerated
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts" # mw-autogenerated
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts" # mw-autogenerated
macro index,pager gj "<change-folder>=Junk<enter>" "go to junk" # mw-autogenerated
macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk" # mw-autogenerated
macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk" # mw-autogenerated
set record = "+Sent" # mw-autogenerated
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent" # mw-autogenerated
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent" # mw-autogenerated
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent" # mw-autogenerated
set record = "+Sent" # mw-autogenerated
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent" # mw-autogenerated
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent" # mw-autogenerated
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent" # mw-autogenerated

5
.config/mutt/muttrc Normal file
View File

@ -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 '<sync-mailbox><enter-command>source /home/daan/.config/mutt/accounts/1-daan@vanoverloop.xyz.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to daan@vanoverloop.xyz" # mw-autogenerated
macro index,pager i2 '<sync-mailbox><enter-command>source /home/daan/.config/mutt/accounts/2-daan.vanoverloop@student.kuleuven.be.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to daan.vanoverloop@student.kuleuven.be" # mw-autogenerated