-
Notifications
You must be signed in to change notification settings - Fork 1
/
muttrc
103 lines (89 loc) · 2.59 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
# Omar Sandoval's muttrc
## Site-specific
source ~/.mutt/muttrc.local
## Misc
# No delay when changing folders.
set sleep_time = 0
# Don't save copies of outgoing messages.
set copy = no
unset record
# Don't mark unread messages as old when leaving the mailbox.
set mark_old = no
## Sorting/threading
set sort = threads
set strict_threads = yes
set sort_browser = reverse-date
set sort_aux = reverse-last-date-received
## Index
# Scroll line-by-line on menus instead of by pages
set menu_scroll = yes
# vim-style bindings for positioning the current entry
bind index zt current-top
bind index zz current-middle
bind index z. current-middle
bind index zb current-bottom
# Override the list-reply binding
bind index L bottom-page
# Ctrl-[NP] are used for the sidebar, so use JK for threads
bind index J next-thread
bind index K previous-thread
# Don't skip over deleted messages
bind index j next-entry
bind index k previous-entry
bind index <Down> next-entry
bind index <Up> previous-entry
## Pager
# Show a small index while in the pager
set pager_index_lines = 10
# Don't move to the next message when scrolling past the end.
set pager_stop = yes
# Pad empty lines with tildes
set tilde = yes
# Make the pager more like less
bind pager j next-line
bind pager k previous-line
bind pager <Down> next-line
bind pager <Up> previous-line
bind pager d half-down
bind pager u half-up
## Folder browser
set folder_format = "%-7C %-7n %f"
## Macros
set pipe_split = yes
set pipe_decode = yes
macro index,pager ,s "<tag-prefix><pipe-message>mutt-save-patch.py<return>" "save tagged patches"
## Color scheme
# Basic colors
color normal default default
color attachment brightblack default
color error brightred default
color indicator default color254
color markers blue default
color message color29 default
color search default color11
color status white black
color tilde blue default
color tree blue default
# Index
color index default default "~A"
color index brightcolor29 default "~U" # Unread messages
# Headers
color hdrdefault brightblack default
# Body
color quoted red default
color quoted1 yellow default
color quoted2 green default
color quoted3 cyan default
color quoted4 blue default
color quoted5 magenta default
color signature color242 default
color bold brightblack default
color underline brightblack default
# Highlight patches
color body red default "^-.*"
color body green default "^[+].*"
color body cyan default "^@@.*"
color body brightblack default "^diff --git.*"
color body brightblack default "^index [a-f0-9].*"
color body brightblack default "^---.*"
color body brightblack default "^[+][+][+].*"