Skip to main content
This guide will get you up and running with Yazi in under 2 minutes. Let’s learn the essential operations!

Launching Yazi

Open your terminal and run:
Yazi opens in your current directory. You’ll see a three-column layout:
  • 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/directory

Basic Navigation

Yazi uses Vim-like keybindings for navigation:
1

Move Between Files

The selected file is highlighted. The preview updates automatically.
2

Enter/Exit Directories

Navigate your file tree naturally - right to go deeper, left to go back.
3

Jump Around

Opening Files

There are multiple ways to open files:
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:
The selected files are highlighted. Repeat to select multiple files.

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:
1

Create & Switch Tabs

2

Manage Tabs

Preview & Scrolling

The right panel shows a preview of the selected file:
Preview supports:
  • Text files with syntax highlighting
  • Images (in supported terminals)
  • Videos (thumbnail)
  • PDFs, archives, and more

Additional Operations

  • 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 r for bulk rename
Useful for pasting file paths into other applications.
Show or hide files starting with . (dot files).
Change how files are ordered in the list.
Execute commands in your current directory:

Help & Exit

Quick Reference Card

Here’s a handy reference for the most common operations:

Navigation

  • j/k - Up/Down
  • h/l - Parent/Enter
  • gg/G - Top/Bottom

Files

  • Enter - Open
  • a - Create
  • r - Rename
  • d - Delete

Selection

  • Space - Toggle
  • v - Visual mode
  • Ctrl-a - Select all

Copy/Paste

  • y - Yank (copy)
  • x - Cut
  • p - Paste

Search

  • / - Find
  • f - Filter
  • s/S - Search

System

  • ; - Shell
  • ~ - Help
  • q - Quit

Example Workflow

Let’s walk through a complete example:
1

Launch and Navigate

Opens Yazi in your Documents folder.
2

Find a File

Type to find files containing “report”. Press n to cycle through matches.
3

Select Multiple Files

Or use visual mode: v then move with j/k.
4

Copy to Another Directory

5

Done!

Tips for Productivity

Instead of pressing Space multiple times:
  1. Press v to enter visual mode
  2. Use j/k to extend selection
  3. Perform operation (y, x, d, etc.)
  4. Press Esc to exit visual mode
Much faster for selecting ranges of files!
Quick navigation shortcuts:
Add your own in the configuration!
When copying large files or running operations:
  • Press w to see task progress
  • x to cancel a task
  • Enter to inspect details
Use shell commands without leaving Yazi:
The current directory is automatically set.

Common Questions

Yazi respects your $EDITOR environment variable. Set it in your shell config:
Then text files will open in your preferred editor when you press Enter.
Yes! All keybindings are customizable. See the Configuration guide.The default keymap is located at:
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)
For other terminals, install Überzug++ or Chafa. See Image Preview for setup.
  • Deleted files go to trash by default (press d)
  • Use Y or X to cancel a yank/cut operation
  • Press Esc to cancel selection or exit modes
  • Press Ctrl-c to cancel ongoing operations
To permanently delete (skip trash), press 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.