Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

split_window

Start a pane’s configured process; accepts no command payload. Creates a pane whose configured process starts after the split.

All Go tools · JSON · Source

Arguments

direction optional · string
below, above, left, or right
pane_id required · string
the pane id, such as %1
percent optional · integer
share of the split occupied by the new pane
start_directory optional · string
an absolute literal start directory

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"direction": {
"description": "below, above, left, or right",
"enum": [
"",
"below",
"above",
"right",
"left"
],
"type": "string"
},
"pane_id": {
"description": "the pane id, such as %1",
"type": "string"
},
"percent": {
"description": "share of the split occupied by the new pane",
"type": "integer"
},
"start_directory": {
"description": "an absolute literal start directory",
"type": "string"
}
},
"required": [
"pane_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"paneId": {
"type": "string"
}
},
"required": [
"paneId"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Split a window"
}
Esc

Type to search.