]> git.phdru.name Git - dotfiles.git/commitdiff
.muttrc: Fix macros
authorOleg Broytman <phd@phdru.name>
Tue, 28 Jul 2020 06:11:44 +0000 (09:11 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 28 Jul 2020 06:11:44 +0000 (09:11 +0300)
Still don't work with keypad arrows
but at least don't require to double 'x'es.

.muttrc

diff --git a/.muttrc b/.muttrc
index ca6edf2093e9797131c2d5fd250628e001f0ff7d..c5ff07711c85c562ab2c302309c938af1f0a629b 100644 (file)
--- a/.muttrc
+++ b/.muttrc
@@ -304,17 +304,17 @@ bind index,pager <Esc>S decode-save
 # KP_Home -> Home
 macro generic,pager,editor <F84> <Home>
 # KP_Up -> Up
-macro generic,pager,editor \x20b <Up>
+macro generic,pager,editor \1074 <Up>
 # KP_Next -> PageUp
 macro generic,pager,editor <F85> <PageUp>
 # KP_Left -> Left
-macro generic,pager,editor \x20c <Left>
+macro generic,pager,editor \1075 <Left>
 # KP_Right -> Right
-macro generic,pager,editor \x20d <Right>
+macro generic,pager,editor \1076 <Right>
 # KP_End -> End
 macro generic,pager,editor <F87> <End>
 # KP_Down -> Down
-macro generic,pager,editor \x20e <Down>
+macro generic,pager,editor \1077 <Down>
 # KP_Prev -> PageDown
 macro generic,pager,editor <F88> <PageDown>
 
@@ -330,10 +330,10 @@ macro index,pager S \
    "Move current message to inbox"
 
 macro index,pager,attach <Esc>h \
-   ":auto_view texxt/html<Enter>" \
+   ":auto_view text/html<Enter>" \
    "View HTML attachments"
 macro index,pager,attach <Esc>H \
-   ":unauto_view texxt/html<Enter>" \
+   ":unauto_view text/html<Enter>" \
    "Don't show HTML attachments"
 
 macro index <Esc>s \
@@ -362,7 +362,7 @@ macro pager,attach M \
    <exit><Home><change-folder>=sent-mail<Enter> \
    "Go to sent-mail"
 
-macro attach V "<save-entry>_xxxxxx.html<Enter><shell-escape>webbrowser -n _xxxxxx.html; exxec rm _xxxxxx.html<Enter>" \
+macro attach V "<save-entry>~/tmp/_xxx.html<Enter><shell-escape>webbrowser -n ~/tmp/_xxx.html; exec rm ~/tmp/_xxx.html<Enter>" \
    "View html attachment in a web browser"
 
 # Go to python mailbox