Standard keybindings in zellij.
Commands
keys / command | function |
---|
attach [session name] a [session name] | open saved session |
`` | |
list-sessions ls | list available sessions |
kill-sessions [target] k [target] | kill a session |
kill-all-sessions ka | kill all session |
General
keys / command | function |
---|
ctrl + g | lock interface |
Change Size of Panes
keys / command | function |
---|
ctrl + n | switch between normal and resize mode |
h shift h | increase / decrease left |
j shift j | increase / decrease downwards |
k shift k | increase / decrease upwards |
l shift l | increase / decrease right |
left arrow | increase / decrease left |
right arrow | increase / decrease right |
up arrow | increase / decrease up |
down arrow | increase / decrease down |
Panes
keys / command | function |
---|
ctrl + p | switch between normal and pane mode |
h left | move focus to left |
l right | move focus to right |
j down | move focus down |
k up | move focus up |
p | cycle through panes |
n | create new pane |
d | create new pane below |
r | create new pane on right |
x | close pane |
f | toggle fullscreen of current pane |
z | toggle borders between panes |
w | create floating pane |
e | toggle floating pane |
c | rename pane |
Moving
keys / command | function |
---|
ctrl + h | switch between normal and move mode |
n | move pane forward one slot |
p | move pane backwards one slot |
h left arrow | move pane to left |
j down arrow | move pane down |
k up arrow | move pane up |
l right arrow | move pane right |
Tabs
keys / command | function |
---|
ctrl + tab | switch between normal and tab mode |
r | rename tab |
h left arrow up arrow k | switch to previous tab |
l right arrow down arrow j | switch to next tab |
n | create new tab |
x | close tab |
s | toggle active sync tab |
b | move pane to new tab |
] | move pane to new tab on right |
[ | move pane to new tab on left |
1 2 … 9 | got to specific tab |
tab | switch between last used and current tab |
Session Management
keys / command | function |
---|
ctrl + o | switch between normal and session mode |
ctrl + s | switch to search mode |
w | open session manager |
d | detach session |
Search Mode
keys / command | function |
---|
ctrl + s | switch to search mode |
ctrl + x | scroll to bottom |
Source
https://github.com/zellij-org/zellij/blob/main/zellij-utils/assets/config/default.kdl