]> git.cworth.org Git - notmuch-wiki/commitdiff
fix macros using enter
authorRichard Russon <rich@flatcap.org>
Thu, 13 Jul 2023 09:50:40 +0000 (10:50 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 13 Jul 2023 09:50:41 +0000 (10:50 +0100)
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

mutttips.mdwn

index d2452a5043154732c4943c64d105c4291c691913..eb6bf8f19de4e5ee6beac56a2a75bfd013768145 100644 (file)
@@ -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