From 41effffb3b46f1cc76ae800768c623b347e2f0a7 Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Wed, 19 Jun 2024 07:57:46 +0300 Subject: Email templates --- .config/mutt/accounts/example.muttrc | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .config/mutt/accounts/example.muttrc (limited to '.config/mutt/accounts') diff --git a/.config/mutt/accounts/example.muttrc b/.config/mutt/accounts/example.muttrc new file mode 100644 index 0000000..3f561c6 --- /dev/null +++ b/.config/mutt/accounts/example.muttrc @@ -0,0 +1,40 @@ +# vim: filetype=muttrc + +set realname = "" +set from = "@" +set sendmail = "msmtp -a @" +alias me <@> +set folder = "$HOME/.local/share/mail/@" +set header_cache = "$HOME/.cache/mutt/@/headers" +set message_cachedir = "$HOME/.cache/mutt/@/bodies" +set mbox_type = Maildir +set hostname = "" +source $HOME/.config/mutt/switch.muttrc +set spoolfile = +INBOX +set record = +Sent +set postponed = +Drafts +set trash = +Trash +mailboxes "=INBOX" "=Sent" "=Drafts" "=Archive" "=Junk" "=Trash" + +macro index,pager gi "=INBOX" "go to inbox" +macro index,pager Mi ";=INBOX" "move mail to inbox" +macro index,pager Ci ";=INBOX" "copy mail to inbox" +macro index,pager gs "=Sent" "go to sent" +macro index,pager Ms ";=Sent" "move mail to sent" +macro index,pager Cs ";=Sent" "copy mail to sent" +macro index,pager gd "=Drafts" "go to drafts" +macro index,pager Md ";=Drafts" "move mail to drafts" +macro index,pager Cd ";=Drafts" "copy mail to drafts" +macro index,pager ga "=Archive" "go to archive" +macro index,pager Ma ";=Archive" "move mail to archive" +macro index,pager Ca ";=Archive" "copy mail to archive" +macro index,pager gj "=Junk" "go to junk" +macro index,pager Mj ";=Junk" "move mail to junk" +macro index,pager Cj ";=Junk" "copy mail to junk" +macro index,pager gt "=Trash" "go to trash" +macro index,pager Mt ";=Trash" "move mail to trash" +macro index,pager Ct ";=Trash" "copy mail to trash" + +macro index o "mbsync -V @" "run mbsync to sync @" +macro index \eg "unset wait_keygpg --list-secret-keys; printf 'Enter email ID of user to publish: '; read eID; printf 'Enter fingerprint of GPG key to publish: '; read eFGPT; /usr/local/libexec/gpg-wks-client --create \$eFGPT \$eID | msmtp --read-envelope-from --read-recipients -a @" "publish GPG key to WKS provider" +macro index \eh "/usr/local/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a @" "confirm GPG publication" -- cgit v1.2.3