diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2022-11-04 17:29:20 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2022-11-04 17:29:20 +0800 |
commit | 39327668f6b5210e380f1722831fec2df9cb5e29 (patch) | |
tree | e2c73e91fb6206c0b34ccec5cd4ba4570d1531f0 | |
parent | 4c6eb7626a159081a1ac98174e4f16e758739d63 (diff) |
Update macro
-rw-r--r-- | mutt/default | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mutt/default b/mutt/default index a89cd95..f3775a9 100644 --- a/mutt/default +++ b/mutt/default | |||
@@ -1,3 +1,6 @@ | |||
1 | # Edit rc file and source it. This is the most important thing | ||
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 | |||
1 | # Connection options | 4 | # Connection options |
2 | set ssl_force_tls = yes | 5 | set ssl_force_tls = yes |
3 | unset ssl_starttls | 6 | unset ssl_starttls |
@@ -74,7 +77,7 @@ bind pager \cn next-entry | |||
74 | bind pager \cp previous-entry | 77 | bind pager \cp previous-entry |
75 | bind pager \ch display-toggle-weed | 78 | bind pager \ch display-toggle-weed |
76 | bind attach x view-mailcap | 79 | bind attach x view-mailcap |
77 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" | 80 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc<return>" "Reload mutt's configuration file" |
78 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" | 81 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" |
79 | macro index *a "Tall\n" "Select All" | 82 | macro index *a "Tall\n" "Select All" |
80 | macro index *n "\ctall\n" "Deselect All" | 83 | macro index *n "\ctall\n" "Deselect All" |
@@ -104,8 +107,8 @@ bind generic zz current-middle | |||
104 | bind generic zb current-bottom | 107 | bind generic zb current-bottom |
105 | bind index za collapse-thread | 108 | bind index za collapse-thread |
106 | bind index zA collapse-all | 109 | bind index zA collapse-all |
107 | bind generic,pager \Cy previous-line | 110 | #bind generic,pager \Cy previous-line |
108 | bind generic,index,pager \Ce next-line | 111 | #bind generic,index,pager \Ce next-line |
109 | 112 | ||
110 | 113 | ||
111 | # Sidebar | 114 | # Sidebar |