From 538d9d4eb2994945a648fbb8c78d955a744eb5a8 Mon Sep 17 00:00:00 2001
From: A Farzat
Date: Thu, 17 Oct 2024 16:06:51 +0900
Subject: Add mutt settings
---
.config/mutt/accounts/a@farzat.xyz.muttrc | 47 +++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 .config/mutt/accounts/a@farzat.xyz.muttrc
(limited to '.config/mutt/accounts/a@farzat.xyz.muttrc')
diff --git a/.config/mutt/accounts/a@farzat.xyz.muttrc b/.config/mutt/accounts/a@farzat.xyz.muttrc
new file mode 100644
index 0000000..cccdf01
--- /dev/null
+++ b/.config/mutt/accounts/a@farzat.xyz.muttrc
@@ -0,0 +1,47 @@
+# vim: filetype=neomuttrc
+# muttrc file for account a@farzat.xyz
+set realname = "A Farzat"
+set from = "a@farzat.xyz"
+set sendmail = "msmtp -a a@farzat.xyz"
+alias me A Farzat
+set folder = "$MAILDIR/a@farzat.xyz/"
+set header_cache = "$XDG_CACHE_HOME/mutt/a@farzat.xyz/headers"
+set message_cachedir = "$XDG_CACHE_HOME/mutt/a@farzat.xyz/bodies"
+set mbox_type = Maildir
+source "$XDG_CONFIG_HOME/mutt/switch.muttrc"
+set spoolfile = +INBOX
+set postponed = +Drafts
+set trash = +Trash
+set record = +Sent
+
+macro index o "tmux split-window -dl 25% 'mailsync a@farzat.xyz'" "run mbsync to sync a@farzat.xyz"
+
+mailboxes `mdir="$MAILDIR/a@farzat.xyz/"; find "$mdir" -mindepth 1 -type d -name cur | sed -e 's:/cur$:":' -e "s:$mdir:\"=:" | sort | tr '\n' ' '`
+
+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 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 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,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 ga "=Archive" "go to archive"
+macro index,pager Ma ";=Archive" "move mail to archive"
+macro index,pager Ca ";=Archive" "copy mail to archive"
+
+set crypt_use_gpgme = yes
+set postpone_encrypt = yes
+set pgp_self_encrypt = yes
+set crypt_use_pka = no
+set crypt_auto_sign = yes
+set crypt_auto_encrypt = no
+set crypt_auto_pgp = yes
+set pgp_sign_as = 0xA7206A29A965D708
--
cgit v1.2.3-70-g09d2