Manage panes in tmux using: Ctrl+b % (split vertical), Ctrl+b " (split horizontal), Ctrl+b arrow (navigate), Ctrl+b z (zoom), Ctrl+b x (close).
Ctrl+b % (vertical split) Ctrl+b " (horizontal split)
Panes are subdivisions within a tmux window that allow you to run multiple terminal sessions side by side in the same window. Efficient pane management is key to a productive tmux workflow.
tmux offers several preset layouts that can be cycled through with Ctrl+b Space or set directly:
Ctrl+b :select-layout even-horizontal Ctrl+b :select-layout even-vertical Ctrl+b :select-layout main-horizontal Ctrl+b :select-layout main-vertical Ctrl+b :select-layout tiled
For a custom split, you can specify an exact percentage:
Ctrl+b :split-window -v -p 30 # Horizontal split, new pane is 30% of height Ctrl+b :split-window -h -p 40 # Vertical split, new pane is 40% of width
To send the same commands to all panes in a window simultaneously:
Ctrl+b :setw synchronize-panes on
To turn it off:
Ctrl+b :setw synchronize-panes off