From 8689d1306540c5872b16b4e90e096d63d0abd15e Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Tue, 26 May 2020 08:34:37 +0200 Subject: [PATCH] Rework how neomutt opens attachments --- dotfiles/mail.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dotfiles/mail.org b/dotfiles/mail.org index bbcd164..6fa0af3 100644 --- a/dotfiles/mail.org +++ b/dotfiles/mail.org @@ -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;