From 5f269f6119a311129466211ba27e48956c16ef2d Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 18 Dec 2024 11:11:13 +0800 Subject: mutt: mailcap --- mutt/mailcap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mutt/mailcap') diff --git a/mutt/mailcap b/mutt/mailcap index 2899a40..1a44cfa 100644 --- a/mutt/mailcap +++ b/mutt/mailcap @@ -1,5 +1,6 @@ +text/plain; vim '%s' +text/html; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; -text/plain; surf '%s'; test=test -n "$DISPLAY"; needsterminal; application/json; jq . %s | less -N; copiousoutput; application/pdf; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; application/octet-stream; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; -- cgit v1.2.3-70-g09d2