From 03c32e108e694be34d67ef54bb7bcb1abb402a5a Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 11 Jan 2011 13:50:07 +0100 Subject: Added mutt configuration --- muttrc | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 muttrc (limited to 'muttrc') diff --git a/muttrc b/muttrc new file mode 100644 index 0000000..23491d4 --- /dev/null +++ b/muttrc @@ -0,0 +1,98 @@ +### +# ~/.muttrc +### + +# directories and commands +set alias_file = ~/.mutt/alias #alias file +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 +set editor = "/usr/bin/vim +/^$" # use vim and skip to first blank + # line + +# main options +set mbox_type = Maildir # mailbox type +set folder = ~/Mail # mailbox location +set spoolfile = "+arch/INBOX" # arch is the default inbox +set timeout = 3 # idle time before scanning +set mail_check = 0 # minimum time between scans +set sort_alias = alias # sort alias file by alias +set reverse_alias # show names from alias file in index +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 + +# index options +set sort = threads # like gmail +set sort_aux = last-date-received # not like gmail +set uncollapse_jump # don't collapse on an unread message +#set sort_re # thread based on regex + +# pager options +set pager_index_lines = 10 # number of index lines to + # show +set pager_context = 5 # number of context lines + # to show +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 +alternative_order text/plain text/enriched text/html # save html for last +set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" + +# formats +#set date_format = "%m/%d/%y at %I:%M%P" +set index_format = "%3C [%Z] %D %-15.15F %s" +set alias_format = "%4n %t %-20a %r" + +# composing mail +set realname = "Tom Willemsen" # who am I? +set envelope_from # which from? +set sig_dashes # dashes before my sig... sweet +set edit_headers # show headers when composing +set fast_reply # skip to compose when replying +set askcc # ask for CC: +set fcc_attach # save attachments with the body +unset mime_forward # forward attachments as part fo body +set forward_format = "Fwd: %s" # format for subject when forwarding +set forward_decode # decode when forwarding +set attribution = "On %d, %n wrote:" # set the attribution +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 inforwards + +# 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 + +# boxes +mailboxes +arch/INBOX #+arch/archive +arch/sent +arch/drafts +arch/spam +arch/trash +mailboxes +gmail/INBOX #+gmail/archive +gmail/sent +gmail/drafts +gmail/spam +gmail/trash +mailboxes +iactor/INBOX #+iactor/INBOX.Admin +iactor/INBOX.Important +iactor/INBOX.Intern +iactor/INBOX.Taken +iactor/Sent +iactor/Drafts +iactor/Trash + +# always sourced +source $alias_file # required for functionality +source ~/.mutt/colors.muttrc # source colors file +source ~/.mutt/sidebar.muttrc # any muttng options are here +source ~/.mutt/arch.muttrc # source arch as default + +# account specific sources +folder-hook arch/* source ~/.mutt/arch.muttrc +folder-hook gmail/* source ~/.mutt/gmail.muttrc +folder-hook iactor/* source ~/.mutt/iactor.muttrc + +# macros +macro index I "!" "go to Inbox" +macro index Z "/usr/bin/offlineimap -q -o" "sync IMAP" -- cgit v1.2.3-54-g00ecf