Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

136 lines (112 sloc) 4.429 kB
set reverse_name
set from = "crodjer@gmail.com"
set realname = "Rohan Jain"
alternates "mail.rohanjain@gmail.com|rohan@policyinnovations.in"
# IMAP and SMTP settings
set imap_user = "crodjer@gmail.com"
set imap_pass = `gpg --decrypt $imap_user ~/.passfile.gpg`
set smtp_url = "smtp://crodjer@smtp.gmail.com:587/"
set smtp_pass = $imap_pass
set folder = "imaps://imap.gmail.com:993/"
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 o display-message
bind index - collapse-thread
bind index \# noop
bind editor <space> noop
bind editor <TAB> complete-query
bind editor \Ct complete
#Saving/Archiving
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"
#Deleting
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"
#Sending
macro compose y "<send-message>" "Send message"
#Pipes
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
# Configure some variables
set imap_keepalive = 500
set move = no
set copy = yes
unset record
set delete = yes
set edit_headers = yes
set autoedit = no
set beep = no
set beep_new = yes
set check_new = no
set include = yes
set attribution = "On %d, %n wrote:"
set index_format = "%Z %M | %D | %-20.20F %s"
set date_format = "%H:%M %Z / %e %b"
set followup_to = no
set honor_followup_to = no
# Google contacts
set query_command = "goobook query %s"
set query_format = "%4c %t %-40.40a %-40.40n %?e?(%e)?"
# Mailing list
subscribe django-developers@googlegroups.com
subscribe xmonad@haskell.org
subscribe overnite-2012@googlegroups.com
subscribe agfe08@googlegroups.com
# Theme
# SMIME
#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"
Jump to Line
Something went wrong with that request. Please try again.