summary refs log tree commit diff
path: root/mutt/muttrc
blob: a959277a7ef6584bfdf77cace0d143c654069a72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
set mbox_type = Maildir
set folder = "~/Documents/Mail/"
set spoolfile = "+Inbox"
set postponed = "+Drafts"
set record = "+Sent"
unset move

set signature = ~/.config/mutt/signature

alternates .*@gaiwan.org

set wait_key = no
# set delete
# unset confirmappend
# set quit
unset mark_old

set status_on_top = yes
set status_format = "%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? %>-%?p?( %p postponed ) "
set help = no

ignore *
unignore from: to: cc: date: subject:
unhdr_order *
hdr_order from: to: cc: date: subject:

set markers = no
unset user_agent
set sort = threads
set sort_aux = reverse-last-date-received
set date_format = "%m/%d"
set index_format="[%Z] %D %-16.16F  %s"

# Mailcap
alternative_order text/plain text text/html
set mailcap_path = ~/.config/mutt/mailcap
auto_view text/html

# macro pager \Cu "|urlscan -cd<enter>" "call urlscan to open links

macro index,pager,attach,compose \Cb "\
<enter-command> set my_pipe_decode=\$pipe_decode pipe_decode<Enter>\
<pipe-message> urlview<Enter>\
<enter-command> set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<Enter>" \
"call urlview to extract URLs out of a message"

# Colours
color normal              default default
color attachment    bold  default default
color hdrdefault             cyan default
color indicator           default red
color quoted              default yellow
color signature              cyan default
color status      reverse default default
color tilde                  blue default
color tree                default default

color index red default ~P
color index red default ~D
color index default yellow ~T

color header brightdefault default ^From:
color header brightdefault default ^To:
color header brightdefault default ^Date:
color header brightdefault default ^Cc:
color header brightdefault default ^Subject:

# emails and urls
color body brightdefault default [\-\.+_a-zA-Z0-9]+@[\-\ea-zA-Z0-9]+
color body brightdefault default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+