split
Synopsis
Section titled “Synopsis”split [-h | -v] [command...]Description
Section titled “Description”Opens a new pane split in Kitty or WezTerm, optionally running a command in it. Defaults to a horizontal (bottom) split. The new pane inherits the current working directory.
Arguments
Section titled “Arguments”-h, --horizontal |
Open a horizontal split (default) |
-v, --vertical |
Open a vertical split |
command... |
Command to run in the new pane; opens a bare fish shell if omitted |
Exit Status
Section titled “Exit Status”0 |
Pane opened successfully |
1 |
Not running inside Kitty or WezTerm |
Example
Section titled “Example”splitsplit -v nvim README.mdDependencies: kitty