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/Farzat@outlook.com.muttrc | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .config/mutt/accounts/Farzat@outlook.com.muttrc (limited to '.config/mutt/accounts/Farzat@outlook.com.muttrc') diff --git a/.config/mutt/accounts/Farzat@outlook.com.muttrc b/.config/mutt/accounts/Farzat@outlook.com.muttrc new file mode 100644 index 0000000..21cdb65 --- /dev/null +++ b/.config/mutt/accounts/Farzat@outlook.com.muttrc @@ -0,0 +1,38 @@ +# vim: filetype=neomuttrc +# muttrc file for account Farzat@outlook.com +set realname = "Farzat" +set from = "Farzat@outlook.com" +set sendmail = "msmtp -a Farzat@outlook.com" +alias me Farzat +set folder = "$MAILDIR/Farzat@outlook.com/" +set header_cache = "$XDG_CACHE_HOME/mutt/Farzat@outlook.com/headers" +set message_cachedir = "$XDG_CACHE_HOME/mutt/Farzat@outlook.com/bodies" +set mbox_type = Maildir +source "$XDG_CONFIG_HOME/mutt/switch.muttrc" +set spoolfile = +INBOX +set postponed = +Drafts +set trash = +Deleted +set record = +Sent + +macro index o "tmux split-window -dl 25% 'mailsync Farzat@outlook.com'" "run mbsync to sync Farzat@outlook.com" + +mailboxes `mdir="$MAILDIR/Farzat@outlook.com/"; 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 "=Deleted" "go to trash" +macro index,pager Mt ";=Deleted" "move mail to trash" +macro index,pager Ct ";=Deleted" "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" -- cgit v1.2.3-70-g09d2