summaryrefslogtreecommitdiff
path: root/tw/home/files/mailcap
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/files/mailcap')
-rw-r--r--tw/home/files/mailcap2
1 files changed, 2 insertions, 0 deletions
diff --git a/tw/home/files/mailcap b/tw/home/files/mailcap
index 904ce065..4e771575 100644
--- a/tw/home/files/mailcap
+++ b/tw/home/files/mailcap
@@ -8,3 +8,5 @@ text/calendar; khal printics %s; copiousoutput
image/*; kitty +kitten icat %s; copiousoutput
audio/*; mpv --no-video %s
application/pdf; zathura %s
+text/x-diff; source-highlight -f esc -s diff -i %s; copiousoutput
+text/x-patch; source-highlight -f esc -s diff -i %s; copiousoutput