Skip to content

Instantly share code, notes, and snippets.

@agam
Created July 18, 2010 09:08
Show Gist options
  • Save agam/480251 to your computer and use it in GitHub Desktop.
Save agam/480251 to your computer and use it in GitHub Desktop.
# Basic settings
set from=account-here@gmail.com
set realname="real-name-here"
# Basic IMAP stuff
set imap_user="account-here@gmail.com"
set imap_pass="password-here"
#Remote folders
set folder="imaps://imap.gmail.com:993"
set spoolfile="+INBOX"
set postponed="+[Gmail]/Drafts"
set trash="imaps://imap.gmail.com/[Gmail]/Trash"
#Local folders
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
# SMTP stuff
set smtp_url="smtp://account-here@smtp.gmail.com:587/"
set smtp_pass="password-here"
# Keybindings
bind editor <space> noop
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index gs "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to Sent Mail"
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
# Misc
set move=no
set imap_keepalive=900
# Header stuff
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
# For better looks
set markers=no # don't put '+' at the beginning of wrapped lines
set pager_index_lines= 5 # how large is the index window?
set sort = 'threads'
set sort_aux = 'last-date-received'
# My Editor
set editor='vim + -c "set textwidth=72" -c "set wrap" -c "set nocp" -c "?^$"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment