Opening Files
Yazi will open files using your system’s default applications, or you can configure custom openers in
yazi.toml.Creating Files and Directories
Pressa to create new files or directories:
1
Press `a`
Activate the create command
2
Enter name
Type the file or directory name
3
Create directory
End the name with
/ to create a directory instead of a fileYank (Copy) and Cut
Yazi uses a yank-paste model similar to Vim:Yank Commands
- Copy Workflow
- Move Workflow
1
Select files
Select one or more files (see Selection)
2
Yank
Press
y to copy files to the yank buffer3
Navigate
Navigate to the destination directory
4
Paste
Press
p to paste the filesPaste Operations
Symbolic and Hard Links
Create links to yanked files:
Link workflow:
Deleting Files
Yazi supports both trash and permanent deletion:Renaming Files
Pressr to rename files:
rename --cursor=before_ext command positions the cursor intelligently:
- For
document.txt, cursor appears after “document” and before “.txt” - For files without extensions, cursor appears at the end
Yazi also supports bulk renaming through external editors. Check the plugins documentation for advanced renaming options.
Copy Path/Name
Copy file information to the clipboard:
Example output:
Shell Commands
Execute shell commands on selected files:- Interactive Shell (`;`)
- Blocking Shell (`:`)
Non-blocking shell execution. Yazi continues running while the command executes.
Hidden Files
Toggle visibility of hidden files:File Selection Preview
When files are selected or in the yank buffer, Yazi displays:- Yellow highlight: Files in the yank buffer (copied)
- Red highlight: Files in the cut buffer (cut for moving)
- Visual selection: Files selected in visual mode