Zellij

Terminal workspace · sessions, tabs, panes, and persistence

Cheatsheet Every mode, keybind, CLI flag, and layout option in one tabbed page
🌳
Concepts Sessions, the modal keybind state machine, layouts, persistence
🎮
Practice Drive a simulated session — split panes, switch modes, learn by doing
📖
Zellij Docs Official Zellij documentation and reference

Survival kit

zellijStart or attach to default session
zellij -s NAMEStart a named session
zellij attach NAMERe-attach to a session (after detach / wezterm close)
zellij --layout devStart with the dev layout (editor + shell + logs)
zellij lsList sessions
zellij kill-session NAMEEnd a session
Alt+p then n / x / arrowsPANE mode — new / close / focus pane (rebound from Ctrl+P so nvim's <C-p> still works)
Ctrl+T then n / 1-9TAB mode — new tab / jump to tab
Alt+h / Alt+lPrevious / next zellij tab. Wezterm tabs are on Ctrl+Alt+H / Ctrl+Alt+L. Ctrl+H/L pass through to nvim & bash.
Ctrl+SSCROLL mode — PgUp / PgDn / / to search
Alt+o then dSESSION mode → detach (rebound from Ctrl+O so nvim's <C-o> jumplist still works)
Ctrl+GLock zellij (forward all keys to the running app)
Ctrl+QQuit zellij and kill the session
config~/.config/zellij/config.kdl · layouts under layouts/