Zellij Cheat Sheet

Standard keybindings in zellij.

Commands

keys / commandfunction
attach [session name] a [session name]open saved session
``
list-sessions lslist available sessions
kill-sessions [target] k [target]kill a session
kill-all-sessions kakill all session

General

keys / commandfunction
ctrl + glock interface

Change Size of Panes

keys / commandfunction
ctrl + nswitch between normal and resize mode
h shift hincrease / decrease left
j shift jincrease / decrease downwards
k shift kincrease / decrease upwards
l shift lincrease / decrease right
left arrowincrease / decrease left
right arrowincrease / decrease right
up arrowincrease / decrease up
down arrowincrease / decrease down

Panes

keys / commandfunction
ctrl + pswitch between normal and pane mode
h leftmove focus to left
l rightmove focus to right
j downmove focus down
k upmove focus up
pcycle through panes
ncreate new pane
dcreate new pane below
rcreate new pane on right
xclose pane
ftoggle fullscreen of current pane
ztoggle borders between panes
wcreate floating pane
etoggle floating pane
crename pane

Moving

keys / commandfunction
ctrl + hswitch between normal and move mode
nmove pane forward one slot
pmove pane backwards one slot
h left arrowmove pane to left
j down arrowmove pane down
k up arrowmove pane up
l right arrowmove pane right

Tabs

keys / commandfunction
ctrl + tabswitch between normal and tab mode
rrename tab
h left arrow up arrow kswitch to previous tab
l right arrow down arrow jswitch to next tab
ncreate new tab
xclose tab
stoggle active sync tab
bmove pane to new tab
]move pane to new tab on right
[move pane to new tab on left
1 29got to specific tab
tabswitch between last used and current tab

Session Management

keys / commandfunction
ctrl + oswitch between normal and session mode
ctrl + sswitch to search mode
wopen session manager
ddetach session

Search Mode

keys / commandfunction
ctrl + sswitch to search mode
ctrl + xscroll to bottom

Source

https://github.com/zellij-org/zellij/blob/main/zellij-utils/assets/config/default.kdl

Last modified 2024.04.20