diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2022-11-07 15:34:55 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2022-11-07 15:34:55 +0800 |
commit | 6dc602a110391a634166d4c2f4627ea10bd86a23 (patch) | |
tree | bd7e204a0f6e0aeec5a762a7714676b6348040af | |
parent | 274409cfcf237b639254157531bf132c5e3293f5 (diff) |
Update muttrc
-rw-r--r-- | mutt/default | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mutt/default b/mutt/default index d233687..6e615c6 100644 --- a/mutt/default +++ b/mutt/default | |||
@@ -1,5 +1,5 @@ | |||
1 | # Edit rc file and source it. This is the most important thing | 1 | # Edit rc file and source it. This is the most important thing |
2 | macro index \cv "!vim ~/.config/mutt/muttrc<Return>:source ~/.config/mutt/muttrc<Return>" | 2 | macro index \cv ":set wait_key=no<Return>!vim ~/.config/mutt/muttrc<Return>:source ~/.config/mutt/muttrc<Return>:set wait_key=yes<Return>" |
3 | 3 | ||
4 | # Connection options | 4 | # Connection options |
5 | set ssl_force_tls = yes | 5 | set ssl_force_tls = yes |
@@ -46,8 +46,8 @@ alternative_order text/plain text/enriched text/html | |||
46 | # Auto convert text/html MIME type to text/plain | 46 | # Auto convert text/html MIME type to text/plain |
47 | auto_view text/html | 47 | auto_view text/html |
48 | # Macro to open html with css | 48 | # Macro to open html with css |
49 | #macro index,pager h "<pipe-message>htmail-decode<return>" "render html mail using htmail-view" | 49 | #macro index,pager h "<pipe-message>htmail-decode<Return>" "render html mail using htmail-view" |
50 | macro pager h "v/html<return>xq<return>" "Open html file" | 50 | macro pager l "v/html<Return>xq<Return>" "Open html file" |
51 | 51 | ||
52 | # Vim-style key binding, \c means Ctrl | 52 | # Vim-style key binding, \c means Ctrl |
53 | macro index c '<change-folder>+' | 53 | macro index c '<change-folder>+' |
@@ -79,7 +79,7 @@ bind pager \cn next-entry | |||
79 | bind pager \cp previous-entry | 79 | bind pager \cp previous-entry |
80 | bind pager \ch display-toggle-weed | 80 | bind pager \ch display-toggle-weed |
81 | bind attach x view-mailcap | 81 | bind attach x view-mailcap |
82 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc<return>" "Reload mutt's configuration file" | 82 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc<Return>" "Reload mutt's configuration file" |
83 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" | 83 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" |
84 | macro index *a "Tall\n" "Select All" | 84 | macro index *a "Tall\n" "Select All" |
85 | macro index *n "\ctall\n" "Deselect All" | 85 | macro index *n "\ctall\n" "Deselect All" |