split
split [-h | -v] [command...]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:
-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 |
Returns:
0 |
Pane opened successfully |
1 |
Not running inside Kitty or WezTerm |
splitsplit -v nvim README.md