My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gmailrc 1.4KB

  1. #Change these for your Gmail:
  2. set realname = "Micah Halter"
  3. set from = ""
  4. set mbox_type = Maildir
  5. set sendmail = "/usr/bin/msmtp -a gmail"
  6. set folder = "~/.Mail/Gmail"
  7. set spoolfile = "+INBOX"
  8. set record = /dev/null
  9. set mbox = "+[Gmail].All Mail"
  10. set postponed = "+[Gmail].Drafts"
  11. macro index S '<sync-mailbox><enter-command>source ~/.config/mutt/gatechrc<enter><change-folder>!<enter>'
  12. macro index i "<shell-escape>offlineimap -q -a gmail -f INBOX<enter>" "sync current inbox"
  13. macro index I "<shell-escape>offlineimap -q -a gmail<enter>" "sync current inbox"
  14. macro index A ":set confirmappend=no delete=yes resolve=no\n<clear-flag>N<tag-prefix><save-message>=other<enter><sync-mailbox>:set confirmappend=yes delete=ask-yes resolve=yes\n" "Archive Message"
  15. macro pager A ":set confirmappend=no delete=yes resolve=no\n<save-message>=other<enter><sync-mailbox>:set confirmappend=yes delete=ask-yes resolve=yes\n" "Archive Message"
  16. bind index g noop
  17. macro index gi "<change-folder>=INBOX<enter><collapse-all>" "Go to inbox"
  18. macro index ga "<change-folder>=other<enter>" "Go to all mail"
  19. macro index gs "<change-folder>=[Gmail].Sent Mail<enter>" "Go to sent mail"
  20. macro index gt "<change-folder>=[Gmail].Trash<enter>" "Go to trash"
  21. macro index gd "<change-folder>=[Gmail].Drafts<enter>" "Go to drafts"