use personal mailcap and mime types files

This commit is contained in:
Al-Hassan Abdel-Raouf 2020-10-04 12:47:09 +02:00
parent fb264ebad1
commit a10ea5ff3c
3 changed files with 22 additions and 1 deletions

View File

@ -40,10 +40,12 @@ set imap_keepalive = 300
set mail_check = 120
set record = +Sent
set mailcap_path = ~/.config/mutt/mailcap
auto_view text/html
set query_command= "khard email --parsable %s"
bind editor <Tab> complete-query
bind editor ^T complete
macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"

View File

@ -1 +1,19 @@
# Image
image/*; sxkiv %s
# Audio
audio/*; mpv %s
# Video
video/*; mpv %s
# PDF
application/pdf; zathura %s
# HTML
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput

1
.mime.types Symbolic link
View File

@ -0,0 +1 @@
/etc/mime.types