Config polish
Your config lives at ~/.config/zellij/config.kdl (macOS: under the Application Support path). You don’t write it from scratch: zellij setup --dump-config prints the full default config, which you redirect to a file and edit down. That dump is also the authoritative source for every default keybinding, the ground truth behind this whole course.
mkdir -p ~/.config/zellij
zellij setup --dump-config > ~/.config/zellij/config.kdl
zellij setup --check # sanity-check your setup and pathsMost options you’ll never touch. A handful are worth setting deliberately: which layout to boot, your theme, the shell new panes use, and whether the mouse is captured. Everything is a top-level line in config.kdl.
default_layout "dev" // load your layout by name on startup
theme "catppuccin-mocha" // any built-in or custom theme
default_shell "fish" // shell for new panes (defaults to $SHELL)
mouse_mode true // capture the mouse (Shift bypasses)Try it yourself
Create your config from the dump
Get a real config file in place and set one option.
- Run
zellij setup --dump-config > ~/.config/zellij/config.kdl(adjust path on macOS) - Open it and set
default_layoutto a layout name you made in Module 7 - Run
zellij setup --checkto confirm the setup is valid - Start a fresh
zellijand confirm your default layout loads
The one command to remember
This command is the source of truth for everything.
What command prints Zellij's complete current default config and keybindings?
Reveal answer
zellij setup --dump-config.