From: Oleg Broytman Date: Tue, 28 Jul 2020 06:11:44 +0000 (+0300) Subject: .muttrc: Fix macros X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0d0f4470dd6ce883b8066dadae8ceedaae512908;p=dotfiles.git .muttrc: Fix macros Still don't work with keypad arrows but at least don't require to double 'x'es. --- diff --git a/.muttrc b/.muttrc index ca6edf2..c5ff077 100644 --- a/.muttrc +++ b/.muttrc @@ -304,17 +304,17 @@ bind index,pager S decode-save # KP_Home -> Home macro generic,pager,editor # KP_Up -> Up -macro generic,pager,editor \x20b +macro generic,pager,editor \1074 # KP_Next -> PageUp macro generic,pager,editor # KP_Left -> Left -macro generic,pager,editor \x20c +macro generic,pager,editor \1075 # KP_Right -> Right -macro generic,pager,editor \x20d +macro generic,pager,editor \1076 # KP_End -> End macro generic,pager,editor # KP_Down -> Down -macro generic,pager,editor \x20e +macro generic,pager,editor \1077 # KP_Prev -> PageDown macro generic,pager,editor @@ -330,10 +330,10 @@ macro index,pager S \ "Move current message to inbox" macro index,pager,attach h \ - ":auto_view texxt/html" \ + ":auto_view text/html" \ "View HTML attachments" macro index,pager,attach H \ - ":unauto_view texxt/html" \ + ":unauto_view text/html" \ "Don't show HTML attachments" macro index s \ @@ -362,7 +362,7 @@ macro pager,attach M \ =sent-mail \ "Go to sent-mail" -macro attach V "_xxxxxx.htmlwebbrowser -n _xxxxxx.html; exxec rm _xxxxxx.html" \ +macro attach V "~/tmp/_xxx.htmlwebbrowser -n ~/tmp/_xxx.html; exec rm ~/tmp/_xxx.html" \ "View html attachment in a web browser" # Go to python mailbox