]> Sergey Matveev's repositories - feeder.git/commitdiff
Native Q search query
authorSergey Matveev <stargrave@stargrave.org>
Mon, 21 Feb 2022 08:12:45 +0000 (11:12 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 21 Feb 2022 08:12:45 +0000 (11:12 +0300)
cmd/muttrc-gen.sh
doc/usage/search.texi

index c22cff18535bced17de1524d0bcbde84f34a2507..95fb914d714b1d98149ca013823c864d6bce8a2c 100755 (executable)
@@ -20,8 +20,8 @@ bind pager o noop
 macro pager o "|$cmds/x-urlview.sh\n"
 set pager_index_lines = 6
 
-macro index <F8> "<shell-escape>mu find --muhome mu --clearlinks --format=links --linksdir=search " "mu find"
-macro index <F9> "<change-folder-readonly>search<enter>" "mu find results"
+set query_command = "mu find --muhome mu --clearlinks --format=links --linksdir=search %s"
+macro index <F2> "<change-folder-readonly>search<enter>" "search results"
 folder-hook search "set index_format = \"%4C [%D] %s (%F)\""
 
 macro index,pager,browser <F1> "<next-unread-mailbox><enter>"
index 7468bd1abb071ba3d9f76f76efaee9e05645737f..ee974c7dd1328ed9a45fa7b81dbd6bf436cc1bf5 100644 (file)
@@ -1,12 +1,12 @@
 @node Search
 @section Search
 
-Press @code{<F8>} in Mutt's index and enter your mu/Xapian search query.
+Press @code{Q} in Mutt's index and enter your mu/Xapian search query.
 Let's search for articles mentioning
 @url{https://en.wikipedia.org/wiki/Planetfall, Planetfall} during
 2019-2021 period: @code{Planetfall date:2019..2021}. @command{mu} will
 create symbolic links in @file{search/} subdirectory to the message.
-Press @code{<F9>} to switch that mailbox:
+Press @code{<F2>} to switch that mailbox:
 
 @verbatim
    1 [2021-12-20 07:08] Missed Classic: Stationfall - When Food Dispensers Attack (The Adventurers Guild)