~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.config/mutt/muttrc -rw-r--r-- 3.7 KiB
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 4 months ago
                                                                                
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Greg Anders (gpanders)'s muttrc <https://github.com/gpanders/dotfiles.git>

# Settings for handling MIME types
set mailcap_path = ~/.config/mutt/mailcap
alternative_order text/calendar text/plain text/enriched text/html
unauto_view *
auto_view text/calendar
auto_view text/html
auto_view text/x-diff
auto_view text/x-patch
set allow_ansi

set realname = "Greg Anders"
set editor = "`echo \$EDITOR`"
set use_from = yes
set use_envelope_from = yes

# Skip to compose when replying
set fast_reply

# Format of subject when forwarding
set forward_format = "Fwd: %s"

# Decode when forwarding
set forward_decode

# Format of quoting header
set attribution = "On %{!%a, %d %b %Y at %I:%M %p}, %n wrote:"

# Reply to Reply to: field
set reply_to

# Reply as whomever it was to
set reverse_name

# Include message in replies
set include

# Include message in forwards
set forward_quote

# Time before Mutt gives up waiting for user input (default is 600)
set timeout = 10

# Force UTF-8
set send_charset = "utf-8"

# Require that all connections to remote servers be encyrpted
set ssl_force_tls = yes

# Enable text_flowed formatting
set text_flowed

# Don't mark messages as "old" if they're still unread
set mark_old = no

# Don't ask to append messages to a mailbox
set confirmappend = no

# Don't ask to delete messages, just do it
set delete = yes

# Don't move cursor after applying an action to a message (e.g. deleting or tagging)
set resolve = no

# Automatically apply actions to all tagged messages. This is how most modern
# email clients work anyway
set auto_tag = yes

# Format of directory listings when using <change-folder>
set folder_format = "%t %N %-20.20f %?n?%8n?"

# Remove delay between switching folders
set sleep_time = 0

# Ignore all headers except the ones listed
ignore *
unignore from: to: cc: date: subject:

# Reset header order
unhdr_order *
hdr_order from: to: cc: date: subject:

# Index view options
set date_format = "%b %d %I:%M %p"
set index_format = " [%Z]  %-9@date@  %-20.20F  %s"
index-format-hook date "~d<1d" "Today"
index-format-hook date "~d<2d" "Yesterday"
index-format-hook date "~d<1w" "%[%A]"
index-format-hook date "~d<1y" "%[%b %d]"
index-format-hook date "~A"    "%[%b %y]"

set sort = threads
set sort_aux = reverse-last-date-received
set sort_re
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set pager_index_lines = 10
set pager_context = 3
set pager_stop
set menu_scroll

# Pad bottom of pager with tildes (like vim)
set tilde

# Don't show + signs for wrapped lines
unset markers

set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
alternative_order text/plain text/enriched text/html

# Colorized diffs and patches
source ~/.config/mutt/diffs.rc

# Cache message headers and bodies
set message_cachedir = ~/.cache/mutt/
set header_cache = ~/.cache/mutt/

# Where to store certificates
set certificate_file = ~/.cache/mutt/certificates

# Don't show an indicator when mailbox is unchanged
set status_chars = " *%A"

# Allow Mutt to open a new IMAP connection automatically
unset imap_passive

# Keep the IMAP connection alive by polling intermittently (time in seconds)
set imap_keepalive = 300

# How often to check for new mail (time in seconds)
set mail_check = 60

# Colorscheme
source ~/.config/mutt/colors/base16.muttrc

# Bindings
source ~/.config/mutt/bindings.rc

# Sidebar
ifdef sidebar "source ~/.config/mutt/sidebar.rc"

# GPG
source ~/.config/mutt/gpg.rc

# Set up notmuch virtual mailboxes
ifdef notmuch "set nm_default_uri = notmuch://`notmuch config get database.path`"
# ifdef notmuch "source ~/.config/mutt/notmuch.rc"

source ~/.config/mutt/gmail.rc
folder-hook $folder source ~/.config/mutt/gmail.rc

source ~/.config/mutt/gpanders.rc
folder-hook $folder source ~/.config/mutt/gpanders.rc

# vim: ft=neomuttrc