Zellij
Back to Terminal
ZellijIntermediate12 min

Zellij Layouts and Floating Panes: Build a Modular Terminal Workspace

Zellij's Layout System

Learn how to create custom Zellij layouts with KDL config, use floating panes for temporary windows, and build a reproducible dev environment from a single command.

Zellij is a Rust-based multiplexer with built-in layouts, floating panes, and a status bar that teaches you shortcuts as you go. No memorization needed.

By the end of this 12 min guide, you'll have a working Zellij setup and practical Zellij workflows you can use immediately.

KDL Layout File Basics

Install Zellij:

brew install zellij
Tip: Verify the installation with zellij --version or zellij -V after installing.

Built-in Layouts Explained

Just run zellij — it works out of the box. The status bar shows available keys for the current mode. Customize in KDL config files.

Here's a foundational configuration to start with:

// config.kdl
keybinds {
normal {
bind { Ctrl "p" { ...; } }
}
}
theme "catppuccin-mocha"

Designing Custom Layouts

With Zellij configured, these Zellij-specific workflows will save you time every day:

Pro tip: Don't try to adopt everything at once. Start with Ctrl+p pane mode: split, move, resize and add more as it becomes habit.

Floating Pane Tricks

Once you're comfortable with Zellij basics, these advanced techniques will transform your Zellij workflow:

Layout Parsing & Syntax Errors

Here are the most common Zellij issues and how to fix them:

Layout Mastery

Congratulations — you now have a solid Zellij foundation. Here's where to go next:

← PreviousTmux Cheat Sheet 2026: Every Command, Shortcut, and Configuration You NeedNext →WezTerm Color Schemes and Font Configuration: A Visual Customization Guide