aboutsummaryrefslogtreecommitdiffhomepage
path: root/mutt/default
diff options
context:
space:
mode:
Diffstat (limited to 'mutt/default')
-rw-r--r--mutt/default8
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
21set markers = no # Remove '+' for long links with limited terminal width 21set markers = no # Remove '+' for long links with limited terminal width
22set index_format = "%4C %8Y %Z %(%b %d) %-15.15L (%?l?%4l&%4c?) %s" 22set index_format = "%4C %8Y %Z %(%b %d) %-15.15L (%?l?%4l&%4c?) %s"
23 23
24# Preference
25alternative_order text/plain text/enriched text/html
26# Auto convert text/html MIME type to text/plain
27auto_view text/html
28# Macro to open html with css
29macro 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风格键位绑定
26bind index <Return> sync-mailbox 33bind index <Return> sync-mailbox
@@ -51,6 +58,7 @@ bind pager \cd half-down
51bind pager \cu half-up 58bind pager \cu half-up
52bind pager \cj next-entry 59bind pager \cj next-entry
53bind pager \ck previous-entry 60bind pager \ck previous-entry
61bind pager \ch display-toggle-weed
54bind attach x view-mailcap 62bind attach x view-mailcap
55macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" 63macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file"
56macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" 64macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox"