diff options
| -rw-r--r-- | mutt/default | 1 | ||||
| -rw-r--r-- | mutt/mailcap | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mutt/default b/mutt/default index ac57ddf..688932d 100644 --- a/mutt/default +++ b/mutt/default | |||
| @@ -29,6 +29,7 @@ alternative_order text/plain text/enriched text/html | |||
| 29 | auto_view text/html | 29 | auto_view text/html |
| 30 | # Macro to open html with css | 30 | # Macro to open html with css |
| 31 | #macro index,pager h "<pipe-message>htmail-decode<return>" "render html mail using htmail-view" | 31 | #macro index,pager h "<pipe-message>htmail-decode<return>" "render html mail using htmail-view" |
| 32 | macro pager h "v/html<return>xq<return>" "Open html file" | ||
| 32 | 33 | ||
| 33 | # Vim-style key binding, \c means Ctrl | 34 | # Vim-style key binding, \c means Ctrl |
| 34 | # ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim风格键位绑定 | 35 | # ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim风格键位绑定 |
diff --git a/mutt/mailcap b/mutt/mailcap index d52d2ae..f6d8e0d 100644 --- a/mutt/mailcap +++ b/mutt/mailcap | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | text/html; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; | 1 | text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal; |
| 2 | text/html; w3m -I %{charset} -T text/html; copiousoutput; | 2 | text/html; w3m -I %{charset} -T text/html; copiousoutput; |