From bb4a92e4c29cfb8250ae0852bbbb9162c94efb66 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 23 Sep 2022 18:05:52 +0200 Subject: good config --- .config/mutt/accounts/2-gmail_br.muttrc | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .config/mutt/accounts/2-gmail_br.muttrc (limited to '.config/mutt/accounts/2-gmail_br.muttrc') diff --git a/.config/mutt/accounts/2-gmail_br.muttrc b/.config/mutt/accounts/2-gmail_br.muttrc new file mode 100644 index 0000000..4c3b748 --- /dev/null +++ b/.config/mutt/accounts/2-gmail_br.muttrc @@ -0,0 +1,43 @@ +# vim: filetype=neomuttrc +# muttrc file for account bousset.rudy@gmail.com +set realname = "Rudy Bousset" +set from = "bousset.rudy@gmail.com" +set sendmail = "msmtp -a gmail_br" +alias me Rudy Bousset +set folder = "$MAIL/gmail_br" +set header_cache = $XDG_RUNTIME_DIR/mutt/gmail_br/headers +set message_cachedir = $XDG_RUNTIME_DIR/mutt/gmail_br/bodies +set mbox_type = Maildir +set crypt_autosign = yes + +bind index,pager gg noop +bind index,pager g noop +bind index,pager M noop +bind index,pager C noop +bind index gg first-entry +bind pager gg top +bind pager G bottom +macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmail_br" "run mbsync to sync bousset.rudy@gmail.com" +unmailboxes * + +mailboxes "=INBOX" "=[Gmail]/Sent Mail" "=[Gmail]/Drafts" "=[Gmail]/Spam" "=[Gmail]/Trash" "=Keep" + +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" +set spoolfile = "+INBOX" +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" +set record = "+[Gmail]/Sent Mail" +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" +set postponed = "+[Gmail]/Drafts" +macro index,pager gS "=[Gmail]/Spam" "go to spam" +macro index,pager MS ";=[Gmail]/Spam" "move mail to spam" +macro index,pager CS ";=[Gmail]/Spam" "copy mail to spam" +macro index,pager gt "=[Gmail]/Trash" "go to trash" +macro index,pager Mt ";=[Gmail]/Trash" "move mail to trash" +macro index,pager Ct ";=[Gmail]/Trash" "copy mail to trash" +set trash = "+[Gmail]/Trash" -- cgit v1.2.3