blob: 0b2dab708f4af3ca9620e0a4d1242c5c12d03f81 (
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
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
|
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.
set header_cache = ~/.cache/mutt
# Store messages locally to speed things up, like searching message bodies.
# Can be the same folder as header_cache.
# This will cost important disk usage according to your e-mail amount.
set message_cachedir = "~/.cache/mutt"
set sidebar_visible = yes
set editor="vim + -c 'set ft=mail tw=80' -c ':0/^$'"
set sort=threads
###
#bind pager j next-line
#bind pager k previous-line
#bind attach,index,pager \CD next-page
#bind attach,index,pager \CU previous-page
#bind pager g top
#bind pager G bottom
#bind attach,index g first-entry
#bind attach,index G last-entry
###
# Folder hooks
folder-hook 'account.net.neodarz.neodarz' 'source ~/.mutt/account.net.neodarz.neodarz'
folder-hook 'account.net.neodarz.corentin.breton' 'source ~/.mutt/account.net.neodarz.corentin.breton'
# GPG commands
source ~/.mutt/gpg.rc
# Default account
source ~/.mutt/account.net.neodarz.neodarz
# Macros for switching accounts
macro index <f2> '<sync-mailbox><refresh><enter-command>source ~/.mutt/account.net.neodarz.neodarz<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><refresh><enter-command>source ~/.mutt/account.net.neodarz.corentin.breton<enter><change-folder>!<enter>'
# Fetch mail shortcut
bind index G imap-fetch-mail
macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
macro attach W <save-entry><kill-line>/home/neodarz/attachments/
macro attach E <save-entry><kill-line>/home/neodarz/attachments/<enter>
# Color
#source ~/.mutt/vombatidae.mutt
#source ~/.mutt/mutt-colors-solarized-dark-256.muttrc
# Default colour definitions
color hdrdefault default default
color quoted default default
color signature default default
color indicator black white
color attachment default default
color error default default
color message default default
color search brightwhite green
color status default default
color tree default default
color normal default default
color tilde default default
color bold default default
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 default "^(From|Subject|Date|To|User-Agent):"
color header red default "^X-Junked-Because: "
color header red default "^X-Virus-hagbard: .* FOUND"
mono header bold "^(Date|To|User-Agent|From|Subject|X-Junked-Because|X-Virus-hagbard):"
# Colours for items in the index
color index green default ~N
color index blue default ~O
color index green 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 black white "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*"
color body black white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body black 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 black 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.
|