dotfiles/.muttrc

78 lines
3.3 KiB
Plaintext

# Mutt configuration file
# See: http://stevelosh.com/blog/2012/10/the-homely-mutt/#configuring
# See: http://www.linuxuser.co.uk/tutorials/get-started-with-mutt
# Paths
set alias_file = ~/.mutt/alias # where to store aliases
set header_cache = ~/.mutt/cache/headers # where to store headers
set message_cachedir = ~/.mutt/cache/bodies # where to store bodies
set tmpdir = ~/.mutt/temp # where to keep temp files, must exist
set signature = ~/.signature.gmail # signature file
# Basic Options
set wait_key = no # shut up, mutt
set mbox_type = Maildir # mailbox type
set timeout = 15 # idle time before scanning (seconds)
set mail_check = 60 # minimum time between scans (seconds)
unset move # gmail does that
unset mark_old # read/new is good enough for me
set beep_new # bell on new mails
set pipe_decode # strip headers and eval mimes when piping
set thorough_search # strip headers and eval mimes before searching
# Header Options
# Hide some of the extra email headers we don't care about
ignore * # ignore all headers
unignore from: to: cc: bcc: date: subject: # show only these
unhdr_order * # some distros order things by default
hdr_order from: to: cc: bcc: date: subject: # and in this order
# Incoming
set imap_user = 'alan.orth@gmail.com'
# Outgoing
set smtp_url = 'smtp://alan.orth@gmail.com@smtp.gmail.com:587/'
set from = 'alan.orth@gmail.com'
set realname = 'Alan Orth'
# Mailbox settings
set folder = 'imaps://imap.gmail.com/'
set spoolfile = '+INBOX' # '+' is a shortcut for the folder path
set record = '' # don't save sent mails to Sent folder, gmail does this
set postponed = '+[Gmail]/Drafts'
# Check all labels/folders
set imap_check_subscribed
# Index configuration (main screen)
# Index view Options ---------------------------------
set date_format = '%m/%d'
set index_format = '[%Z] %D %-20.20F %s'
set sort = threads # like gmail
set sort_aux = reverse-last-date-received # like gmail
set uncollapse_jump # don't collapse on an unread message
set sort_re # thread based on regex
set reply_regexp = '^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*'
# Index key Bindings ---------------------------------
bind index gg first-entry
bind index G last-entry
# Writing mail
set envelope_from # which from?
set sig_dashes # dashes before sig
set edit_headers # show headers when composing
set fast_reply # skip to compose when replying
set fcc_attach # save attachments with the body
unset mime_forward # forward attachments as part of body
set forward_format = 'Fwd: %s' # format of subject when forwarding
set forward_decode # decode when forwarding
set attribution = 'On %d, %n wrote:' # format of quoting header
set reply_to # reply to Reply to: field
set reverse_name # reply as whomever it was to
set include # include message in replies
set forward_quote # include message in forwards
# Color scheme
source ~/.mutt-colors-solarized-dark-16.muttrc