diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-08-29 14:32:09 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-08-29 14:32:09 +0800 |
commit | 3119a91f576b5bd080b70aa4de89f0e9ae5e48b3 (patch) | |
tree | b641fa34983953122a48adfb4bf1f4368e8f3fef /mutt/default | |
parent | f6a1e14815c951e4cde765003a8d654d28a8c948 (diff) |
Update muttrc
Diffstat (limited to 'mutt/default')
-rw-r--r-- | mutt/default | 8 |
1 files changed, 8 insertions, 0 deletions
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 | |||
21 | set markers = no # Remove '+' for long links with limited terminal width | 21 | set markers = no # Remove '+' for long links with limited terminal width |
22 | set index_format = "%4C %8Y %Z %(%b %d) %-15.15L (%?l?%4l&%4c?) %s" | 22 | set index_format = "%4C %8Y %Z %(%b %d) %-15.15L (%?l?%4l&%4c?) %s" |
23 | 23 | ||
24 | # Preference | ||
25 | alternative_order text/plain text/enriched text/html | ||
26 | # Auto convert text/html MIME type to text/plain | ||
27 | auto_view text/html | ||
28 | # Macro to open html with css | ||
29 | macro index,pager h "<pipe-message>htmail-decode<return>" "render html mail using htmail-view" | ||
30 | |||
24 | # Vim-style key binding, \c means Ctrl | 31 | # Vim-style key binding, \c means Ctrl |
25 | # ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim风格键位绑定 | 32 | # ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim风格键位绑定 |
26 | bind index <Return> sync-mailbox | 33 | bind index <Return> sync-mailbox |
@@ -51,6 +58,7 @@ bind pager \cd half-down | |||
51 | bind pager \cu half-up | 58 | bind pager \cu half-up |
52 | bind pager \cj next-entry | 59 | bind pager \cj next-entry |
53 | bind pager \ck previous-entry | 60 | bind pager \ck previous-entry |
61 | bind pager \ch display-toggle-weed | ||
54 | bind attach x view-mailcap | 62 | bind attach x view-mailcap |
55 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" | 63 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" |
56 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" | 64 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" |