.config/mutt/muttrc
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
source 'echo "$( pw=$(pass c3f); echo set my_pass=\"$pw\" )" |'
set sort='reverse-last-date-received'
set my_user='j3s'
set spoolfile=imaps://$my_user:$my_pass@mail.c3f.net/
set folder="imaps://mail.c3f.net/"
set record='=Sent'
set postponed='=Drafts'
set imap_check_subscribed
set timeout=5
set imap_keepalive=300
set mail_check=5
set realname='Jesse Olson'
set from='j3s@c3f.net'
set use_from=yes
set smtp_url=smtp://$my_user:$my_pass@mail.c3f.net:587
set ssl_starttls=yes
set ssl_force_tls=yes
set edit_headers=yes
set markers=no
set index_format="%2C %Z %D %-17.17n (%3l) %s"
set pager_format="%S [%C/%m] %l %n: %s"
set date_format="%Y-%m-%d %l:%M %p"
macro index a '<save-message>=Archive<enter>y'
macro index A '<pipe-message>git am<enter>j'
push '<change-folder> =<enter>'
color index blue default ~P
# Patch syntax highlighting
color body brightwhite default ^[[:space:]].*
color body yellow default ^(diff).*
color body brightwhite default ^(\s).*
color body cyan default ^(Signed-off-by).*
color body cyan default ^(Docker-DCO-1.1-Signed-off-by).*
color body brightwhite default ^(Cc)
color body yellow default "^diff \-.*"
color body brightwhite default "^index [a-f0-9].*"
color body brightblue default "^---$"
color body white default "^\-\-\- .*"
color body white default "^[\+]{3} .*"
color body green default "^[\+][^\+]+.*"
color body red default "^\-[^\-]+.*"
color body brightblue default "^@@ .*"
color body green default "LGTM"
color body brightmagenta default "-- Commit Summary --"
color body brightmagenta default "-- File Changes --"
color body brightmagenta default "-- Patch Links --"
color body green default "^Merged #.*"
color body red default "^Closed #.*"
color body brightblue default "^Reply to this email.*"
# GPG
set pgp_replyencrypt # now crypt_replyencrypt
set pgp_replysign # now crypt_replysign
set pgp_replysignencrypted # now crypt_replysignencrypted
set pgp_show_unusable=no