Add .muttrc

Private stuff is in ~/.mutt/muttrc-private.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-11-07 18:20:22 +03:00
parent 9fe1894b08
commit 3925b86aff
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

85
.muttrc Normal file
View File

@ -0,0 +1,85 @@
# 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 certificate_file = ~/.mutt/certificates # where to store certs
set mailcap_path = ~/.mutt/mailcap # entries for filetypes
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
#set delete # don't ask, just do
#unset confirmappend # don't ask, just do!
#set quit # don't ask, just do!!
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 = 'john.doe@gmail.com'
# Outgoing
#set smtp_url = 'smtp://john.doe@gmail.com@smtp.gmail.com:587/'
#set from = 'john.doe@gmail.com'
set realname = 'Alan Orth'
# include imap/smtp settings (above) from private file
source ~/.mutt/muttrc-private
# 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