summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Russon <rich@flatcap.org>2023-07-13 10:50:40 +0100
committerRichard Russon <rich@flatcap.org>2023-07-13 10:50:41 +0100
commit516f9ab734e415af133066ab90c5d866f4a6fc97 (patch)
tree1137e77bd6ecbd59033647fff42cd77f6c2b53fc
parent3841ab8a64c6e26f50fb90c25cf47095024e74d4 (diff)
fix macros using enter
The macros contain \\n which is too-escaped. It means that \n ends up in the modify-labels prompt. Fix the macros to use <enter> rather than \n
-rw-r--r--mutttips.mdwn10
1 files changed, 5 insertions, 5 deletions
diff --git a/mutttips.mdwn b/mutttips.mdwn
index d2452a5..eb6bf8f 100644
--- a/mutttips.mdwn
+++ b/mutttips.mdwn
@@ -48,11 +48,11 @@ Here is my `.muttrc` I use with `mutt-kz`, explanations as comments:
"Sent" "notmuch://?query=tag:sent" # sets up queries for virtual folders
# notmuch bindings
macro index \\\\ "<vfolder-from-query>" # looks up a hand made query
- macro index A "<modify-labels>+archive -unread -inbox\\n" # tag as Archived
- macro index I "<modify-labels>-inbox -unread\\n" # removed from inbox
- macro index S "<modify-labels-then-hide>-inbox -unread +junk\\n" # tag as Junk mail
- macro index + "<modify-labels>+*\\n<sync-mailbox>" # tag as starred
- macro index - "<modify-labels>-*\\n<sync-mailbox>" # tag as unstarred
+ macro index A "<modify-labels>+archive -unread -inbox<enter>" # tag as Archived
+ macro index I "<modify-labels>-inbox -unread<enter>" # removed from inbox
+ macro index S "<modify-labels-then-hide>-inbox -unread +junk<enter>" # tag as Junk mail
+ macro index + "<modify-labels>+*<enter><sync-mailbox>" # tag as starred
+ macro index - "<modify-labels>-*<enter><sync-mailbox>" # tag as unstarred
# sidebar
set sidebar_width = 20
set sidebar_visible = yes # set to "no" to disable sidebar view at startup