add html and pdf mail viewing

auto-flake-update
Yorick van Pelt 2017-06-23 19:25:36 +02:00
parent c206381642
commit 1ba55cf9e0
3 changed files with 10 additions and 1 deletions

4
mutt/.mutt/mailcap Normal file
View File

@ -0,0 +1,4 @@
text/html; w3m -I %{charset} -T text/html; copiousoutput;
application/pdf; pdftotext -layout -l 10 -nopgbrk /dev/stdin -; copiousoutput
content/pdf; pdftotext -layout -l 10 -nopgbrk /dev/stdin -; copiousoutput

View File

@ -31,3 +31,8 @@ ifdef ENCRYPT_SELF set pgp_encrypt_self
set pgp_use_gpg_agent
bind index G imap-fetch-mail
auto_view text/html # view html automatically
alternative_order text/plain text/enriched text/html # save html for last
set mailcap_path=~/.mutt/mailcap

View File

@ -195,7 +195,7 @@
sshuttle iodine stow
expect duplicity
wakelan x2x pass
abduco dvtm
abduco dvtm w3m
];
code = mkEnv "y-code" [