aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
authorinwit <inwit@sindominio.net>2023-03-04 18:35:27 +0100
committerRobin Jarry <robin@jarry.cc>2023-03-07 00:16:31 +0100
commit182424d279532635cbae6b1a1817f61db64ee37f (patch)
treeb7496f1f2edc8a74389c7d0a22e6f59a5329b50c /doc/aerc.1.scd
parenta0318de57f4884e6df76cbe74acf6221fccaace3 (diff)
downloadaerc-182424d279532635cbae6b1a1817f61db64ee37f.tar.gz
change-tab: document "focus previous tab" functionality
The current :change-tab command allows to be called with a single "-" as a parameter, in which case it changes focus to the previously focused tab. This is useful to switch back and forth between a pair of tabs, and is undocumented. Document this functionality. Signed-off-by: inwit <inwit@sindominio.net> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 0dbf5f2a..5eb9f164 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -85,8 +85,9 @@ These commands work in any context.
*:change-tab* [*+*|*-*]_<tab name or index>_++
*:ct* [*+*|*-*]_<tab name or index>_
Changes the focus to the tab with the given name. If a number is given,
- it's treated as an index. If *+* or *-* is specified, the number is interpreted
- as a delta from the selected tab.
+ it's treated as an index. If the number is prepended with *+* or *-*, the number
+ is interpreted as a delta from the selected tab. If only a *-* is given, changes
+ the focus to the previously selected tab.
*:exec* _<command>_
Executes an arbitrary command in the background. Aerc will set the