diff options
author | Karel Křemel <charles@alembiq.net> | 2019-10-14 23:48:27 +0200 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-10-14 17:48:27 -0400 |
commit | 6d8c90e3685235b22ba73bffcdee42ca7358d97a (patch) | |
tree | 26cbd82d22a0b1b0b222867a52a43408ff6d4a77 | |
parent | 2783088fff994cb426a592a5b8c1a48a2392ad88 (diff) |
Fixed national diacritics for adding sender to abook (#304)
-rw-r--r-- | share/mutt-wizard.muttrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index 03154e3..e006e3f 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -60,7 +60,7 @@ bind pager \031 previous-line # Mouse wheel bind pager \005 next-line # Mouse wheel bind editor <Tab> complete-query -macro index,pager a "|abook --add-email\n" 'add sender to abook' +macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook" macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" macro index O "<shell-escape>mailsync -Va<enter>" "run mbsync to sync all mail" macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern" |