1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/mutt/.muttrc
2017-01-03 21:21:33 +01:00

31 lines
1.4 KiB
Plaintext

folder-hook 'account.com.gmail.alrayyes' 'source ~/.mutt/account.com.gmail.alrayyes'
folder-hook 'account.nl.andthensome.ryan' 'source ~/.mutt/account.nl.andthensome.ryan'
source ~/.mutt/account.com.gmail.alrayyes
source ~/.mutt/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc
set move = no
set imap_keepalive = 900
# pgp stuff
set pgp_replyencrypt # now crypt_replyencrypt
set pgp_replysign # now crypt_replysign
set pgp_replysignencrypted # now crypt_replysignencrypted
set pgp_show_unusable=no
macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/account.com.gmail.alrayyes<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><enter-command>source ~/.mutt/account.nl.andthensome.ryan<enter><change-folder>!<enter>'
bind editor <space> noop
macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
macro index,pager d "<save-message>=[Gmail]/Trash<enter><enter>" "Trash"
# Gmail-style keyboard shortcuts
macro index,pager ga "<change-folder>=[Gmail]/All<tab><enter>" "Go to all mail"
macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
macro index,pager e "<enter-command>unset trash\n <delete-message>" "Gmail archive message" # different from Gmail, but wanted to keep "y" to show folders.
bind index G imap-fetch-mail