diff options
Diffstat (limited to 'doc/help/commands.asciidoc')
-rw-r--r-- | doc/help/commands.asciidoc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 9632f6331..a9494f8b3 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -1261,7 +1261,7 @@ The tab index to focus, starting with 1. [[tab-give]] === tab-give -Syntax: +:tab-give ['win-id']+ +Syntax: +:tab-give [*--keep*] ['win-id']+ Give the current tab to a new or existing window if win_id given. @@ -1270,6 +1270,9 @@ If no win_id is given, the tab will get detached into a new window. ==== positional arguments * +'win-id'+: The window ID of the window to give the current tab to. +==== optional arguments +* +*-k*+, +*--keep*+: If given, keep the old tab around. + ==== count Overrides win_id (index starts at 1 for win_id=0). @@ -1334,7 +1337,7 @@ How many tabs to switch back. [[tab-take]] === tab-take -Syntax: +:tab-take 'index'+ +Syntax: +:tab-take [*--keep*] 'index'+ Take a tab from another window. @@ -1342,6 +1345,9 @@ Take a tab from another window. * +'index'+: The [win_id/]index of the tab to take. Or a substring in which case the closest match will be taken. +==== optional arguments +* +*-k*+, +*--keep*+: If given, keep the old tab around. + ==== note * This command does not split arguments after the last argument and handles quotes literally. |