diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 4ffb2be6f..50cad0df2 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -22,6 +22,12 @@ Added - New `:edit-url` command to edit the URL in an external editor. +Changed +~~~~~~~ + +- `:tab-focus` can now take a negative index to focus the nth tab counted from + the right. + v0.6.0 ------ diff --git a/README.asciidoc b/README.asciidoc index dfd3eb3f7..c5b6c3030 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -218,6 +218,7 @@ Contributors, sorted by the number of commits in descending order: * Samuel Loury * Matthias Lisin * Marcel Schilling +* Johannes Martinsson * Jean-Christophe Petkovich * Jay Kamat * Helen Sherwood-Taylor diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 399739d5d..5d4786bbe 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -719,7 +719,8 @@ Select the tab given as argument/[count]. If neither count nor index are given, it behaves like tab-next. ==== positional arguments -* +'index'+: The tab index to focus, starting with 1. Negative values counts from the end, such that -1 will focus the last tab. The special value `last` focuses the last focused tab. +* +'index'+: The tab index to focus, starting with 1. The special value `last` focuses the last focused tab. Negative indexes + counts from the end, such that -1 is the last tab. ==== count