Skip to content

jtianling/dual-yazi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,388 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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 Renaming, Archive Extraction, Visual Mode, File Chooser, Git Integration, Mount Manager
  • 🎨 Theme System, Mouse Support, Trash Bin, Custom Layouts, CSI u, OSC 52
  • 🪟 Dual-Pane Mode, Per-Pane Independent Tabs, Cross-Pane Copy/Move (MC-style F5/F6), Single/Dual Toggle, Preview Toggle
  • ... and more!
example.mp4

dual-yazi 快速开始

dual-yazi 是 yazi 的 fork, 在上游基础上强化了双面板 (dual-pane) 体验, 并提供 --dual 启动标志, 让双面板成为一等公民.

安装 (macOS / Linux, 通过 Homebrew)

# 如果之前装过官方 yazi, 先卸载 (二者 binary 同名, 会冲突)
brew uninstall yazi

# 通过个人 tap 安装 dual-yazi
brew install jtianling/tap/dual-yazi

也可以先 brew tap 再装:

brew tap jtianling/tap
brew install dual-yazi

升级:

brew update && brew upgrade dual-yazi

进入 dual mode

启动时直接以双面板模式打开:

yazi --dual

或者先正常启动 yazi, 再用快捷键切换:

快捷键 动作
Ctrl+W o 单面板 / 双面板切换
Tab 在两个面板之间切换焦点
Ctrl+W h / Ctrl+W l 直接聚焦左 / 右面板
Ctrl+W p 切换右侧 preview
= 把另一侧面板同步到当前目录
F5 / Shift+F5 复制选中文件到对面 (Shift 强制覆盖)
F6 / Shift+F6 移动选中文件到对面 (Shift 强制覆盖)

更详细的 keymap 参见 yazi-config/preset/keymap-default.toml.

Project status

Public beta, can be used as a daily driver.

Yazi is currently in heavy development, expect breaking changes.

Documentation

Discussion

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 Inline images protocol ❌ Rio renders images at incorrect sizes
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

RustRover logo

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.

About

💥 Blazing fast terminal file manager written in Rust, based on async I/O with dual panel

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 93.9%
  • Lua 5.1%
  • Other 1.0%