brisbin33 /.muttrc

###
# main muttrc file
# source direct imap for quick new mail, slow everything else 
# source offline imap for delayed mail (3 min), wicked fast everything else
#
# vim: set ft=muttrc:
###

source /etc/Muttrc.gpg.dist 				# recommended at install

# direct imap or offlineimap, choose only one
#source ~/.mutt/muttrc.imap 				# directimap
source ~/.mutt/muttrc.offline 				# offlineimap 

# source your colors 
source ~/.mutt/colors					# colors file 

# directories and programs
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		# entrys for filetypes
set signature		= ~/.mutt/sig			# my signature file
set tmpdir		= ~/.mutt/temp			# where to keep temp files
set editor 		= /usr/bin/vim			# use vim to compose
set sendmail 		= /usr/bin/msmtp 		# use msmtp to send (requires setup)

# alias info
set alias_file 		= ~/.mutt/alias			# alias file
set sort_alias 		= alias				# sort alias file by alias
set reverse_alias 	= yes				# show names from alias file in index
source $alias_file					# required for functionality

# main options
set realname		= ""		# who am i?
set from 		= ""		# who am i?
set envelope_from					# which from?
set sig_dashes						# dashes before my sig... sweet
set timeout	 	= 0 				# timeout on what?
set mail_check		= 0				# check for mail always
unset move 						# gmail does that
unset record						# 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

# index options
set sort 		= threads			# like gmail 
set sort_aux 		= reverse-date-received		# like gmail
set strict_threads					# thread whenever possible 
set uncollapse_jump					# don't collapse on an unread message 
set reply_regexp 	= "^((re):[\t]*)*" 		# no need for german... 

# formats
set date_format 	= "%m/%d/%y at %I:%M%P"		# long date format
set index_format	= "%3C [%Z] %D %-15.15F %s"	# %-20.20F is key

# pager
set pager_index_lines 	= 8				# show 8 messages when in pager
set pager_context 	= 5 				# show five lines when skipping in pager
set pager_stop						# don't go to next message automatically
set menu_scroll						# scroll in menus 
set smart_wrap						# don't split words
set tilde						# show tildes like in vim
unset markers						# no ugly plus signs
auto_view text/html					# view html automatically
#auto_view application/pdf				# view pdfs automatically
#auto_view application/msword				# view word docs automatically
alternative_order text/enriched text/plain text/html	# save html for last
set quote_regexp	= "[a-zA-Z]*[>:#]"		# does this even work?
set attribution 	= "On %d, %n wrote:"		# set attribution in quotes
set post_indent_string 	= "--- end quoted text ---"	# does this even work?

# composing mail
set edit_headers					# show headers when composing
set fast_reply						# skip to compose when replying
set askcc						# ask for CC:
set fcc_attach						# forward attachments
set forward_format 	= "Fwd: %s"			# format for subject when forwarding
unset metoo						# don't reply to me
unset reply_self					# i said, don't reply to me!
set reply_to						# can't remember...
set include						# include message in replies
set forward_quote					# include message in forwards
set ispell 		= "aspell -e -c"		# use aspell as ispell

# headers to show
ignore *						# ignore all headers
unignore from: to: cc: date: subject:			# show only these
hdr_order from: to: cc: date: subject:			# and in this order

# keybindings
bind pager  	previous-line
bind pager  	next-line
bind pager [ 		previous-unread
bind pager ] 		next-unread
bind pager / 		search
macro index "I" 	"!" 	"Go to Inbox"
macro index "A"		"all" 		"Show all messages"