2.4.2. Commands in search modeΒΆ

The following commands are available in search mode

sort

set sort order

argument
sort order. valid choices are: `oldest_first`,`newest_first`,`message_id`,`unsorted`.
untag

remove tags from all messages in the thread that match the query

argument
comma separated list of tags
optional arguments
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
—all:retag all messages in search result.
move

move focus in search buffer

argument
last
retag

set tags of all messages in the thread that match the current query

argument
comma separated list of tags
optional arguments
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
—all:retag all messages in search result.
refineprompt

prompt to change this buffers querystring

tag

add tags to all messages in the thread that match the current query

argument
comma separated list of tags
optional arguments
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
—all:retag all messages in search result.
refine

refine query

argument
search string
optional arguments
—sort:sort order. Valid choices are: `oldest_first`,`newest_first`,`message_id`,`unsorted`.
retagprompt

prompt to retag selected threads’ tags

toggletags

flip presence of tags on this thread. A tag is considered present if at least one message contained in this thread is tagged with it. In that case this command will remove the tag from every message in the thread.

argument
comma separated list of tags
optional arguments
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
select

open thread in a new buffer