From 7935f50dd3af3cb205d4cd83b93c84af6ea86b21 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Fri, 10 Jun 2022 21:36:55 +0200 Subject: [PATCH] Add macro to mark all messages as read --- roles/neomutt/templates/neomuttrc.j2 | 2 +- todo | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/neomutt/templates/neomuttrc.j2 b/roles/neomutt/templates/neomuttrc.j2 index a7268bd..2c5e527 100644 --- a/roles/neomutt/templates/neomuttrc.j2 +++ b/roles/neomutt/templates/neomuttrc.j2 @@ -81,7 +81,7 @@ bind editor complete-query macro index,attach,pager \Cb 'urlscan' "follow links with urlscan" #macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" -#macro index \Cr "T~UN." "mark all messages as read" +macro index \Cr "T~UN." "mark all messages as read" #macro index O "mw -Y" "run mw -Y to sync all mail" #macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms~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' \`\"" "show only messages matching a notmuch pattern" #macro index A "all\n" "show all messages (undo limit)" diff --git a/todo b/todo index 3f8c541..1140575 100644 --- a/todo +++ b/todo @@ -7,4 +7,3 @@ neomutt shortcuts: delete/undelete - read/unread purge all - mark all read