]> git.phdru.name Git - dotfiles.git/blobdiff - .muttrc
Feat(recode-filenames-recursive): Allow to omit parameters
[dotfiles.git] / .muttrc
diff --git a/.muttrc b/.muttrc
index 051a41216ee77fe2a8e921942cf5711f582ced74..b347d4f6d72bf02c8c243f65171eaecbded05a5a 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,12 @@ macro pager,attach M \
    <exit><Home><change-folder>=sent-mail<Enter> \
    "Go to sent-mail"
 
-macro attach V "<pipe-message>webstdin<Enter>" \
+macro index,pager \cV "<show-version>" \
+   "Show version"
+
+macro index,pager V "v/text/html<Enter>V" \
+   "View the 1st html attachment in a web browser"
+macro attach V "<save-entry>~/tmp/_xxx.html<Enter>n<shell-escape>webbrowser -n ~/tmp/_xxx.html; exec rm ~/tmp/_xxx.html<Enter><exit>" \
    "View html attachment in a web browser"
 
 # Go to python mailbox