dotfiles/.config/mutt/muttrc -rw-r--r-- 3.0 KiB View raw
                                                                                
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
source ~/.config/mutt/secret
source /etc/Muttrc.gpg.dist
set sort='reverse-last-date-received'
set imap_user='sir@cmpwn.com'
set imap_pass=$my_pass
set my_user='sir@cmpwn.com'
set spoolfile=imaps://$imap_user:$my_pass@mail.cmpwn.com/
set folder="imaps://mail.cmpwn.com/"
set record="=Sent"
set postponed="=Drafts"
set imap_check_subscribed
set timeout=5
unset imap_passive
set imap_keepalive=300
set mail_check=5
set realname='Drew DeVault'
set from='sir@cmpwn.com'
set use_from=yes
set smtp_url=smtp://$my_user:$my_pass@mail.cmpwn.com: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"
my_hdr X-GNU: Terry Pratchett
 
mailboxes =INBOX =TODO =Archive =Sent =wayland-devel =arch-general
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

message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp"

# Patch syntax highlighting                                                     
#color   normal  white           default                                         
color   body    brightwhite     default         ^[[:space:]].*                  
color   body    yellow          default         ^(diff).*                       
#color   body    white           default         ^[\-\-\-].*                     
#color   body    white           default         ^[\+\+\+].*                     
#color   body    green           default         ^[\+].*                         
#color   body    red             default         ^[\-].*                         
#color   body    brightblue      default         [@@].*                          
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.*"