/
muttrc
119 lines (92 loc) · 3.77 KB
/
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
set imap_user="my_email"
set imap_pass="my_password"
set spoolfile=imaps://imap.gmail.com:993/INBOX
set folder=imaps://imap.gmail.com:993
set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
set header_cache="~/.mutt/cache/headers"
set message_cachedir="~/.mutt/cache/bodies"
set certificate_file="~/.mutt/certificates"
set move=no
set sort='reverse-threads'
set sort_aux='last-date-received'
set imap_check_subscribed
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
set from="my_email"
set realname="my_realname"
set editor='vim'
unset imap_passive
set imap_keepalive=300
set markers=no
# mutt sidebar settings
#bind index,pager CP sidebar-prev
#bind index,pager CN sidebar-next
#bind index,pager CO sidebar-open
#macro index,pager B '<enter-command>toggle sidebar_visible<enter>'
#color sidebar_new yellow default
bind index G imap-fetch-mail
set smtp_url="smtp://username@smtp.gmail.com:587/"
set smtp_pass="my_password_of_smtp"
set imap_pass="my_password_of_smtp"
set signature="~/.mutt/.signature"
set pgp_autosign
send-hook "~f @alias.something" set pgp_sign_as=my_PGP_key
# key binds
bind compose p pgp-menu
macro compose Y pfy "send mail without GPG"
# -*- muttrc -*-
# # Colour settings for mutt.
# # Default colour definitions
color hdrdefault black cyan
color quoted red white
color signature brightblack white
color indicator brightwhite red
color attachment black green
color error red white
color message blue white
color search brightwhite magenta
color status brightyellow blue
color tree red white
color normal blue white
color tilde green white
color bold brightyellow white
color markers red white
# # Colour definitions when on a mono screen
mono bold bold
mono underline underline
mono indicator reverse
# # Colours for items in the reader
color header brightwhite cyan "^(From|Subject):"
color header red cyan "^X-Junked-Because: "
color header red cyan "^X-Virus-hagbard: .* FOUND"
mono header bold "^(From|Subject|X-Junked-Because|X-Virus-hagbard):"
# # Colours for items in the index
color index brightblue white ~N
color index brightgreen white "~N (~x hagbard\.davep\.org | ~h \"^In-[Rr]eply-[Tt]o: .*hagbard\.davep\.org\")"
color index red white ~F
color index black green ~T
color index brightwhite black ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D
# # Highlights inside the body of a message.
# # URLs
color body brightblue white "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*"
color body brightblue white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body brightblue white "news:[^ \">\t\r\n]*"
mono body bold "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "news:[^ \">\t\r\n]*"
# # email addresses
color body brightblue white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
# # Various smilies and the like
color body brightgreen white "<[Gg]>" # <g>
color body brightgreen white "<[Bb][Gg]>" # <bg>
color body brightgreen white " [;:]-*[)>(<|]" # :-) etc...
color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text.
color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text.
color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text.