]> git.friedersdorff.com Git - max/dotfiles.git/blob - mail/.mutt/common.mutt
Merge branch 'master' of git.friedersdorff.com:max/dotfiles
[max/dotfiles.git] / mail / .mutt / common.mutt
1 # Automatically render html emails.  Not sure if this is a good idea
2 auto_view text/html
3 alternative_order text/plain text/enriched text/html
4
5 # use abook for aliases
6 set alias_file=~/.aliases
7 set sort_alias= alias
8 source $alias_file
9 set query_command = "abook --mutt-query '%s'" 
10 macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
11
12 macro pager \cb "\
13 :set my_tmp_pipe_decode=\$pipe_decode\n\
14 :set pipe_decode\n\
15 |urlview\n\
16 :set pipe_decode=\$my_tmp_pipe_decode\n\
17 :unset my_tmp_pipe_decode\n" \
18 # call urlview to extract URLS out of a message
19
20 set text_flowed=yes
21 set reflow_text=yes
22 set editor="vim -v +':set textwidth=72' +'set fo=awq' +'set comments+=n:>'"
23
24 # Speed up folder switch
25 set sleep_time=0 
26
27 set sort=threads
28 set sort_aux=last-date-received
29
30 set fast_reply=yes
31
32 # Show message some message headers when reading mail
33 set pager_index_lines=10
34
35 # Show some context when paging through email
36 set pager_context=5
37
38 # Stop at the end of the email
39 set pager_stop=yes
40
41 # Remove all headers by default
42 ignore *
43 unignore from date subject to cc
44
45 # Use sidebar
46 set mail_check_stats
47 set sidebar_visible=yes
48 set sidebar_width=25
49 set sidebar_folder_indent=yes
50 set sidebar_short_path=yes
51 set sidebar_divider_char='│'
52 set sidebar_format='%B%* %N'
53
54 bind index,pager \CP sidebar-prev
55 bind index,pager \CN sidebar-next
56 bind index,pager \CO sidebar-open
57 unmailboxes *
58
59 # Attach mail when forwarding
60 set mime_forward=ask-no
61
62 # Dont flow to next message
63 set pager_stop=yes