Show Menu
Cheatography

zellij - terminal workspace and multiplexer Cheat Sheet (DRAFT) by

Unofficial cheat sheet for *zellij* {{popup="https://zellij.dev/"}}

This is a draft cheat sheet. It is a work in progress and is not finished yet.

TAB (Ctl + t)

n
new tab
r
rename
b
break out - separate active pane into new tab
s
{{fa-solid fa-cir­cle­-ex­cla­mat­ion}} sync input for all panes within a tab
does not sync input between tabs
x
close active tab
[ | ]
merge active pane with the tab on left or right
if none, merges with the first tab
← | → + Enter
select highli­ghted tab
1, 2, 3 ... 9
go to tab 1, 2, 3 ... 9
Tab
toggle between active and last active tabs

PANE (Ctl + p)

n
new pane
c
rename pane
w
create floating pane
draggable by mouse
w to hide or show again
f
fullscreen mode
hides all panes except active one
e
embed floating panel
appends floating pane after all panes
x
close active pane
[ | ]
merge active pane with the tab on left or right
if none, merges with the first tab
← | → + Enter
select highli­ghted tab
1, 2, 3 ... 9
go to tab 1, 2, 3 ... 9
 

RESIZE (Ctl + n)

←↓↑→
increase size in arrow direction
+ | -
increa­se|­dec­rease size in both dimensions

SESSION (Ctl + o)

w
session manager
connect to another session | check connected users | terminate/spawn sessions
d
detach from session
q
close session perman­ently
session could not be restored
unbind
Ctl+q
to avoid accident session closure when you exit another program inside zellij. Allow closure and detachment from session pane only.

MOVE (Ctl + h)

←↓↑→
switch between panes
By default mouse control is enabled and panes could be switched by left click.

MOVE (Ctl + h) (copy)

↓ | ↑
scroll line by line
PgDn | PgUp
scroll page
d | u
scroll half page
e
edit and dump pane output to tmp file
s
search
hit Ent to highlight matches on screen

CLI

zellij ls
list all active sessions