dot_files/.config/neomutt/mailcap

11 lines
447 B
Text

# This file tells neomutt what program to open for what file type
# Read more here: https://neomutt.org/guide/mimesupport
# any image should be handled by sixel right now
image/*; img2sixel %s; needsterminal
# for displaying html files in a new split in iterm2 with w3m and sixel
text/html; (clear && w3m-splits %s); nametemplate=%s.html
# pdf files currently only work on macOS, using open (which defaults to preview)
application/pdf; open %s