forked from whiteinge/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.muttrc
95 lines (75 loc) · 3.62 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
# Local #######################################################################
set realname = "Mircea Ulinic"
set mbox_type = Maildir
set folder=$HOME/Maildir
set spoolfile=+INBOX
set move = no
set smtp_authenticators = ‘gssapi:login’
# Reading Mail ################################################################
set sort = threads
set sort_aux = last-date-received
set move = no # move read msgs to your mbox folder?
set mark_old = no
set charset = utf-8
# Viewing Mail ################################################################
set mailcap_path = ~/.mailcap
auto_view text/html
ignore *
unignore Date: From: To: CC: Bcc: Subject:
hdr_order Subject: Date: From: To: CC: Bcc:
set index_format = "%{%b %d} %-15.15L [%Z] %s"
# Writing Mail ################################################################
set markers = no
set include = yes
set reverse_name = yes
set reverse_realname = no
# Sending Mail ################################################################
set ssl_force_tls = yes
set send_charset = "utf-8"
set copy = yes
# Folder hooks ################################################################
folder-hook 'net.mirceaulinic.ping' 'source $HOME/.mutt/net.mirceaulinic.ping'
folder-hook 'com.gmail.mircea.ulinic' 'source $HOME/.mutt/com.gmail.mircea.ulinic'
folder-hook 'com.cloudflare.mirucha' 'source $HOME/.mutt/com.cloudflare.mirucha'
# Default account
source $HOME/.mutt/com.gmail.mircea.ulinic
# Macros for switching accounts
macro index <f2> '<sync-mailbox><enter-command>source $HOME/.mutt/net.mirceaulinic.ping<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><enter-command>source $HOME/.mutt/com.gmail.mircea.ulinic<enter><change-folder>!<enter>'
macro index <f4> '<sync-mailbox><enter-command>source $HOME/.mutt/com.cloudflare.mirucha<enter><change-folder>!<enter>'
# Fetch mail shortcut
bind index G imap-fetch-mail
# Getting Around ##############################################################
bind editor <space> noop
# Color ######################################################################
color indicator default blue # current highlighted line
color tree blue default # threads arrow
color status blue white # top and bottom status
color index cyan default "~Q" # replied to
color index green default "~N" # new
color index green default "~O" # unread
color index green default "~U" # unread
color index blue default "~D" # deleted
color index magenta default "~F" # flagged
color header green default "^To:"
color header green default "^cc"
color header red default "^From:"
color header brightblue default "^date:"
color header brightyellow default "^subject"
color signature blue default
color attachment magenta default
color tilde blue default
color quoted green default
color quoted1 cyan default
color quoted2 brightgreen default
color quoted3 brightcyan default
# highlight URLs
color body yellow default "(finger|ftp|http|https|news|telnet)://[^ >]*"
color body yellow default "<URL:[^ ]*>"
color body yellow default "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
color body yellow default "mailto: *[^ ]+\(\\i?subject=[^ ]+\)?"
color body yellow default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
# highlight *bold* _underlined_ /italic/ text
color body brightwhite default "[^[:alnum:]][*_/][-_&!.,[:alnum:]]+[*_/][^[:alnum:]]"
color body brightwhite default "^[*_/][-_&!.,[:alnum:]]+[*_/][^[:alnum:]]"
color body brightwhite default "^[*_/][-_&!.,[:alnum:]]+[*_/]$"