aboutsummaryrefslogtreecommitdiff
path: root/mutt/muttrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-20 10:54:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-20 10:54:57 +1200
commit1dae970cc3b4f769523ae8ebfb1cbe52d9583520 (patch)
tree751fa294b98eb4c04ecfc9f6937082e67dce9ad8 /mutt/muttrc
parentShow OpenPGP headers (diff)
downloaddotfiles-1dae970cc3b4f769523ae8ebfb1cbe52d9583520.tar.gz
dotfiles-1dae970cc3b4f769523ae8ebfb1cbe52d9583520.zip
Fix some spacing in Makefile
Diffstat (limited to 'mutt/muttrc')
-rw-r--r--mutt/muttrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/mutt/muttrc b/mutt/muttrc
index bf4de5af..161385db 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -160,6 +160,18 @@ send-hook '!~G !~g' 'push <pgp-menu><enter>'
set autocrypt
set autocrypt_dir = ~/.local/share/mutt/autocrypt
+# Set custom filter to generate an HTML part for plain-text messages in
+# Markdown style; defaults to off, per God's will and common decency
+#
+set send_multipart_alternative_filter \
+ = ~/.local/libexec/mutt/filters/markdown-to-html
+
+# Toggle multipart sending option manually and display the new setting
+macro generic,index,browser,pager \\h '\
+<enter-command>toggle send_multipart_alternative<enter>\
+<enter-command>set ?send_multipart_alternative<enter>' \
+ 'Toggle multipart/alternative sending'
+
# Save message to whatever box Mutt guesses, without confirmation
macro index,pager S \
'<save-message><enter>' \