File: README.md
Yazi - β‘οΈ Blazing Fast Terminal File Manager
Yazi (means "duck") is a terminal file manager written in Rust, based on non-blocking async I/O. It aims to provide an efficient, user-friendly, and customizable file management experience.
π‘ A new article explaining its internal workings: Why is Yazi Fast?
- π Full Asynchronous Support: All I/O operations are asynchronous, CPU tasks are spread across multiple threads, making the most of available resources.
- πͺ Powerful Async Task Scheduling and Management: Provides real-time progress updates, task cancellation, and internal task priority assignment.
- πΌοΈ Built-in Support for Multiple Image Protocols: Also integrated with Γberzug++ and Chafa, covering almost all terminals.
- π Built-in Code Highlighting and Image Decoding: Combined with the pre-loading mechanism, greatly accelerates image and normal file loading.
- π Concurrent Plugin System: UI plugins (rewriting most of the UI), functional plugins, custom previewer/preloader/spotter/fetcher; Just some pieces of Lua.
- βοΈ Virtual Filesystem: Remote file management, custom VFS provider, custom search engines.
- π‘ Data Distribution Service: Built on a client-server architecture (no additional server process required), integrated with a Lua-based publish-subscribe model, achieving cross-instance communication and state persistence.
- π¦ Package Manager: Install plugins and themes with one command, keeping them up-to-date, or pin them to a specific version.
- π§° Integration with ripgrep, fd, fzf, zoxide
- π« Vim-like input/pick/confirm/which/notify component, auto-completion for cd paths
- π·οΈ Multi-Tab Support, Cross-directory selection, Scrollable Preview (for videos, PDFs, archives, code, directories, etc.)
- π Bulk Rename/Create, Archive Extraction, Visual Mode, File Chooser, Git Integration, Mount Manager
- π¨ Theme System, Mouse Support, Drag and Drop, Trash Bin, Custom Layouts, CSI u, OSC 52, CSI 2031
- ... and more!
https://github.com/sxyazi/yazi/assets/17523360/92ff23fa-0cd5-4f04-b387-894c12265cc7
Project status
Public beta, can be used as a daily driver.
Yazi is currently in heavy development, expect breaking changes.
Documentation
Discussion
- Discord Server (English mainly): https://discord.gg/qfADduSdJu
- Telegram Group (Chinese mainly): https://t.me/yazi_rs
Image Preview
| Platform | Protocol | Support |
|---|---|---|
| kitty (>= 0.28.0) | Kitty unicode placeholders | β Built-in |
| iTerm2 | Inline images protocol | β Built-in |
| WezTerm | Inline images protocol | β Built-in |
| Konsole | Kitty old protocol | β Built-in |
| foot | Sixel graphics format | β Built-in |
| Ghostty | Kitty unicode placeholders | β Built-in |
| Windows Terminal (>= v1.22.10352.0) | Sixel graphics format | β Built-in |
| st with Sixel patch | Sixel graphics format | β Built-in |
| Warp (macOS/Linux only) | Inline images protocol | β Built-in |
| Tabby | Inline images protocol | β Built-in |
| VSCode | Inline images protocol | β Built-in |
| Rio (>= 0.3.9) | Kitty unicode placeholders | β Built-in |
| Black Box | Sixel graphics format | β Built-in |
| Bobcat | Inline images protocol | β Built-in |
| X11 / Wayland | Window system protocol | βοΈ Γberzug++ required |
| Fallback | ASCII art (Unicode block) | βοΈ Chafa required (>= 1.16.0) |
See https://yazi-rs.github.io/docs/image-preview for details.
Special Thanks
Thanks to RustRover team for providing open-source licenses to support the maintenance of Yazi.
Active code contributors can contact @sxyazi to get a license (if any are still available).
License
Yazi is MIT-licensed. For more information check the LICENSE file.
File: yazi-config/preset/README.md
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 theshippedtag, 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.