-
Notifications
You must be signed in to change notification settings - Fork 1
/
neomuttrc
139 lines (108 loc) · 5.67 KB
/
neomuttrc
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
# https://github.com/wincent/wincent
# https://github.com/LukeSmithxyz/mutt-wizard
source $HOME/.config/neomutt/config/custom_colorscheme.mutt
source $HOME/.config/neomutt/config/bindings.mutt
source $HOME/.config/neomutt/config/macros.mutt
source $HOME/.config/neomutt/config/settings.mutt
# The sidebar shows a list of all your mailboxes.
set sidebar_visible
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
# Controls the format of the status line displayed in the “index” menu.
# Default value: -%r-NeoMutt: %D [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d?
# Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l?
# %l?]---(%s/%S)-%>-(%P)---
set status_format="-%r-NeoMutt: %D %?V?{%.35V}? [Msgs:%?M?%M/?%m%?n? \
New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? \
Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
# Controls whether mutt tries to set the terminal status line and icon name.
# Most terminal emulators emulate the status line in the window title.
set ts_enabled=yes
# ts_status_format: Controls the format of the terminal status line (or window
# title), provided that “$ts_enabled” has been set. This string is identical in
# formatting to the one used by “$status_format”.
set ts_status_format="NeoMutt: %D with %?m?%m messages&no messages?%?n? [%n NEW]?"
# ts_icon_format: Controls the format of the icon title, as long as
# “$ts_enabled” is set. This string is identical in formatting to the one used
# by “$status_format”.
set ts_icon_format=$ts_status_format
# A hook is a concept found in many other programs which allows you to execute
# arbitrary commands before performing some operation. For example, you may
# wish to tailor your configuration based upon which mailbox you are reading,
# or to whom you are sending mail. In the Mutt world, a hook consists of a
# regular expression or pattern along with a configuration option/command.
# index_format: this variable allows you to customize the message index display
# to your personal taste.
folder-hook . "set index_format='%4C %Z %?X?%2X& ? %D %-15.15L %b %s'"
folder-hook "notmuch://*" "set index_format='%4C %Z %?X?%2X& ? %D %-15.15L <notmuch> %s'"
# This variable controls the format of the date printed by the “%d” sequence in
# $index_format.
set date_format="%a %Y %b %e %Hh%M"
# This variable describes the format of the “attachment”.
set attach_format="%u%D%I %t%4n %T%.d%> [%m/%.10M, %e%?C?, %C?, %s]"
# This variable controls the format of the one-line message “status” displayed
# before each message in either the internal or an external pager
set pager_format="-%Z- %C/%m: %D %.40n \"%s\" %* -- (%P)"
# When set, mutt will periodically calculate message statistics of a mailbox
# while polling for new mail. It will check for unread, flagged, and total
# message counts.
set mail_check_stats
# When set, the message you are forwarding will be attached as a separate
# message/rfc822 MIME part instead of included in the main body of the message.
set mime_forward=ask-yes
# Controls whether or not Mutt includes only the first attachment of the message you are replying.
set include_onlyfirst=yes
# This quadoption controls whether or not the user is automatically placed in
# the editor when forwarding messages.
set forward_edit=no
# When set, the initial prompt for recipients and subject are skipped when
# replying to messages, and the initial prompt for subject is skipped when
# forwarding messages.
set fast_reply=yes
# When this variable is set, Mutt will decode RFC2047-encoded MIME parameters.
# You want to set this variable when mutt suggests you to save attachments...
set rfc2047_parameters=yes
# Header caching can greatly improve speed when opening POP, IMAP MH or Maildir
# folders
set header_cache=$HOME/.config/neomutt/.cache/mutt_cache/
# Specifies how to sort messages in the “index” menu.
set sort=threads
# Specifies how to sort entries in the file browser.
set sort_browser=date
# When sorting by threads, this variable controls how threads are sorted in
# relation to other threads, and how the branches of the thread trees are
# sorted.
set sort_aux=reverse-last-date-received
# This variable specifies which files to consult when attempting to display
# MIME bodies not directly supported by Mutt.
set mailcap_path=$HOME/.config/neomutt/mailcap
# This option allows you to edit the header of your outgoing messages along
# with the body of your message.
set edit_headers=yes
# When set along with $edit_headers, Mutt will skip the initial send-menu
# (prompting for subject and recipients) and allow you to immediately begin
# editing the body of your message.
set autoedit=yes
# The “unignore” command will make Mutt display headers with the given pattern.
unignore bcc:
# Controls whether Mutt will ask you to press a key after an external command
# has been invoked
set wait_key=no
set sleep_time = 0 # be fast
# The “forgotten-attachment” feature provides a new setting for NeoMutt that
# alerts the user if the message body contains a certain keyword but there are
# no attachments added.
set abort_noattach = ask-yes
set abort_noattach_regex = "\\<(attach|attached|attaching|attachments?)\\>|\\<anex|\\<annex"
# Mutt has some heuristics for determining which attachment of a
# multipart/alternative type to display:
# First, Mutt will check the alternative_order list to determine if one of the
# available types is preferred
# Next, Mutt will check if any of the types have a defined auto_view, and use
# that.
alternative_order text/plain text/html
auto_view text/html
# sourcing local configuration
source $HOME/.config/neomutt/neomuttrc.local
# sourcing files that depend on local configuration
source $HOME/.config/neomutt/config/notmuch.mutt
# vim:ft=muttrc