Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
114 lines (91 sloc) 3.8 KB
set reverse_name
set from = ""
set realname = "Rohan Jain"
alternates "|"
# IMAP and SMTP settings
set imap_user = ""
set imap_pass = `gpg --decrypt $imap_user ~/.passfile.gpg`
set smtp_url = "smtp://"
set smtp_pass = $imap_pass
set folder = "imaps://"
set spoolfile = "=INBOX"
set postponed ="=[Gmail]/Drafts"
# set trash = "=[Gmail]/Trash"
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
set mail_check = 20
set timeout = 15
set alias_file = ~/.mutt/aliases
set sort_alias= alias
set reverse_alias= yes
source $alias_file
# Some keybindings
macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index,pager gr "<change-folder>=Recent<enter>" "Go to Recent Mail"
macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to All Mail"
macro index,pager gs "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to Sent Mail"
macro index,pager gt "<change-folder>=[Gmail]/Starred<enter>" "Go to Starred Mail"
macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
bind index,pager I flag-message
bind index,pager a group-reply
bind index - collapse-thread
bind index \# noop
bind editor <space> noop
bind editor <TAB> complete-query
bind editor \Ct complete
macro index y "<save-message>=Recent<enter><enter>" "Archive message"
macro index Y "<tag-thread><tag-prefix><save-message>=Recent<enter><enter>" "Archive thread"
macro index s "<copy-message>/tmp/incoming.mbox<enter>" "Save message"
macro index S "<tag-thread><tag-prefix><copy-message>/tmp/incoming.mbox<enter>" "Save thread"
macro pager y "<exit><save-message>=Recent<enter><enter>" "Archive message"
macro pager Y "<exit><tag-thread><tag-prefix><save-message>=Recent<enter><enter>" "Archive thread"
macro pager s "<exit><copy-message>/tmp/incoming.mbox<enter>" "Save message"
macro pager S "<exit><tag-thread><tag-prefix><copy-message>/tmp/incoming.mbox<enter>" "Save thread"
macro index d "<save-message>=[Gmail]/All Mail<enter><enter>" "Remove label for message"
macro index D "<tag-thread><tag-prefix><save-message>=[Gmail]/All Mail<enter><enter>" "Remove label for thread"
macro index P "<tag-thread><tag-prefix><save-message>=[Gmail]/Trash<enter>" "Delete thread"
macro pager d "<exit><save-message>=[Gmail]/All Mail<enter><enter>" "Remove label for message"
macro pager D "<exit><tag-thread><tag-prefix><save-message>=[Gmail]/All Mail<enter><enter>" "Remove label for thread"
macro compose y "<send-message>" "Send message"
macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
macro index,pager \ca "<pipe-message>goobook add<return>" "add the sender address to Google contacts"
# Moving around like vim
bind generic,index gg first-entry
bind generic,index G last-entry
bind pager gg top
bind pager G bottom
bind pager j next-line
bind pager k previous-line
bind pager \cn next-line
bind pager \cp previous-line
# For better looks
set markers = yes
set pager_index_lines = 5
set sort = "threads"
set sort_aux = "reverse-last-date-received"
unset collapse_unread
folder-hook . "push <collapse-all>\n"
set editor = "emacsclient -ct"
set mailcap_path = ~/.mailcap
auto_view text/html
alternative_order text/plain text/html text
# Google contacts
set query_command = "goobook query %s"
set query_format = "%4c %t %-40.40a %-40.40n %?e?(%e)?"
# Mailing list
# Theme
#set smime_ca_location="/usr/local/share/certs/ca-root.crt"
set crypt_autosign = no
set crypt_replyencrypt = no
set crypt_replysign = no
set crypt_replysignencrypted = no
set smime_certificates = "~/.smime/certificates/"
set smime_keys = "~/.smime/keys"
set smime_sign_as = "13a4ce4a.0"