Resize mode
Resize mode (Ctrl n) changes how much space the focused pane takes. The lowercase direction keys grow the pane toward that edge; the same keys shifted (uppercase) shrink it. There’s also a non-directional pair for a quick bigger/smaller that lets Zellij decide the axis.
You don’t have to enter the mode for a quick adjustment. From Normal, Alt + (or Alt =) grows the focused pane and Alt - shrinks it, non-directionally. That covers most day-to-day resizing without a mode switch.
Try it yourself
Shape a two-pane split
Grow and shrink a pane by direction and feel the split move.
- Split into two side-by-side panes (
Ctrl p,r) - Focus the left pane, press
Ctrl nto enter Resize mode - Press
la few times to grow it rightward, thenLto shrink it back - Press
Escto leave Resize mode
l and back left with L.Grow versus shrink
Lock in the case rule.
In Resize mode, what's the difference between pressing k and pressing K?
Reveal answer
k increases the pane's size upward; K (Shift+k) decreases its size from the top. Lowercase grows, uppercase shrinks.