This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/mutt/accounts/account_template.muttrc

41 lines
1.7 KiB
Plaintext
Raw Normal View History

# vim: filetype=neomuttrc
# muttrc file for account email@adress.you
set realname = "John Doe"
set from = "email@adress.you"
set sendmail = "msmtp -a email@adress.you"
alias me david.julien <email@adress.you>
set folder = "/home/johndoe/.local/share/mail/email@adress.you"
set header_cache = /home/johndoe/.cache/mutt/email@adress.you/headers
set message_cachedir = /home/johndoe/.cache/mutt/email@adress.you/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
unmailboxes *
unalternates *
unset signature
unmacro index o
macro index o "<shell-escape>mw -y email@adress.you<enter>" "run mbsync to sync email@adress.you"
mailboxes "=Sent" "=Drafts" "=Trash" "=INBOX"
set record = "+Sent"
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
set postponed = "+Drafts"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
set trash = "+Trash"
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
set spoolfile = "+INBOX"