From 989730d47000feb297b5fab4e273a9d9b13c5741 Mon Sep 17 00:00:00 2001 From: Jeffas Date: Fri, 26 Jul 2019 22:41:13 +0100 Subject: Add index option to change-tab This allows selection of a tab using its index. It attempts to parse the given argument as a number, if it fails then it uses it as a name. Also supports relative indexes using prefixed + or -. --- doc/aerc.1.scd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 206e9b1..c158422 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -36,8 +36,10 @@ These commands work in any context. *cd* Changes aerc's current working directory. -*change-tab* - Changes the focus to the tab with the name. +*change-tab* [+|-] + 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. *exec* Executes an arbitrary command in the background. -- cgit v1.2.3