dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 4ca519a2d2b4a1bd1d69b456b0f99dac09e75b20
parent 3359e232531311ab527083a7591dab1184357aea
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 28 Jul 2020 07:00:03 +0200

Add binding to pipe attachment to w3m

Diffstat:
M.config/mutt/muttrc | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc @@ -29,7 +29,7 @@ set header_cache=~/.config/mutt/cache/headers set message_cachedir=~/.config/mutt/cache/bodies # sort threads by date -set sort=threads +set sort=reverse-threads set sort_aux=last-date-received set charset=utf-8 @@ -118,6 +118,9 @@ alternative_order text/plain text/enriched text/html # show email in browser bind attach <return> view-mailcap +macro attach w "<enter-command>unset wait_key<enter>\ +<pipe-message>w3m -T text/html -I utf8<enter>\ +<enter-command>set wait_key<enter>" "pipe to w3m" # vi-like movement bind attach,index,browser gg first-entry