1-gmail.muttrc (1974B)
1 # vim: filetype=neomuttrc 2 # muttrc file for account gmail 3 set realname = "Beau Hilton" 4 set from = "cbeauhilton@gmail.com" 5 set sendmail = "msmtp -a gmail" 6 alias me Beau Hilton <cbeauhilton@gmail.com> 7 set folder = "/home/beau/.local/share/mail/gmail" 8 set header_cache = /home/beau/.cache/mutt-wizard/gmail/headers 9 set message_cachedir = /home/beau/.cache/mutt-wizard/gmail/bodies 10 set mbox_type = Maildir 11 12 bind index,pager gg noop 13 bind index,pager g noop 14 bind index,pager M noop 15 bind index,pager C noop 16 bind index gg first-entry 17 macro index o "<shell-escape>mailsync -V gmail<enter>" "run mbsync to sync gmail" 18 unmailboxes * 19 20 set spoolfile = "+INBOX" 21 set record = "+[Gmail].Sent\ Mail" 22 set postponed = "+[Gmail].Drafts" 23 set trash = "+[Gmail].All\ Mail" 24 mailboxes "=INBOX" "=[Gmail].Drafts" "=newsletters" "=[Gmail].Sent\ Mail" "=eras" "=NoteToSelf" "=[Gmail].Spam" "=stuff" "=[Gmail].Important" "=[Gmail].Starred" "=[Gmail].Trash" "=newsletters.github" "=newsletters.medicine" "=[Gmail].All\ Mail" 25 macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated 26 macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated 27 macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated 28 macro index,pager gs "<change-folder>=[Gmail].Sent\ Mail<enter>" "go to sent" # mw-autogenerated 29 macro index,pager gd "<change-folder>=[Gmail].Drafts<enter>" "go to drafts" # mw-autogenerated 30 macro index,pager gt "<change-folder>=[Gmail].Trash<enter>" "go to trash" # mw-autogenerated 31 macro index,pager gS "<change-folder>=[Gmail].Spam<enter>" "go to spam" # mw-autogenerated 32 macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages" 33 macro index,pager ga "<change-folder>=[Gmail].All\ Mail<enter>" "Go to all mail" 34 macro index,pager d "<save-message>=[Gmail].All\ Mail<enter><enter>" "Trash (archive)" 35 macro index,pager y "<save-message>=[Gmail].All\ Mail<enter><enter>" "Archive"