SessionsThe session manager and resurrection
No narration yet
Module 6 · Lesson 212 min

The session manager and resurrection

The session manager is a built-in plugin that gives you a visual switcher: browse active sessions, resurrect dead ones, start new ones, rename the current one, and kill sessions, all from one floating panel. It's the fastest way to move between sessions once you have more than one.

Session mode plugins
CtrlthenoEnter Session mode
wOpen the session manager (floating)
cOpen the configuration plugin
pOpen the plugin manager
aOpen the about plugin

Resurrection is why a Zellij session feels immortal. About once a second, Zellij serialises each session, its tabs, panes, and the command running in each pane, to a layout file in your cache folder. If the session exits (a clean quit, a crash, a reboot), that layout is kept. zellij ls shows exited sessions as resurrectable, and attaching to one rebuilds it and re-runs the commands.

Practice

Try it yourself

Do

Switch with the session manager

Use the visual switcher to move between sessions.

Tick every step to confirm you did it.

Do

Resurrect a dead session

Kill a session and bring it back to prove resurrection works.

Tick every step to confirm you did it.