Skip to content

Zellij

A workspace manager and terminal multiplexer that is designed to be user-friendly with discoverable keybindings.

Configuration Paths

  • Config: dotfiles/.config/zellij/config.kdl

Themes

Uses built-in Zellij themes with auto-switching based on terminal color scheme (CSI 2031 / DSR 997):

  • Default: gruvbox-dark
  • Dark mode: gruvbox-dark
  • Light mode: gruvbox-light

Troubleshooting

Run zellij setup --check to verify configuration, theme loading, and directory paths.

Keybindings

Zellij uses modal input. Each mode is entered via a prefix and has its own keymap.

Mode Switching

ModeShortcut
NormalEsc (from other modes)
LockedCtrl + G
PaneCtrl + P
TabCtrl + T
ResizeCtrl + N
MoveCtrl + H
ScrollCtrl + S
SessionCtrl + O
TmuxCtrl + B or Ctrl + A

Shared (All Modes Except Locked)

ActionShortcut
Lock UICtrl + G
Focus left/down/up/rightAlt + H / Alt + J / Alt + K / Alt + L
Focus with arrowsAlt + Arrow Keys
New paneAlt + N
Toggle floating panesAlt + F
Previous/next swap layoutAlt + [ / Alt + ]
Resize increase/decreaseAlt + + / Alt + -
Move tab left/rightAlt + I / Alt + O
Toggle pane in groupAlt + P
Toggle group markingAlt + Shift + P
Quit ZellijCtrl + Q

Note: Ctrl + H enters Move mode in Zellij, which conflicts with Helix's Ctrl + H (jump view left). Run Zellij in Locked mode (Ctrl + G) or use Alt + H for focus when editing inside Zellij.

Locked Mode (Ctrl + G)

ActionShortcut
Switch focus / normalSpace
Rename tab, or .
New pane (down)-
New pane (right)\\ or `
Previous tabB
About plugin?
Layout managerL
Go to tab 1-919
New tabC
Plugin managerI or U
Toggle fullscreenM or Z
Detach sessionD
Close focusX

Pane Mode (Ctrl + P)

ActionShortcut
Move focus (HJKL / arrows)H/J/K/L or arrows
New paneN
New pane (down)D
New pane (right)R
New pane (stacked)S
Toggle floatingW
Toggle embed/floatE
Toggle fullscreenF
Toggle pinnedI
Rename paneC
Switch focusP
Toggle pane framesZ
Close focusX

Tab Mode (Ctrl + T)

ActionShortcut
New tabN
Close tabX
Next/previous tabL / H or arrows
Toggle tabTab
Rename tabR
Break paneB
Break pane left/right[ / ]
Toggle active sync tabS
Go to tab 1-919

Resize Mode (Ctrl + N)

ActionShortcut
Resize (increase/decrease)+ / - or =
Resize increase (HJKL)H/J/K/L
Resize decrease (HJKL)Shift + H/J/K/L
Resize with arrowsArrow keys

Move Mode (Ctrl + H)

ActionShortcut
Move pane (HJKL / arrows)H/J/K/L or arrows
Move paneN or Tab
Move pane backwardsP

Scroll Mode (Ctrl + S)

ActionShortcut
Scroll up/downK / J or arrows
Page scroll up/downPage Up / Page Down or H / L
Half page up/downU / D
Scroll to bottomCtrl + C
Enter searchS
Edit scrollbackE

Search Mode (from Scroll)

ActionShortcut
Search down/upN / P
Toggle case sensitivityC
Toggle whole wordO
Toggle wrapW

Session Mode (Ctrl + O)

ActionShortcut
About pluginA
Configuration pluginC
Layout managerL
Plugin managerP
Share pluginS
Session managerW
DetachD

Tmux Mode (Ctrl + B / Ctrl + A)

ActionShortcut
Move focus (HJKL / arrows)H/J/K/L or arrows
New pane (right)`
New pane (down)- or _ or "
Next/previous tabN / P
Focus next paneO
Rename tab,
Enter scroll[
Send Ctrl + BCtrl + B
Session managerS
New tabC
Plugin managerI / U
Toggle fullscreenM / Z
DetachD

Platform Documentation