Rework how neomutt opens attachments

This commit is contained in:
Thomas Dehaeze 2020-05-26 08:34:37 +02:00
parent d09e7873c4
commit 8689d13065

View File

@ -707,6 +707,7 @@ Write/Reply/Forward mail
#+BEGIN_SRC conf
bind index,pager p recall-message
bind index,pager m mail
bind index,pager M resend-message
bind index,pager r reply
bind index,pager R group-reply
bind index,pager b bounce-message
@ -1446,10 +1447,10 @@ Of ranger can be used with the =A= keybinding.
Generic
#+BEGIN_SRC conf
text/plain; nvim %s
video/*; setsid mpv --quiet %s &
image/*; sxiv -a -b %s &
application/pdf; zathura %s &
audio/*; /usr/bin/xdg-open %s; copiousoutput
video/*; setsid mpv --quiet %s &; copiousoutput
image/*; ~/.config/neomutt/bin/openfile.sh %s;
application/pdf; ~/.config/neomutt/bin/openfile.sh %s;
text/html; export DISPLAY=:0 && setsid qutebrowser %s; nametemplate=%s.html
text/html; w3m -I %{charset} -T text/html; copiousoutput;
text/calendar; khal import --batch -a home %s && khal printics %s; copiousoutput;