This guide will get you up and running with Yazi in under 2 minutes. Let’s learn the essential operations!Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sxyazi/yazi/llms.txt
Use this file to discover all available pages before exploring further.
Launching Yazi
Open your terminal and run:- Left column: Parent directory
- Center column: Current directory (your files)
- Right column: Preview of selected file
Tip: Launch Yazi in a specific directory:
yazi /path/to/directoryBasic Navigation
Yazi uses Vim-like keybindings for navigation:Opening Files
There are multiple ways to open files:- Default Application
- Interactive Selection
Open with the default system application:Yazi detects the file type and opens it with the appropriate application.
File Operations
Perform common file operations with simple keybindings:Copy Files
Cut/Move Files
Delete Files
Create Files
Selection
Select multiple files for batch operations:- Toggle Selection
- Visual Mode
- Select All
Search & Filter
Quickly find files:The external search tools (fd, ripgrep, fzf, zoxide) require separate installation. See Installation for optional dependencies.
Working with Tabs
Yazi supports multiple tabs for working with different directories:Preview & Scrolling
The right panel shows a preview of the selected file:- Text files with syntax highlighting
- Images (in supported terminals)
- Videos (thumbnail)
- PDFs, archives, and more
Additional Operations
Rename Files
Rename Files
- Opens an input prompt with the current filename
- Cursor is positioned before the file extension
- Type the new name and press Enter
- For multiple files: select them first, then press
rfor bulk rename
Copy Path Information
Copy Path Information
Hidden Files
Hidden Files
Sorting
Sorting
Shell Integration
Shell Integration
Symlinks
Symlinks
Help & Exit
Quick Reference Card
Here’s a handy reference for the most common operations:Navigation
j/k- Up/Downh/l- Parent/Entergg/G- Top/Bottom
Files
Enter- Opena- Creater- Renamed- Delete
Selection
Space- Togglev- Visual modeCtrl-a- Select all
Copy/Paste
y- Yank (copy)x- Cutp- Paste
Search
/- Findf- Filters/S- Search
System
;- Shell~- Helpq- Quit
Example Workflow
Let’s walk through a complete example:Tips for Productivity
Use Visual Mode for Quick Selection
Use Visual Mode for Quick Selection
Instead of pressing Space multiple times:
- Press
vto enter visual mode - Use
j/kto extend selection - Perform operation (y, x, d, etc.)
- Press
Escto exit visual mode
Jump with Go Commands
Jump with Go Commands
Quick navigation shortcuts:Add your own in the configuration!
Monitor Task Progress
Monitor Task Progress
- Press
wto see task progress xto cancel a taskEnterto inspect details
Integrate with Your Shell
Integrate with Your Shell
Use shell commands without leaving Yazi:The current directory is automatically set.
Common Questions
How do I open files in my terminal editor?
How do I open files in my terminal editor?
Yazi respects your Then text files will open in your preferred editor when you press Enter.
$EDITOR environment variable. Set it in your shell config:Can I change the keybindings?
Can I change the keybindings?
Yes! All keybindings are customizable. See the Configuration guide.The default keymap is located at:
How do I see image previews?
How do I see image previews?
Image preview support depends on your terminal. Yazi has built-in support for:
- kitty (Kitty graphics protocol)
- iTerm2 (Inline images protocol)
- WezTerm (Inline images protocol)
- foot, Windows Terminal (Sixel)
What if I make a mistake?
What if I make a mistake?
- Deleted files go to trash by default (press
d) - Use
YorXto cancel a yank/cut operation - Press
Escto cancel selection or exit modes - Press
Ctrl-cto cancel ongoing operations
D (capital D).Next Steps
Now that you know the basics, explore these topics:Configuration
Customize colors, behavior, and keybindings
Full Keybindings
Complete reference of all keyboard shortcuts
Plugin System
Extend Yazi with Lua plugins
Image Preview Setup
Configure image previews for your terminal
You’re ready to use Yazi! Press
~ anytime in Yazi to see the help menu with all available commands.