Blame


1 658af78f 2020-12-01 xhr ###############################################################################
2 658af78f 2020-12-01 xhr # mutt rc - xhr () giessen . ccc . de
3 658af78f 2020-12-01 xhr #
4 658af78f 2020-12-01 xhr # This file is a collection from various muttrc samples files. Credits belong
5 658af78f 2020-12-01 xhr # to the original authors ;)
6 658af78f 2020-12-01 xhr ###############################################################################
7 658af78f 2020-12-01 xhr
8 658af78f 2020-12-01 xhr ###############################################################################
9 658af78f 2020-12-01 xhr # Paths
10 658af78f 2020-12-01 xhr ###############################################################################
11 658af78f 2020-12-01 xhr
12 658af78f 2020-12-01 xhr set folder = ~/.mail/posteo-isync # mailbox location
13 658af78f 2020-12-01 xhr set alias_file = ~/.mutt/alias # where to store aliases
14 658af78f 2020-12-01 xhr set header_cache = ~/.mutt/cache/headers # where to store headers
15 658af78f 2020-12-01 xhr set message_cachedir = ~/.mutt/cache/bodies # where to store bodies
16 658af78f 2020-12-01 xhr set certificate_file = ~/.mutt/certificates # where to store certs
17 658af78f 2020-12-01 xhr set mailcap_path = ~/.mutt/mailcap # entries for filetypes
18 658af78f 2020-12-01 xhr set tmpdir = ~/.mutt/temp # where to keep temp files
19 658af78f 2020-12-01 xhr
20 658af78f 2020-12-01 xhr ###############################################################################
21 658af78f 2020-12-01 xhr # Config Includes
22 658af78f 2020-12-01 xhr ###############################################################################
23 658af78f 2020-12-01 xhr
24 658af78f 2020-12-01 xhr # S/MIME settings
25 658af78f 2020-12-01 xhr source ~/.mutt/smime.rc
26 658af78f 2020-12-01 xhr
27 658af78f 2020-12-01 xhr # Path to GPG include
28 658af78f 2020-12-01 xhr source /usr/local/share/examples/mutt/gpg.rc
29 658af78f 2020-12-01 xhr
30 658af78f 2020-12-01 xhr # Suck in alias file
31 658af78f 2020-12-01 xhr source ~/.mutt/alias
32 658af78f 2020-12-01 xhr
33 658af78f 2020-12-01 xhr # Color settings
34 658af78f 2020-12-01 xhr source ~/.mutt/color
35 658af78f 2020-12-01 xhr
36 658af78f 2020-12-01 xhr # SMTP server settings
37 658af78f 2020-12-01 xhr source ~/.mutt/smtp.rc
38 658af78f 2020-12-01 xhr
39 658af78f 2020-12-01 xhr # IMAP settings
40 658af78f 2020-12-01 xhr source ~/.mutt/imap.rc
41 658af78f 2020-12-01 xhr
42 658af78f 2020-12-01 xhr # Mailbox settings
43 658af78f 2020-12-01 xhr source ~/.mutt/mailbox.rc
44 658af78f 2020-12-01 xhr
45 658af78f 2020-12-01 xhr ###############################################################################
46 658af78f 2020-12-01 xhr # Encryption settings
47 658af78f 2020-12-01 xhr ###############################################################################
48 658af78f 2020-12-01 xhr
49 658af78f 2020-12-01 xhr # GPG passphrase timeout
50 658af78f 2020-12-01 xhr set pgp_timeout=600
51 658af78f 2020-12-01 xhr
52 658af78f 2020-12-01 xhr # use gpg-agent
53 658af78f 2020-12-01 xhr set pgp_use_gpg_agent = yes
54 658af78f 2020-12-01 xhr
55 658af78f 2020-12-01 xhr # Always encrypt GPG MINE and not inline
56 658af78f 2020-12-01 xhr unset pgp_autoinline
57 658af78f 2020-12-01 xhr
58 658af78f 2020-12-01 xhr # Reply to GPG msgs inline
59 658af78f 2020-12-01 xhr unset pgp_replyinline
60 658af78f 2020-12-01 xhr
61 658af78f 2020-12-01 xhr # Automatically send GPG as MIME if inline fails
62 658af78f 2020-12-01 xhr set pgp_mime_auto
63 658af78f 2020-12-01 xhr
64 658af78f 2020-12-01 xhr # Do not Automatically encrypt messages with GPG
65 658af78f 2020-12-01 xhr set pgp_autoencrypt = no
66 658af78f 2020-12-01 xhr
67 658af78f 2020-12-01 xhr #set pgp_encrypt_only_command
68 658af78f 2020-12-01 xhr #set pgp_encrypt_sign_command
69 658af78f 2020-12-01 xhr
70 658af78f 2020-12-01 xhr set autocrypt = yes
71 658af78f 2020-12-01 xhr
72 658af78f 2020-12-01 xhr ###############################################################################
73 658af78f 2020-12-01 xhr # Charset settings
74 658af78f 2020-12-01 xhr ###############################################################################
75 658af78f 2020-12-01 xhr
76 658af78f 2020-12-01 xhr charset-hook us-ascii ISO-8859-15
77 658af78f 2020-12-01 xhr set send_charset="us-ascii:iso-8859-15:utf-8"
78 658af78f 2020-12-01 xhr
79 658af78f 2020-12-01 xhr charset-hook x-unknown ISO-8859-1
80 658af78f 2020-12-01 xhr
81 658af78f 2020-12-01 xhr alternative_order application/pgp text/plain text/html text/enriched
82 658af78f 2020-12-01 xhr
83 658af78f 2020-12-01 xhr ###############################################################################
84 658af78f 2020-12-01 xhr # KEY Bindings
85 658af78f 2020-12-01 xhr ###############################################################################
86 658af78f 2020-12-01 xhr
87 658af78f 2020-12-01 xhr macro pager "\e1" "<enter-command>set pager_index_lines=1<enter>" # Change PIL size
88 658af78f 2020-12-01 xhr macro pager "\e2" "<enter-command>set pager_index_lines=2<enter>" # Change PIL size
89 658af78f 2020-12-01 xhr macro pager "\e3" "<enter-command>set pager_index_lines=3<enter>" # Change PIL size
90 658af78f 2020-12-01 xhr macro pager "\e4" "<enter-command>set pager_index_lines=4<enter>" # Change PIL size
91 658af78f 2020-12-01 xhr macro pager "\e5" "<enter-command>set pager_index_lines=5<enter>" # Change PIL size
92 658af78f 2020-12-01 xhr macro pager "\e6" "<enter-command>set pager_index_lines=6<enter>" # Change PIL size
93 658af78f 2020-12-01 xhr macro pager "\e7" "<enter-command>set pager_index_lines=7<enter>" # Change PIL size
94 658af78f 2020-12-01 xhr macro pager "\e8" "<enter-command>set pager_index_lines=8<enter>" # Change PIL size
95 658af78f 2020-12-01 xhr macro pager "\e9" "<enter-command>set pager_index_lines=9<enter>" # Change PIL size
96 658af78f 2020-12-01 xhr macro pager "\e0" "<enter-command>set pager_index_lines=0<enter>" # Change PIL size
97 658af78f 2020-12-01 xhr
98 658af78f 2020-12-01 xhr # save a decoded copy in ~/Desktop/
99 658af78f 2020-12-01 xhr macro index P "<pipe-message>cat > ~/Desktop/" "save message as"
100 658af78f 2020-12-01 xhr
101 658af78f 2020-12-01 xhr macro index B "<limit>~b " "search message bodies"
102 658af78f 2020-12-01 xhr macro index I "<change-folder>!<enter>" "go to Inbox"
103 658af78f 2020-12-01 xhr
104 658af78f 2020-12-01 xhr # Show all folders
105 658af78f 2020-12-01 xhr macro index,pager y <change-folder>?<toggle-mailboxes>
106 658af78f 2020-12-01 xhr
107 658af78f 2020-12-01 xhr bind index,pager B background-compose-menu
108 658af78f 2020-12-01 xhr
109 658af78f 2020-12-01 xhr # Unmap arrow keys in index and pager
110 658af78f 2020-12-01 xhr bind index <up> noop
111 658af78f 2020-12-01 xhr bind index <down> noop
112 658af78f 2020-12-01 xhr bind index <right> noop
113 658af78f 2020-12-01 xhr bind index <left> noop
114 658af78f 2020-12-01 xhr bind pager <up> noop
115 658af78f 2020-12-01 xhr bind pager <down> noop
116 658af78f 2020-12-01 xhr bind pager <right> noop
117 658af78f 2020-12-01 xhr bind pager <left> noop
118 658af78f 2020-12-01 xhr
119 658af78f 2020-12-01 xhr # Sync mailbox
120 658af78f 2020-12-01 xhr bind index $ sync-mailbox
121 658af78f 2020-12-01 xhr
122 658af78f 2020-12-01 xhr # Sync email
123 658af78f 2020-12-01 xhr macro index O "<shell-escape>sync && mbsync -qa && sync&<enter>" "run mbsync to sync all mail"
124 658af78f 2020-12-01 xhr
125 658af78f 2020-12-01 xhr # Collapse thread
126 658af78f 2020-12-01 xhr bind index <space> collapse-thread
127 658af78f 2020-12-01 xhr
128 658af78f 2020-12-01 xhr # Recall postponed messages when pressing p in index mode
129 658af78f 2020-12-01 xhr bind index p recall-message
130 658af78f 2020-12-01 xhr
131 658af78f 2020-12-01 xhr # Bind a key to limit: all
132 658af78f 2020-12-01 xhr macro index a "<limit>all\n" "show all messages (undo limit)"
133 658af78f 2020-12-01 xhr
134 658af78f 2020-12-01 xhr # Go to the previous match when searching for stuf
135 658af78f 2020-12-01 xhr bind index N search-opposite
136 658af78f 2020-12-01 xhr bind pager N search-opposite
137 658af78f 2020-12-01 xhr
138 658af78f 2020-12-01 xhr # Compose e-mail to sender
139 658af78f 2020-12-01 xhr bind index,pager @ compose-to-sender
140 658af78f 2020-12-01 xhr
141 658af78f 2020-12-01 xhr # Save messages/attachments to the following directory
142 658af78f 2020-12-01 xhr macro attach s <save-message><bol>~/
143 658af78f 2020-12-01 xhr
144 658af78f 2020-12-01 xhr color body brightmagenta default "^\\[---\=[|].*"
145 658af78f 2020-12-01 xhr
146 658af78f 2020-12-01 xhr # grepm search
147 658af78f 2020-12-01 xhr macro index "\eg" "!$HOME/bin/grepm -q -m -R -h -Y 'X-Status:' 'F' $HOME/mail/" "Run grepm search"
148 658af78f 2020-12-01 xhr macro index "\eG" "<change-folder-readonly>=grepm-search\n" "Switch to grepm search results"
149 658af78f 2020-12-01 xhr
150 658af78f 2020-12-01 xhr # Mairix search
151 658af78f 2020-12-01 xhr macro index,pager "\es" "<change-folder-readonly>/home/xhr/.mail/Search<enter><shell-escape>mairix " "search via mairix"
152 658af78f 2020-12-01 xhr
153 658af78f 2020-12-01 xhr # In compose mode, select one of my From: lines (see .alias)
154 658af78f 2020-12-01 xhr macro compose v "<edit-from>^Uidentity_<Tab>" "Select from"
155 658af78f 2020-12-01 xhr
156 658af78f 2020-12-01 xhr # use <tab> to complete email addresses instead of Ctrl-t add this:
157 658af78f 2020-12-01 xhr #bind editor <Tab> complete-query
158 658af78f 2020-12-01 xhr
159 658af78f 2020-12-01 xhr # Mark all new messages as read
160 658af78f 2020-12-01 xhr macro index \en "<tag-pattern>~N<enter><tag-prefix><clear-flag>N<clear-flag>*" "Catchup all new messages"
161 658af78f 2020-12-01 xhr # Mark all duplicates first and delete them afterwards
162 658af78f 2020-12-01 xhr macro index \ed "<tag-pattern>~=<enter>d" "Delete duplicate messages"
163 658af78f 2020-12-01 xhr
164 658af78f 2020-12-01 xhr # Define extra keys (useless with crippled terminals and OSX)
165 658af78f 2020-12-01 xhr bind browser Home first-entry
166 658af78f 2020-12-01 xhr bind browser End last-entry
167 658af78f 2020-12-01 xhr bind generic End last-entry
168 658af78f 2020-12-01 xhr bind pager End bottom
169 658af78f 2020-12-01 xhr bind pager Home top
170 658af78f 2020-12-01 xhr
171 658af78f 2020-12-01 xhr # Go to last entry
172 658af78f 2020-12-01 xhr bind index G last-entry
173 658af78f 2020-12-01 xhr bind browser G last-entry
174 658af78f 2020-12-01 xhr
175 658af78f 2020-12-01 xhr # Open mailbox with next unread mail
176 658af78f 2020-12-01 xhr bind index \eo next-unread-mailbox
177 658af78f 2020-12-01 xhr # Previous page
178 658af78f 2020-12-01 xhr bind pager b previous-page
179 658af78f 2020-12-01 xhr
180 658af78f 2020-12-01 xhr # Collapse ALL threads
181 658af78f 2020-12-01 xhr #bind pager "*" collapse-all
182 658af78f 2020-12-01 xhr bind index "*" collapse-all
183 658af78f 2020-12-01 xhr
184 658af78f 2020-12-01 xhr # Esc-f: muttng forget the GnuPG-passphrase
185 658af78f 2020-12-01 xhr bind index \ef forget-passphrase
186 658af78f 2020-12-01 xhr bind pager \ef forget-passphrase
187 658af78f 2020-12-01 xhr
188 658af78f 2020-12-01 xhr # Show the Manual
189 658af78f 2020-12-01 xhr macro pager \e1 '!open /usr/local/share/doc/mutt/manual.html' 'Call Manual'
190 658af78f 2020-12-01 xhr macro index \e1 '!open /usr/local/share/doc/mutt/manual.html' 'Call Manual'
191 658af78f 2020-12-01 xhr
192 658af78f 2020-12-01 xhr # Reload the muttng rc
193 658af78f 2020-12-01 xhr macro index <f5> ":source ~/.muttrc" "Reload the muttrc"
194 658af78f 2020-12-01 xhr macro pager <f5> ":source ~/.muttrc\n" "Reload the muttrc"
195 658af78f 2020-12-01 xhr macro browser <f5> ":source ~/.muttrc\n" "Reload the muttrc"
196 658af78f 2020-12-01 xhr
197 658af78f 2020-12-01 xhr # Esc-a show only NEW messages in the folder/newsgroup
198 658af78f 2020-12-01 xhr #macro index \en "l~N\n" 'Show NEW messages'
199 658af78f 2020-12-01 xhr
200 658af78f 2020-12-01 xhr # Press p instead of y to postpone message
201 658af78f 2020-12-01 xhr #bind compose p postpone-message
202 658af78f 2020-12-01 xhr
203 658af78f 2020-12-01 xhr macro index \Co sort-mailbox
204 658af78f 2020-12-01 xhr
205 658af78f 2020-12-01 xhr # toggle urlview
206 658af78f 2020-12-01 xhr macro index \Cn ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \
207 658af78f 2020-12-01 xhr "call urlview to extract URLs out of a message"
208 658af78f 2020-12-01 xhr
209 658af78f 2020-12-01 xhr macro pager \Cn ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \
210 658af78f 2020-12-01 xhr "call urlview to extract URLs out of a message"
211 658af78f 2020-12-01 xhr
212 658af78f 2020-12-01 xhr ###############################################################################
213 658af78f 2020-12-01 xhr # SETTINGS
214 658af78f 2020-12-01 xhr ###############################################################################
215 658af78f 2020-12-01 xhr
216 658af78f 2020-12-01 xhr # When unset, Mutt will notify you if any new mail exists
217 658af78f 2020-12-01 xhr # in the mailbox, regardless of whether you have visited it recently.
218 658af78f 2020-12-01 xhr unset mail_check_recent
219 658af78f 2020-12-01 xhr
220 658af78f 2020-12-01 xhr # Fix b0rken AW:AW:AW:Re lines automatically
221 658af78f 2020-12-01 xhr set reply_regexp="^((re([\[^-][0-9]+\]?)*|aw|AW|Aw|antwort|antw|wg|Re|RE):[ \t]*)+"
222 658af78f 2020-12-01 xhr
223 658af78f 2020-12-01 xhr # Reply with the email address in the From: line (NOTE: overwritten by a my_hdr line)
224 658af78f 2020-12-01 xhr set reverse_name
225 658af78f 2020-12-01 xhr # If unset, always set the real name in From: field to $realname
226 658af78f 2020-12-01 xhr unset reverse_realname
227 658af78f 2020-12-01 xhr
228 658af78f 2020-12-01 xhr set connect_timeout=30 # Causes Mutt to timeout a network connection (for IMAP
229 658af78f 2020-12-01 xhr # or POP) after this many seconds if the connection
230 658af78f 2020-12-01 xhr # is not able to be established.
231 658af78f 2020-12-01 xhr set timeout=3 # mutt 'presses' (like) a key for you (while you're idle)
232 658af78f 2020-12-01 xhr # each x sec to trigger the thing below
233 658af78f 2020-12-01 xhr set mail_check=0 # This variable configures how often (in seconds) mutt
234 658af78f 2020-12-01 xhr # should look for new mail.
235 658af78f 2020-12-01 xhr
236 658af78f 2020-12-01 xhr #set dotlock_program = "/usr/local/bin/mutt_dotlock"
237 658af78f 2020-12-01 xhr
238 658af78f 2020-12-01 xhr # If set, all operations (eg delete) apply to all tagged messages
239 658af78f 2020-12-01 xhr set auto_tag
240 658af78f 2020-12-01 xhr
241 658af78f 2020-12-01 xhr # Stuff quotes
242 658af78f 2020-12-01 xhr #set stuff_quoted
243 658af78f 2020-12-01 xhr
244 658af78f 2020-12-01 xhr # Set aspell to new german
245 658af78f 2020-12-01 xhr set ispell = "/usr/bin/aspell -d de -e -c"
246 658af78f 2020-12-01 xhr #set ispell = "/usr/local/bin/ispell -d ndeutsch"
247 658af78f 2020-12-01 xhr
248 658af78f 2020-12-01 xhr # Dont sleep during folder changes
249 658af78f 2020-12-01 xhr set sleep_time = 0
250 658af78f 2020-12-01 xhr
251 658af78f 2020-12-01 xhr # Make trees narrower
252 658af78f 2020-12-01 xhr unset narrow_tree
253 658af78f 2020-12-01 xhr
254 658af78f 2020-12-01 xhr # When viewing next page of info, retain last line of previous page
255 658af78f 2020-12-01 xhr set pager_context = 1
256 658af78f 2020-12-01 xhr
257 658af78f 2020-12-01 xhr # ask before quitting
258 658af78f 2020-12-01 xhr set quit=ask-yes
259 658af78f 2020-12-01 xhr
260 658af78f 2020-12-01 xhr # mail's stay on "New" status
261 658af78f 2020-12-01 xhr set nomark_old
262 658af78f 2020-12-01 xhr
263 658af78f 2020-12-01 xhr # don't go to the next message after paging thru the current
264 658af78f 2020-12-01 xhr set pager_stop
265 658af78f 2020-12-01 xhr
266 658af78f 2020-12-01 xhr # I don't want to mark wrapped lines with +'es.
267 658af78f 2020-12-01 xhr set nomarkers
268 658af78f 2020-12-01 xhr
269 658af78f 2020-12-01 xhr # I want to wrap by words, not by a character at the screen edge
270 658af78f 2020-12-01 xhr set smart_wrap
271 658af78f 2020-12-01 xhr
272 658af78f 2020-12-01 xhr # Maximum line length, no matter how big the terminal width is
273 658af78f 2020-12-01 xhr #set max_line_length = 80
274 658af78f 2020-12-01 xhr
275 658af78f 2020-12-01 xhr # smileys
276 658af78f 2020-12-01 xhr set smileys="(>From )|(>?[;:][-^]?[][)(><}{|/DP][)}]*)"
277 658af78f 2020-12-01 xhr
278 658af78f 2020-12-01 xhr # Set envelope sender after From:
279 658af78f 2020-12-01 xhr set use_envelope_from
280 658af78f 2020-12-01 xhr
281 658af78f 2020-12-01 xhr # Speed up opening mail boxes for read
282 658af78f 2020-12-01 xhr set read_inc=0
283 658af78f 2020-12-01 xhr
284 658af78f 2020-12-01 xhr # ... and write
285 658af78f 2020-12-01 xhr set write_inc=0
286 658af78f 2020-12-01 xhr
287 658af78f 2020-12-01 xhr # Split screen
288 658af78f 2020-12-01 xhr set pager_index_lines=15
289 658af78f 2020-12-01 xhr
290 658af78f 2020-12-01 xhr # Dont wait for sendmail finish mail delivery
291 658af78f 2020-12-01 xhr set sendmail_wait="-1"
292 658af78f 2020-12-01 xhr
293 658af78f 2020-12-01 xhr # If an external pager is closed, muttng goes right away in the index.
294 658af78f 2020-12-01 xhr set noprompt_after
295 658af78f 2020-12-01 xhr
296 658af78f 2020-12-01 xhr # External shell for |, !, ...
297 658af78f 2020-12-01 xhr set shell="/bin/sh"
298 658af78f 2020-12-01 xhr
299 658af78f 2020-12-01 xhr # A regular expression used in the internal-pager to determine quoted
300 658af78f 2020-12-01 xhr # sections of text in the mailbody.
301 658af78f 2020-12-01 xhr set quote_regexp="^( {0,4}[>|:%]| {0,4}[a-z0-9]+[>|]+)+"
302 658af78f 2020-12-01 xhr
303 658af78f 2020-12-01 xhr ignore *
304 658af78f 2020-12-01 xhr
305 658af78f 2020-12-01 xhr # Locale for date settings
306 658af78f 2020-12-01 xhr set abort_nosubject=no
307 658af78f 2020-12-01 xhr set abort_unmodified=no
308 658af78f 2020-12-01 xhr
309 658af78f 2020-12-01 xhr # Allow 8 Bits
310 658af78f 2020-12-01 xhr set allow_8bit
311 658af78f 2020-12-01 xhr
312 658af78f 2020-12-01 xhr # The attribution
313 658af78f 2020-12-01 xhr set attribution="* %n wrote:"
314 658af78f 2020-12-01 xhr
315 658af78f 2020-12-01 xhr # Skip the initial send menu
316 658af78f 2020-12-01 xhr set autoedit=yes
317 658af78f 2020-12-01 xhr
318 658af78f 2020-12-01 xhr # Dont Shut up
319 658af78f 2020-12-01 xhr #unset beep
320 658af78f 2020-12-01 xhr set beep=yes
321 658af78f 2020-12-01 xhr set beep_new=yes
322 658af78f 2020-12-01 xhr
323 658af78f 2020-12-01 xhr set confirmcreate
324 658af78f 2020-12-01 xhr
325 658af78f 2020-12-01 xhr # Save a copy from all outgoing mails in record
326 658af78f 2020-12-01 xhr set copy
327 658af78f 2020-12-01 xhr
328 658af78f 2020-12-01 xhr # Really delete mails marked for deletion
329 658af78f 2020-12-01 xhr set delete
330 658af78f 2020-12-01 xhr
331 658af78f 2020-12-01 xhr # Edit headers in VIM
332 658af78f 2020-12-01 xhr set edit_headers
333 658af78f 2020-12-01 xhr
334 658af78f 2020-12-01 xhr # My favourite editor
335 658af78f 2020-12-01 xhr set editor='/usr/local/share/examples/mutt/bgedit-screen-tmux.sh vim'
336 658af78f 2020-12-01 xhr
337 658af78f 2020-12-01 xhr # Enable BG editing
338 658af78f 2020-12-01 xhr set background_edit=yes
339 658af78f 2020-12-01 xhr
340 658af78f 2020-12-01 xhr # dont ask for to, cc, ...
341 658af78f 2020-12-01 xhr set fast_reply
342 658af78f 2020-12-01 xhr
343 658af78f 2020-12-01 xhr # no need to reply to myself, is there?
344 658af78f 2020-12-01 xhr unset reply_self
345 658af78f 2020-12-01 xhr
346 658af78f 2020-12-01 xhr # My mail folder
347 658af78f 2020-12-01 xhr #set folder=~/mail
348 658af78f 2020-12-01 xhr
349 658af78f 2020-12-01 xhr # I want to know when mail ends
350 658af78f 2020-12-01 xhr set tilde
351 658af78f 2020-12-01 xhr
352 658af78f 2020-12-01 xhr # Include msg when replying
353 658af78f 2020-12-01 xhr set include
354 658af78f 2020-12-01 xhr
355 658af78f 2020-12-01 xhr # Indent quotes wit this String
356 658af78f 2020-12-01 xhr set indent_string="> "
357 658af78f 2020-12-01 xhr
358 658af78f 2020-12-01 xhr set status_chars = "UCRA"# *%A"
359 658af78f 2020-12-01 xhr
360 658af78f 2020-12-01 xhr # formats
361 658af78f 2020-12-01 xhr set status_format = "─── [ %f (%r) ] ─── [ 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 ] ───%>─%?p?( %p postponed )?───"
362 658af78f 2020-12-01 xhr set date_format = "[%d/%m/%y] [%I:%M%P]"
363 658af78f 2020-12-01 xhr set alias_format = "%4n %t %r"
364 658af78f 2020-12-01 xhr set folder_format = "%2C [%N] %-60.60f %-8.8u %d %s"
365 658af78f 2020-12-01 xhr set compose_format="─── Compose [ Approx. msg size: %l Atts: %a ] %>───"
366 658af78f 2020-12-01 xhr set pager_format="───[ %C/%m ] [ %-20.20n ] %s %>───(%P)───"
367 658af78f 2020-12-01 xhr
368 658af78f 2020-12-01 xhr #set index_format="%4.4C [%Z] [%[!%d.%m.%y %H:%M]] %-28.28F [%4.4c] │ %s"
369 658af78f 2020-12-01 xhr set index_format="%4.4C [%Z] [%14@date@] %-24.24F [%4.4c] │ %s"
370 658af78f 2020-12-01 xhr
371 658af78f 2020-12-01 xhr # Adaptive date formatting
372 658af78f 2020-12-01 xhr index-format-hook date "~d<1d" "%[today %H:%M]"
373 658af78f 2020-12-01 xhr index-format-hook date "~d<1w" "%[%a %H:%M]"
374 658af78f 2020-12-01 xhr index-format-hook date "~A" "%[%d.%m.%y %H:%M]"
375 658af78f 2020-12-01 xhr
376 658af78f 2020-12-01 xhr # Dont forward MIME
377 658af78f 2020-12-01 xhr set mime_forward=ask-no
378 658af78f 2020-12-01 xhr
379 658af78f 2020-12-01 xhr # Do not ask to move read messages to mbox folder
380 658af78f 2020-12-01 xhr unset move
381 658af78f 2020-12-01 xhr
382 658af78f 2020-12-01 xhr # Remove my email address if I do a group reply
383 658af78f 2020-12-01 xhr unset metoo
384 658af78f 2020-12-01 xhr
385 658af78f 2020-12-01 xhr # Signature
386 658af78f 2020-12-01 xhr set sig_dashes
387 658af78f 2020-12-01 xhr
388 658af78f 2020-12-01 xhr # Set the User-Agent-Header.
389 658af78f 2020-12-01 xhr set user_agent
390 658af78f 2020-12-01 xhr
391 658af78f 2020-12-01 xhr # Do not wait for a keypress, if I use a commando like "pipe-message".
392 658af78f 2020-12-01 xhr unset wait_key
393 658af78f 2020-12-01 xhr
394 658af78f 2020-12-01 xhr # Use an -> (set) or a BAR (unset)
395 658af78f 2020-12-01 xhr unset arrow_cursor
396 658af78f 2020-12-01 xhr
397 658af78f 2020-12-01 xhr # Sort after ...
398 658af78f 2020-12-01 xhr set sort=threads
399 658af78f 2020-12-01 xhr
400 658af78f 2020-12-01 xhr # Browser sorting
401 658af78f 2020-12-01 xhr set sort_browser = alpha
402 658af78f 2020-12-01 xhr
403 658af78f 2020-12-01 xhr # Save attachments when sending
404 658af78f 2020-12-01 xhr set fcc_attach
405 658af78f 2020-12-01 xhr
406 658af78f 2020-12-01 xhr unset confirmappend
407 658af78f 2020-12-01 xhr unset read_only
408 658af78f 2020-12-01 xhr
409 658af78f 2020-12-01 xhr ###############################################################################
410 658af78f 2020-12-01 xhr # MISC
411 658af78f 2020-12-01 xhr ###############################################################################
412 658af78f 2020-12-01 xhr
413 658af78f 2020-12-01 xhr # Complain about missing attachment
414 658af78f 2020-12-01 xhr set abort_noattach = ask-yes
415 658af78f 2020-12-01 xhr set abort_noattach_regexp = "\\<(attach|attachment|anbei|anhängen|angehängt|anhang|anhänge|hängt an)\\>"
416 658af78f 2020-12-01 xhr
417 658af78f 2020-12-01 xhr # Set my print command
418 658af78f 2020-12-01 xhr #set print_command="muttprint"
419 658af78f 2020-12-01 xhr set print_command="a2ps -1 -q -o ~/mail/printmail.ps --portrait --columns=1 --pretty-print=mail --highlight-level=heavy && open ~/mail/printmail.ps"
420 658af78f 2020-12-01 xhr
421 658af78f 2020-12-01 xhr # Do not ask for confirmation
422 658af78f 2020-12-01 xhr set print="yes"
423 658af78f 2020-12-01 xhr
424 658af78f 2020-12-01 xhr # Pass all headers to muttprint. DO NOT enable this if you do not use muttprint!
425 658af78f 2020-12-01 xhr #macro index p "<display-toggle-weed> <print-message> <display-toggle-weed> <exit>"
426 658af78f 2020-12-01 xhr #macro pager p "<display-toggle-weed> <print-message> <display-toggle-weed>"
427 658af78f 2020-12-01 xhr
428 658af78f 2020-12-01 xhr # If printing multiple mails at once, print them piece by pice
429 658af78f 2020-12-01 xhr set print_split
430 658af78f 2020-12-01 xhr
431 658af78f 2020-12-01 xhr # Mailbox type
432 658af78f 2020-12-01 xhr set mbox_type = Maildir
433 658af78f 2020-12-01 xhr
434 658af78f 2020-12-01 xhr # Auto view the following types
435 658af78f 2020-12-01 xhr auto_view text/html
436 658af78f 2020-12-01 xhr auto_view application/zip
437 658af78f 2020-12-01 xhr auto_view application/x-gzip
438 658af78f 2020-12-01 xhr auto_view application/x-gunzip
439 658af78f 2020-12-01 xhr auto_view application/pgp-signature
440 658af78f 2020-12-01 xhr auto_view application/pgp
441 658af78f 2020-12-01 xhr auto_view application/octet-stream
442 658af78f 2020-12-01 xhr auto_view application/x-zip-compressed
443 658af78f 2020-12-01 xhr auto_view application/x-arj-compressed
444 658af78f 2020-12-01 xhr auto_view application/x-tar-gz
445 658af78f 2020-12-01 xhr auto_view application/x-sh
446 658af78f 2020-12-01 xhr auto_view text/x-vcard
447 658af78f 2020-12-01 xhr auto_view text/x-diff
448 658af78f 2020-12-01 xhr auto_view image/tiff
449 658af78f 2020-12-01 xhr
450 658af78f 2020-12-01 xhr # I want to see the following headers
451 658af78f 2020-12-01 xhr unhdr_order *
452 658af78f 2020-12-01 xhr hdr_order Old-Return-Path date x-mailer x-editor x-agent user-agent mailer from to cc subject
453 658af78f 2020-12-01 xhr unignore date from: to cc subject x-mailer x-editor x-agent user-agent mailer Old-Return-Path
454 658af78f 2020-12-01 xhr
455 658af78f 2020-12-01 xhr # Handle GPG inline messages
456 658af78f 2020-12-01 xhr message-hook '!~g !~G ~b "^-----BEGIN PGP (SIGNED )?MESSAGE"' 'exec check-traditional-pgp
457 658af78f 2020-12-01 xhr
458 658af78f 2020-12-01 xhr # vim: ft=muttrc
459 658af78f 2020-12-01 xhr # EOF