4 # Mutt configuration file of Thomas Roessler <roessler@guug.de>.
6 # Use and distribute freely.
8 # Note: This file doesn't contain any personal customization, i.e.,
9 # using it won't make you send messages with my name in the header.
11 # Things to change: You probably want to change the "priv.rc" source
12 # command in the end of this file. Also, it's likely you want to have
13 # a look at the the $editor and $tmpdir variables.
20 auto_view application/ms-tnef text/x-vcard
21 auto_view application/x-chess application/x-lotus-notes
22 auto_view text/html application/x-gzip application/x-gunzip
23 auto_view application/rtf application/x-rath
24 auto_view application/msword
26 alternative_order application/pgp text/plain text/html text/enriched
33 # A few of these may resemble Pine. ups.
36 bind alias " " tag-entry
37 bind alias \n select-entry
38 bind alias \r select-entry
41 bind attach n next-entry
42 bind attach p previous-entry
43 bind attach " " select-entry
44 bind attach y print-entry
46 bind browser <end> last-entry
47 bind browser <home> first-entry
49 bind editor "\e<backspace>" kill-word
50 bind editor "\e<delete>" kill-word
51 bind editor "\e\t" complete-query
52 bind editor "\Ct" transpose-chars
54 bind generic "\CV" next-page
55 bind generic "\Ca" first-entry
56 bind generic "\Ce" last-entry
57 bind generic "\eV" previous-page
58 bind generic "\ev" previous-page
59 bind generic + tag-entry
60 bind generic ^ first-entry
61 bind generic a tag-prefix
62 bind generic $ last-entry
66 bind index "\Ce" last-entry # override edit-type
67 bind index "\eV" previous-page # override collapse-something
68 bind index "\e<" collapse-thread
69 bind index "\eq" query
70 bind index $ last-entry
71 bind index * flag-message
72 bind index <delete> delete-message
73 bind index <end> last-entry
74 bind index <home> first-entry
75 bind index J next-entry
76 bind index K previous-entry
78 bind index R group-reply
79 bind index \em recall-message
80 bind index a tag-prefix
82 bind index p previous-entry
83 bind index t create-alias
84 bind index x sync-mailbox
85 bind index y print-message
86 bind index n next-entry
87 bind index "\ev" previous-page
89 bind pager "\Cn" next-line
90 bind pager "\Cp" previous-line
91 bind pager + tag-message
92 bind pager <delete> delete-message
93 bind pager <down> next-line
94 bind pager <end> bottom
96 bind pager <up> previous-line
97 bind pager G group-reply
98 bind pager R group-reply
99 bind pager \em recall-message
100 bind pager t display-toggle-weed # like slrn
101 bind pager y print-message
105 # make it feel like emacs
107 macro generic "\ex" ":exec "
108 macro pager "\ex" ":exec "
109 macro generic "\eX" "\ex"
110 macro pager "\eX" "\ex"
113 # move messages to the pilot folder
115 macro index "\ew" "<decode-copy>+pilot\n" "Copy a message to the pilot folder."
116 macro pager "\ew" "<decode-copy>+pilot\n" "Copy a message to the pilot folder."
118 # for majordomo list owner and moderator jobs
120 macro index "\ea" ":set nopipe_decode wait_key\n|approve\n:set nowait_key\n"
121 macro pager "\ea" ":set nopipe_decode wait_key\n|approve\n:set nowait_key\n"
123 # emulate the old URL-browser key bindings.
125 macro pager "\Cb" "| urlview -\n"
126 macro index "\Cb" "| urlview -\n"
128 # permit limiting from the pager.
130 macro pager ";" "<exit><limit>"
132 # emulate the old POP-feature bindings
134 macro index G "!fetchmail\n"
135 macro pager G "!fetchmail\n"
137 macro compose "\ee" "Fpgp -eatf "
144 # This is a tiny hack, so I can get different
145 # color schemes on the console and under X11.
147 source ~/.mutt/colors.`if [ "$TERM" = "linux" ] ; then echo linux ; else echo default ; fi`
150 # mono body bold '\*[^*]+\*'
151 # mono body underline '_[^_]+_'
154 # The header weed list
158 ignore content- errors-to in-reply-to mime-version
159 ignore lines precedence status
160 ignore nntp-posting-host path old-return-path received references
161 ignore priority >received >>received
162 ignore resent- return-path xref path
163 ignore x400 importance sensitivity autoforward original-encoded-information
166 ignore list- comments posted-to approved-by
168 unignore x-spam x-url x-mailer
170 hdr_order from to cc date subject reply-to mail-followup-to
176 set abort_nosubject=no # Let me send messages with an empty subject
177 set abort_unmodified=no # Let me send empty messages
178 set alias_file=~/.mutt/aliases # Where to store aliases
179 unset allow_8bit # Produce correct MIME
180 unset arrow_cursor # Use the bar cursor
181 set askcc # Ask me about CCs
182 unset bounce_delivered # Don't include Delivered-to with bounces
183 set charset=iso-8859-1 # The local character set
184 set confirmcreate # Ask me about creating new files
185 unset confirmappend # Don't ask me about appending to files
186 set delete=yes # Don't ask me whether or not I meant to delete messages
187 set display_filter="tr '\240\204\223\226' ' \"\"-'" # fix some funny characters
188 set edit_hdrs # I want to edit the headers.
189 set editor="/usr/bin/jed %s -f 'flower_mode();'"
190 # Invoke jed with mail_mode. This may
191 # or may not work for you.
192 set envelope_from # set messages' envelope-from header.
193 set fcc_clear # Store local copies of messages in the clear.
194 set folder=~/Mail # Where my mail folders go
195 set followup_to # Create Mail-Followup-To headers.
196 unset force_name # Don't create save folders which don't exist.
197 set forward_decode # Decode messages when forwarding.
198 set forward_decrypt # Decrypt messages when forwarding.
199 set nohelp # No help line.
200 set include=yes # Always include a copy when replying.
201 set mark_old # Distinguish between seen (but unread) and new messages
202 set mbox=+mbox # The (unused) mbox file.
203 unset metoo # Remove me from CC headers.
204 set mime_fwd=ask-no # Ask me whether or not to create a MIME-encapsulated forward
205 set move=no # Don't use mbox
206 set pager_stop # Don't fall through to the next message in the pager
207 set pager_index_lines=0 # The pager index is ugly.
208 set pgp_replyencrypt # Encrypt when replying to encrypted messages.
209 set pgp_replysignencrypted # Sign when replying to encrypted messages.
210 set pgp_show_unusable="no" # Don't display unusable keys.
211 set pgp_sort_keys="keyid" # Sort keys by key ID
212 set pgp_replysign # Sign when replying to signed messages.
213 set pgp_timeout=3600 # Forget the PGP passphrase after an hour.
214 set pipe_decode # Decode messages I pipe to commands, typically to patch(1).
215 set postponed=~/.mutt/postponed # Where to put postponed messages
216 set print=ask-no # Don't waste paper
217 set print_cmd="enscript -Email -2 -r -G" # Two columns, landscape, fancy header.
218 set print_split=yes # Invoke enscript once per message
219 set quit=yes # Don't ask me whether or not I want to quit.
220 set quote_regexp="^ *[a-zA-Z]*[>|][>:|]*" # Recognize quotes in the pager.
221 set read_inc=50 # Progress indicator when reading folders.
222 set recall=ask-no # When I say "compose", ask me whether I want to continue
223 # composing a postponed message.
224 set record="+archive/now" # Put copies of most outgoing messages to ~/Mail/archive/now
225 set reply_to=ask-yes # Ask me whether I want to honor users' reply-to headers.
226 set reverse_alias # Use aliases to display real names on the index.
227 set save_name # Save copies by name. Together with $record and $save_name,
228 # this means that when a folder exists, copies of outgoing
229 # messages are written to ~/Mail/<name>, otherwise they go to
231 set signature=~/.signature # Silly signature
232 set sig_dashes # Add dashes above my signature
233 set smart_wrap # Try to be smart when wrapping around lines in the pager
234 set sort=threads # sort by threads,
235 set sort_aux=date # then by date
236 unset strict_threads # don't be strict about threads
237 # set suspend=no # Don't suspend - I usually run mutt like this: "xterm -e mutt"
238 set tilde # Indicate empty lines in the pager.
239 set tmpdir=~/.tmp # Temporary files aren't stored in public places.
240 set to_chars=" +TCF " # Don't tag list mail in the index
242 unset use_domain # Don't append a domain to addresses.
244 set write_inc=50 # Progress indicator when writing folders.
245 set query_command="lbdbq %s" # Use the Little Brother's Database with the external
247 set sendmail_wait=-1 # Put sendmail (i.e., postfix) to the background.
248 set encode_from # "From " in the beginning of a line triggers quoted-printable
249 set nowait_key # Return immediately from external programs
250 set forw_format="[fwd] %s (from: %a)" # A different subject for forwarded messages
251 set nobeep # Shut up. ;-)
252 set reply_regexp="^((re([\\[0-9\\]+])*|aw):[ \t]*)+[ \t]*" # A regular expression to detect replies
253 set header # Include the message header when replying.
254 set ignore_list_reply_to # Ignore Reply-To headers pointing to mailing lists.
255 set index_format="%4C %Z %{%b %d} %-15.15L (%4c) %s" # Somewhat different index format, which works
256 # nicely with maildir folders.
257 set rfc2047_parameters # Sometimes, I get mails which use a bogus encoding for
258 # MIME parameters. Setting this shouldn't harm.
259 set text_flowed # Generate text/plain; format=flowed
260 unset use_ipv6 # Don't try to use IPv6 - it doesn't work here.
261 set keep_flagged # don't move flagged messages to mbox
263 set status_format="-%r-+(%v) %f [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?]----%>-(%P)---"
264 set compose_format="--+(%v) Compose [Approx. msg size: %l Atts: %a]%>-"
265 set pager_format="-%Z- %C/%m: %.20n %> %s"
269 # PGP command configuration
270 # source ~/.mutt/pgp2.rc
271 source ~/.mutt/gpg.rc
274 # source non-public stuff, (hooks, alternates, ...)
275 source ~/.mutt/priv.rc
278 source ~/.mutt/aliases