From 3119a91f576b5bd080b70aa4de89f0e9ae5e48b3 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 29 Aug 2022 14:32:09 +0800 Subject: Update muttrc --- mutt/default | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mutt/default') diff --git a/mutt/default b/mutt/default index 17a69cd..23367a6 100644 --- a/mutt/default +++ b/mutt/default @@ -21,6 +21,13 @@ set pager_index_lines = 5 set markers = no # Remove '+' for long links with limited terminal width set index_format = "%4C %8Y %Z %(%b %d) %-15.15L (%?l?%4l&%4c?) %s" +# Preference +alternative_order text/plain text/enriched text/html +# Auto convert text/html MIME type to text/plain +auto_view text/html +# Macro to open html with css +macro index,pager h "htmail-decode" "render html mail using htmail-view" + # Vim-style key binding, \c means Ctrl # ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim风格键位绑定 bind index sync-mailbox @@ -51,6 +58,7 @@ bind pager \cd half-down bind pager \cu half-up bind pager \cj next-entry bind pager \ck previous-entry +bind pager \ch display-toggle-weed bind attach x view-mailcap macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" macro index ":exec sync-mailbox\n" "Sync Mailbox" -- cgit v1.2.3-70-g09d2