commit 85ebf2e7e369858d2dfc1a39cf3b35658adf85a4
parent 46d7f6a517792b18a39c0c7339dce81827fda634
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 16 Jul 2020 09:18:42 +0200
Fix macro syntax and do not show mutt version number on startup
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
@@ -191,7 +191,7 @@ macro index O "<enter-command>unset wait_key<enter>\
folder-hook adamsgaard 'macro index o "<enter-command>unset wait_key<enter>\
<shell-escape>tmux split-window -l 1 \"mbsync adamsgaard:INBOX\";\
tmux select-pane -l<enter>\
-<enter-command>set wait_key<enter>"' "sync current INBOX"
+<enter-command>set wait_key<enter>' "sync current INBOX"
macro index,pager \ l "<enter-command>unset wait_key<enter>\
<shell-escape>tmux split-window -l 10 \"tail -f /var/log/maillog\"; tmux select-pane -l<enter>\
@@ -199,11 +199,11 @@ macro index,pager \ l "<enter-command>unset wait_key<enter>\
macro index,pager \ o "<enter-command>unset wait_key<enter>\
<pipe-message>sed -n \'s/\^URL: //p\' | plumb<enter>\
-<enter-command>set wait_key<enter>N"' "open 'URL:' link"
+<enter-command>set wait_key<enter>N" "open 'URL:' link"
macro index,pager \ u "<enter-command>unset wait_key<enter>\
<pipe-message>grep http | grep unsub | sed 's/.*http/http/;s/)#//' | plumb<enter>\
-<enter-command>set wait_key<enter>N"' "unsubscribe by following link containing 'unsub' string"
+<enter-command>set wait_key<enter>N" "unsubscribe by following link containing 'unsub' string"
macro index \ef "<change-folder-readonly>$HOME/.cache/mairix/results<enter>\
<shell-escape>mairix " "mairix: search all mail"
@@ -214,6 +214,3 @@ set index_format="%2C %Z [%D] %-22.22F (%?l?%4l&%4c?) %?X?%1X& ? %s "
# convert to pdf for printing
set print_command="$HOME/.config/mutt/muttprint-groff.sh"
-
-# Get mutt to display its version on startup.
-push <show-version>