Posted on December 5, 2021 by Adrian Wyssmann ‐ 3 min read
In Linux, terminal window managers improve the work on the shell by allowing to have persistency, multiplex a terminal window and session sharing. Most prominent screen managers are screen - released in 1987, tmux - released in 2007, and byobu - released in 2009.
While I personally use tmux, I always struggle to remember the keystrokes necessary to navigate among the windows, I found with zellij a nice alternative which makes the usage imho very easy. It offers the following features:
Nevertheless, if you have a look at the interface it’s pretty clear how you can work with Zellij, when you are using the default layout:

The default layout takes use of the tab-bar and status-bar plugins:
zellij setup --dump-layout default
---
template:
direction: Horizontal
parts:
- direction: Vertical
borderless: true
split_size:
Fixed: 1
run:
plugin:
location: "zellij:tab-bar"
- direction: Vertical
body: true
- direction: Vertical
borderless: true
split_size:
Fixed: 2
run:
plugin:
location: "zellij:status-bar"
tabs:
- direction: VerticalBased on this, you can extend the layout definition and do something like this
---
template:
direction: Horizontal
parts:
- direction: Vertical # part 1
borderless: true
split_size:
Fixed: 1
run:
plugin:
location: "zellij:tab-bar"
- direction: Vertical # part 2
body: true
- direction: Vertical # part 3
borderless: true
split_size:
Fixed: 2
run:
plugin:
location: "zellij:status-bar"
tabs:
- name: "tab 1" # tab 1
- name: "tab 2" # tab 2
direction: Vertical
parts:
- direction: Horizontal
- direction: Horizontal
- name: "tab 3" # tab 3
direction: Vertical
parts:
- direction: Horizontal
- direction: Horizontal
parts:
- direction: Horizontal
- direction: VerticalSo if you go to tab 3 you would see this arrangement:

You can also customize the keybindings and the apperance aka themes. As you see, it’s a nice alternative to tmux so you might give it a try.