diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-12 14:18:19 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-12 14:18:19 +0200 |
commit | 11076c620bfa526a23befd1649873871495f4162 (patch) | |
tree | 76c2316dc69fd2edb560b6c72e603e48210d68d9 /.config/mutt/defaults.muttrc | |
parent | Merge branch 'master' of gitjoe.xyz:dotfiles-bsd (diff) | |
download | dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.gz dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.bz2 dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.xz dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.zst dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.zip |
update
Diffstat (limited to '')
-rw-r--r-- | .config/mutt/defaults.muttrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc index 66a2730..15102d2 100644 --- a/.config/mutt/defaults.muttrc +++ b/.config/mutt/defaults.muttrc @@ -99,7 +99,7 @@ bind editor <Tab> complete-query macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook --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>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc -a<enter>" "run mbsync to sync all mail" +macro index O "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc -a<enter>" "run mbsync to sync all mail" macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read 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" macro index A "<limit>all\n" "show all messages (undo limit)" macro compose Y "<first-entry>\ |