# vim: filetype=neomuttrc # muttrc file for account ai.farzat@gmail.com set realname = "Farzat" set from = "ai.farzat@gmail.com" set sendmail = "msmtp -a ai.farzat@gmail.com" alias me Farzat set folder = "$MAILDIR/ai.farzat@gmail.com/" set header_cache = "$XDG_CACHE_HOME/mutt/ai.farzat@gmail.com/headers" set message_cachedir = "$XDG_CACHE_HOME/mutt/ai.farzat@gmail.com/bodies" set mbox_type = Maildir source "$XDG_CONFIG_HOME/mutt/switch.muttrc" set spoolfile = +INBOX set postponed = +[Gmail]/Drafts set trash = +[Gmail]/Bin set record = "+[Gmail]/Sent Mail" macro index o "tmux split-window -dl 25% 'mailsync ai.farzat@gmail.com'" "run mbsync to sync ai.farzat@gmail.com" mailboxes `mdir="$MAILDIR/ai.farzat@gmail.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 "=[Gmail]/Drafts" "go to drafts" macro index,pager Md ";=[Gmail]/Drafts" "move mail to drafts" macro index,pager Cd ";=[Gmail]/Drafts" "copy mail to drafts" macro index,pager gj "=[Gmail]/Spam" "go to junk" macro index,pager Mj ";=[Gmail]/Spam" "move mail to junk" macro index,pager Cj ";=[Gmail]/Spam" "copy mail to junk" macro index,pager gt "=[Gmail]/Bin" "go to trash" macro index,pager Mt ";=[Gmail]/Bin" "move mail to trash" macro index,pager Ct ";=[Gmail]/Bin" "copy mail to trash" macro index,pager gs "=[Gmail]/Sent Mail" "go to sent" macro index,pager Ms ";=[Gmail]/Sent Mail" "move mail to sent" macro index,pager Cs ";=[Gmail]/Sent Mail" "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"