aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-04-16 00:22:20 +0200
committerRobin Jarry <robin@jarry.cc>2022-04-17 12:18:33 +0200
commitcb887a2d9d7d7cd5eb57d8849df40cecc3b90090 (patch)
treeb7b23c34a772048484ed6e645226ff64fe103d64 /doc/aerc.1.scd
parenta34be9eb36d26afdd723146673694db70662429c (diff)
downloadaerc-cb887a2d9d7d7cd5eb57d8849df40cecc3b90090.tar.gz
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 <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd8
1 files changed, 7 insertions, 1 deletions
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* <folder>
Change the folder shown in the message list.