2.2 KiB
Default Configuration
Important
If you're using a stable release of Yazi instead of the newest nightly build, make sure you're checking these files out from the
shippedtag, not the newestmainbranch.
This directory contains the default configuration files for Yazi:
yazi-default.toml: General configurationkeymap-default.toml: Keybindings configurationtheme-dark.toml: Dark color scheme (loaded when your terminal is in dark mode)theme-light.toml: Light color scheme (loaded when your terminal is in light mode)
These files are already included with Yazi when you install the release, so you don't need to manually download or copy them to your Yazi configuration directory.
However, if you want to customize certain configurations:
- Create a
yazi.tomlin your config directory to override certain settings inyazi-default.toml, so either:~/.config/yazi/yazi.tomlon Unix-like systems%AppData%\yazi\config\yazi.tomlon Windows
- Create a
keymap.tomlin your config directory to override certain settings inkeymap-default.toml, so either:~/.config/yazi/keymap.tomlon Unix-like systems%AppData%\yazi\config\keymap.tomlon Windows
- Create a
theme.tomlin your config directory to override certain settings intheme-light.tomlandtheme-dark.toml, so either:~/.config/yazi/theme.tomlon Unix-like systems%AppData%\yazi\config\theme.tomlon Windows
For the user's theme.toml file, you can only apply the same color scheme to both the light and dark themes.
If you want more granular control over colors, specify two different flavors for light and dark modes under the [flavor] section of your theme.toml, and override them in your respective flavor instead.