From 274409cfcf237b639254157531bf132c5e3293f5 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 7 Nov 2022 09:51:23 +0800 Subject: Improve muttrc --- mutt/default | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mutt/default') diff --git a/mutt/default b/mutt/default index 6de9eda..d233687 100644 --- a/mutt/default +++ b/mutt/default @@ -1,5 +1,5 @@ # Edit rc file and source it. This is the most important thing -macro index \cv ":set wait_key=no!vim ~/.config/mutt/muttrc:source ~/.config/mutt/muttrc:set wait_key=yes" +macro index \cv "!vim ~/.config/mutt/muttrc:source ~/.config/mutt/muttrc" # Connection options set ssl_force_tls = yes @@ -50,6 +50,8 @@ auto_view text/html macro pager h "v/htmlxq" "Open html file" # Vim-style key binding, \c means Ctrl +macro index c '+' +macro index q '?' bind index o sort-reverse bind index O sort-mailbox bind index E edit-type @@ -86,7 +88,6 @@ macro index d '' 'Delete' macro index s '' 'Saved' macro index W '' 'Clear flag' macro index w '' 'Set flag' -macro index q 'c?' macro pager x ':set my_keep_lines1 = $my_keep_lines2:set my_keep_lines2 = $pager_index_lines:set pager_index_lines = $my_keep_lines1' macro pager U "\ :set my_tmp_pipe_decode=\$pipe_decode\n\ -- cgit v1.2.3-70-g09d2