HomeTutorials › Layout & Resize
Layout & Resize

Resizing Panes

#024 0:10 Part of the Rysh video series

Give the important pane more room -- arrow keys in layout mode flex the space.

Resizing Panes — 0:10 walkthrough

What you'll see

  1. Start rysh, Ctrl+P n then Ctrl+P v for a column plus a row.
  2. Press Ctrl+L to enter layout mode.
  3. Right/Left grow and shrink width; neighbors trade flex weight.
  4. Up/Down adjust height within the column, staying proportional.
  5. Press Esc when it looks right.

Commands shown

rysh
n
v

Keys used

EnterCtrl+pEscapeCtrl+lRightLeftUpDown

Transcript

0:00Give the important pane more room -- arrow keys in layout mode flex the space.

0:04Start rysh, split right for a second column, then split down so we can resize in both directions.

0:14Press Ctrl+L. Now the arrow keys resize the active pane.

0:19Right grows the pane's width, Left shrinks it. The neighbors give and take flex weight as you go.

0:27Up and Down adjust height within the column. It's all flex-based, so the layout always stays proportional.

0:35Escape when it looks right. Arrow keys -- the simplest way to tune every pane's size.

Key takeaway
In layout mode the arrow keys flex pane size -- width with Left/Right, height with Up/Down.