From cb887a2d9d7d7cd5eb57d8849df40cecc3b90090 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Sat, 16 Apr 2022 00:22:20 +0200 Subject: store: keep current message selected Keep current message selected when clearing or changing filters and when toggling threads. Add -s flag to the clear command to also clear the selected message and set cursor to the top of the message list. Implements: https://todo.sr.ht/~rjarry/aerc/36 Signed-off-by: Koni Marti Acked-by: Robin Jarry --- doc/aerc.1.scd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index dda8aedf..3713917b 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -216,9 +216,15 @@ message list, the message in the message viewer, etc). ## MESSAGE LIST COMMANDS -*clear* +*clear* [-s] Clears the current search or filter criteria. + By default, the selected message will be kept. To clear the selected + message and move cursor to the top of the message list, use the -s flag. + + *-s* + Selects the message at the top of the message list after clearing. + *cf* Change the folder shown in the message list. -- cgit