neomutt: add mailcap

This commit is contained in:
lelgenio 2020-04-23 18:58:08 -03:00
parent 3369209e75
commit f94f1fd0db
2 changed files with 25 additions and 19 deletions

View File

@ -0,0 +1 @@
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput

View File

@ -62,6 +62,8 @@ set sort = 'reverse-date'
#set reverse_name # reply as whomever it was to
#set include # include message in replies
#set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example)
set mailcap_path = ~/.config/neomutt/mailcap
auto_view text/html # automatically show html (mailcap uses w3m)
auto_view application/pgp-encrypted
alternative_order text/plain text/enriched text/html
@ -202,24 +204,27 @@ mono body bold "^gpg: BAD signature from.*"
color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
# }}}
# color normal white default
# color hdrdefault blue default
# color quoted blue white
# color signature red white
# color attachment red white
# color prompt brightmagenta default
# color message brightred default
# color error brightwhite brightred
color indicator brightwhite red
color status brightwhite default
# color tree black white
# color markers red white
# color search white black
# color tilde brightmagenta default
color index blue white "~F"
color index brightgreen default "~N|~O"
color index_author brightred black "~N"
color index_subject brightcyan black "~N"
color sidebar_new red default
# color normal white default
# color hdrdefault blue default
# color quoted blue white
# color signature red white
# color attachment red white
# color prompt brightmagenta default
# color message brightred default
# color error brightwhite brightred
color indicator brightwhite red
color status brightwhite default
# color tree black white
# color markers red white
# color search white black
# color tilde brightmagenta default
color index blue white "~F"
color index brightgreen default "~N|~O"
color index_author brightred black "~N"
color index_subject brightcyan black "~N"
color sidebar_new green default
color sidebar_highlight default brightred
color sidebar_indicator default red
# }}}
# vim: filetype=neomuttrc:foldmethod=marker