# plan.ops.panes.SplitWindow

- **Module:** plan.ops.panes
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/plan/ops/panes.rs#L23
- **Page:** https://libtmux.org/en/rs/latest/reference/plan-ops-panes-splitwindow/

Split a window, making a pane.

## Members

- `new` (method): Split this window, leaving the new pane unfocused.
- `environment` (method): Set a variable in the new pane's environment before it starts.
- `horizontal` (method): Split side by side rather than one above the other.
- `direction` (method): Put the new pane on this side of the one being divided.
- `start_directory` (method): Start the new pane in this directory.
- `command` (method): Run this instead of a shell in the new pane.
- `focus` (method): Leave the new pane focused.
