summaryrefslogtreecommitdiff
path: root/.config/mutt/accounts/Farzat.uni@outlook.com.muttrc
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-10-17 16:06:51 +0900
committerA Farzat <a@farzat.xyz>2024-11-02 16:06:52 +0900
commit538d9d4eb2994945a648fbb8c78d955a744eb5a8 (patch)
tree6031f5b345e0bfd5653c42ddb487e8b7a14ee124 /.config/mutt/accounts/Farzat.uni@outlook.com.muttrc
parent458cf42c35a9e760d22f9bb6e55c55b2fd66f34a (diff)
downloaddotfiles-538d9d4eb2994945a648fbb8c78d955a744eb5a8.tar.gz
dotfiles-538d9d4eb2994945a648fbb8c78d955a744eb5a8.zip
Add mutt settings
Diffstat (limited to '.config/mutt/accounts/Farzat.uni@outlook.com.muttrc')
-rw-r--r--.config/mutt/accounts/Farzat.uni@outlook.com.muttrc38
1 files changed, 38 insertions, 0 deletions
diff --git a/.config/mutt/accounts/Farzat.uni@outlook.com.muttrc b/.config/mutt/accounts/Farzat.uni@outlook.com.muttrc
new file mode 100644
index 0000000..427f507
--- /dev/null
+++ b/.config/mutt/accounts/Farzat.uni@outlook.com.muttrc
@@ -0,0 +1,38 @@
+# vim: filetype=neomuttrc
+# muttrc file for account Farzat.uni@outlook.com
+set realname = "A Farzat"
+set from = "Farzat.uni@outlook.com"
+set sendmail = "msmtp -a Farzat.uni@outlook.com"
+alias me A Farzat <Farzat.uni@outlook.com>
+set folder = "$MAILDIR/Farzat.uni@outlook.com/"
+set header_cache = "$XDG_CACHE_HOME/mutt/Farzat.uni@outlook.com/headers"
+set message_cachedir = "$XDG_CACHE_HOME/mutt/Farzat.uni@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 "<shell-escape>tmux split-window -dl 25% 'mailsync Farzat.uni@outlook.com'<enter>" "run mbsync to sync Farzat.uni@outlook.com"
+
+mailboxes `mdir="$MAILDIR/Farzat.uni@outlook.com/"; find "$mdir" -mindepth 1 -type d -name cur | sed -e 's:/cur$:":' -e "s:$mdir:\"=:" | sort | tr '\n' ' '`
+
+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"
+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 gj "<change-folder>=Junk<enter>" "go to junk"
+macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
+macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk"
+macro index,pager gt "<change-folder>=Deleted<enter>" "go to trash"
+macro index,pager Mt ";<save-message>=Deleted<enter>" "move mail to trash"
+macro index,pager Ct ";<copy-message>=Deleted<enter>" "copy mail to trash"
+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"
+macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
+macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive"
+macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"