aboutsummaryrefslogtreecommitdiff
path: root/mutt/muttrc
blob: 8b2af628a3da0bf1e963818d37c0e9dd8b524d16 (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
# vim: filetype=neomuttrc
#source /usr/local/share/mutt-wizard/mutt-wizard.muttrc
source /home/sn4il/.config/mutt/accounts/account1.muttrc
set sidebar_visible = yes

set sidebar_width = 15

set sidebar_folder_indent = yes

set sidebar_short_path = yes
bind index,pager \CB sidebar-toggle-visible
bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open
macro index,pager i1 '<sync-mailbox><enter-command>source /home/sn4il/.config/mutt/accounts/account1.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to account1"
macro index,pager i2 '<sync-mailbox><enter-command>source /home/sn4il/.config/mutt/accounts/account2.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to account2"
macro index,pager \cV ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; unset pipe_decode\n" "call w3m to extract URLs out of a message"


set mailcap_path  = ~/.mailcap
auto_view text/html

macro index A \
    "<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \
    "mark all new as read"

###############################################################################
# Dracula Theme for Mutt: https://draculatheme.com/
#
# @author Paul Townsend <paul@caprica.org>

# general ------------ foreground ---- background -----------------------------
color error             color231        color212
color indicator         color231        color241
color markers           color210        default
color message           default         default
color normal            default         default
color prompt            default         default
color search            color84         default
color status            color141        color236
color tilde             color231        default
color tree              color141        default

# message index ------ foreground ---- background -----------------------------
color index             color210        default         ~D # deleted messages
color index             color84         default         ~F # flagged messages
color index             color117        default         ~N # new messages
color index             color212        default         ~Q # messages which have been replied to
color index             color215        default         ~T # tagged messages
color index             color141        default         ~v # messages part of a collapsed thread

# message headers ---- foreground ---- background -----------------------------
color hdrdefault        color117        default
color header            color231        default         ^Subject:.*

# message body ------- foreground ---- background -----------------------------
color attachment        color228        default
color body              color231        default         [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+               # email addresses
color body              color228        default         (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+        # URLs
color body              color231        default         (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text
color body              color231        default         (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)     # _underlined_ text
color body              color231        default         (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)     # /italic/ text
color quoted            color61         default
color quoted1           color117        default
color quoted2           color84         default
color quoted3           color215        default
color quoted4           color212        default
color signature         color212        default