summaryrefslogtreecommitdiffstats
path: root/.config/neomutt/mailcap
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-03-23 03:42:50 +0100
committerAhmed Abdelhalim <[email protected]>2023-03-23 03:42:50 +0100
commite7f451cf14317f4b84a0a5998b70b998c14af45a (patch)
treee4c606b23cc4f95644593eb72a03e9bbcea350be /.config/neomutt/mailcap
parent1ad3d3c71f89caffc751b69850e88096f052898b (diff)
Add the initial mutt configurations
Diffstat (limited to '.config/neomutt/mailcap')
-rw-r--r--.config/neomutt/mailcap19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/neomutt/mailcap b/.config/neomutt/mailcap
new file mode 100644
index 0000000..4a1543c
--- /dev/null
+++ b/.config/neomutt/mailcap
@@ -0,0 +1,19 @@
+# MS Word documents
+application/msword; open -a Pages %s; nametemplate=%s.doc; copiousoutput
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; open -a Pages %s; nametemplate=%s.docx; copiousoutput
+
+application/vnd.ms-excel; open -a Numbers %s; nametemplate=%s.xls; copiousoutput
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; open -a Numbers %s; nametemplate=%s.xlsx; copiousoutput
+
+# HTML
+text/html; links %s; description=HTML Text; nametemplate=%s.html
+
+# PDFs
+application/pdf; open -a Preview %s; nametemplate=%s.pdf; copiousoutput
+
+# Calendar
+application/ics; open -a Calendar %s; nametemplate=%s.ics; copiousoutput
+
+# Images
+image/png; open -a Preview %s; nametemplate=%s.png; copiousoutput
+image/jpeg; open -a Preview %s; nametemplate=%s.jpeg; copiousoutput