Split Right & Split Down
Build any layout from two moves: split right for columns, split down for rows.
What you'll see
- Start
ryshwith one pane in one column. Ctrl+P nsplits right into a second column; space divides by flex weight.Ctrl+P nagain for a third, evenly shared column.Ctrl+P vsplits down, adding a row inside the active column.Ctrl+P vagain to pack in another row.
Commands shown
rysh
n
n
v
v
Keys used
EnterCtrl+pEscape
Transcript
0:00Build any layout from two moves: split right for columns, split down for rows.
0:04Start with a single pane in a single column.
0:09Ctrl+P then n splits right. That's a second column, and the space divides between them by flex weight.
0:16Do it again for a third column. Each new pane shares the width evenly -- a clean three-column layout.
0:23Now press v to split down. The active column gets a second row, stacked vertically inside that same column.
0:32Split down again and the column packs in another row. Columns grow with n, rows grow with v.
0:40Two keys, endless layouts. Flex weights keep everything balanced as you build.
Key takeaway
n grows columns, v grows rows, and flex weights keep the layout balanced.