PanesSplit, focus, close
No narration yet
Module 2 · Lesson 112 min

Split, focus, close

Panes are splits within a tab. You create them by direction, move focus between them, and close them when done. Everything here lives in Pane mode, reached with Ctrl p. Notice that the split keys drop you straight back to Normal afterward, so you split and keep typing without a detour.

Pane mode: create and close
CtrlthenpEnter Pane mode
nNew pane
dSplit down (new pane below)
rSplit right (new pane to the right)
xClose the focused pane
Pane mode: move focus
hFocus left
jFocus down
kFocus up
lFocus right
pCycle focus to the next pane

The hjkl here are the Vim directions: left, down, up, right. Arrow keys work in the same slots if your hands aren't there yet. And you don't always need a mode: several pane actions have shortcuts that work straight from Normal using Alt.

Shortcuts from Normal (no mode needed)
AltthennNew pane
AltthenhMove focus (or tab) left
AltthenjMove focus down
AltthenkMove focus up
AltthenlMove focus (or tab) right
Practice

Try it yourself

Do

Split into a three-pane layout

Build a small arrangement and walk your focus around it.

Tick every step to confirm you did it.

Do

Close one back down

Tidy up with the close key.

Tick every step to confirm you did it.

Quiz

Which key splits down

In Pane mode, you want a new pane stacked below the current one.