muttrc 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Source default account configuration
  2. source "gpg2 -dq ~/.password-store/mutt/gmail.gpg |"
  3. # source "gpg2 -dq ~/.password-store/mutt/outlook.gpg |"
  4. # macro index gd "<change-folder>$postponed<enter>" "go to drafts"
  5. # macro index gs "<change-folder>$record<enter>" "go to sent"
  6. # macro index gi "<change-folder>$spoolfile<Enter>" "go to inbox"
  7. # macro index gt "<change-folder>$trash<enter>" "go to trash""
  8. # unmailboxes *
  9. # Macros for switching accounts
  10. macro index <f2> '<sync-mailbox><enter-command>source "gpg2 -dq ~/.password-store/mutt/gmail.gpg |"<enter><change-folder>!<enter>'
  11. macro index <f3> '<sync-mailbox><enter-command>source "gpg2 -dq ~/.password-store/mutt/outlook.gpg |"<enter><change-folder>!<enter>'
  12. # # # Macros to switch accounts
  13. # # macro index <f2> "<enter-command>unmailboxes *<enter><enter-command>source "gpg2 -dq ~/.password-store/mutt/gmail.gpg |"<enter><sync-mailbox><change-folder>!<enter>"
  14. # # macro index <f3> "<enter-command>unmailboxes *<enter><enter-command>source "gpg2 -dq ~/.password-store/mutt/outlook.gpg |"<enter><sync-mailbox><change-folder>!<enter>"
  15. # # Mappings
  16. # ## Fetch mail shortcut
  17. # bind index G imap-fetch-mail
  18. # # General settings
  19. # set editor='nvim'
  20. # # this might be helpfull
  21. # # https://linuxconfig.org/how-to-install-configure-and-use-mutt-with-a-gmail-account-on-linux
  22. # # https://gist.github.com/miguelmota/9456162
  23. # # https://gist.github.com/carlcidromero/90c3b531d897bc6a1be9099f47373f3e