Yazi
Overview
Yazi is a terminal file manager written in rust. It can integrate with neovim and can be heavily customized.
GitHub: https://github.com/sxyazi/yazi
Installation
cargo install yazi-fm yazi-cli
Navigation
| Keys | Action |
| K or Up | Move the cursor up |
| J or Down | Move the cursor down |
| L or Right | Enter hovered directory |
| H or Left | Leave the current directory and into its parent |
| Shift+K | Seek up 5 units in the preview |
| Shift+J | Seek down 5 units in the preview |
| G G | Move cursor to the top |
| Shift+G | Move cursor to the bottom |
| Z | Jump to a directory using zoxide |
| Shift+Z | Jump to a directory or reveal a file using fzf |
Selection
| Keys | Action |
| Space | Toggle selection of hovered file/directory |
| V | Enter visual mode (selection mode) |
| Shift+V | Enter visual mode (unset mode) |
| Ctrl+A | Select all files |
| Ctrl+R | Inverse selection of all files |
| Esc | Cancel selection |
File Operations
| Keys | Action |
| O | Open selected files |
| Shift+O | Open selected files interactively |
| Enter | Open selected files |
| Shift+Enter | Open selected files interactively (some terminals don't support it yet) |
| Tab | Show the file information |
| Y | Yank selected files (copy) |
| X | Yank selected files (cut) |
| P | Paste yanked files |
| Shift+P | Paste yanked files (overwrite if the destination exists) |
| Shift+Y or Shift+X | Cancel the yank status |
| D | Trash selected files |
| Shift+D | Permanently delete selected files |
| A | Create a file (ends with / for directories) |
| R | Rename selected file(s) |
| . | Toggle the visibility of hidden files |
| ; | Run a shell command |
| : | Run a shell command (block until finishes) |
| - | Symlink the absolute path of yanked files |
| _ | Symlink the relative path of yanked files |
| Ctrl+- | Hardlink yanked files |
Copy Paths
| Keys | Action |
| C C | Copy the file path |
| C D | Copy the directory path |
| C F | Copy the filename |
| C N | Copy the filename without extension |
Filter Files
| Keys | Action |
| F | Filter files |
Find Files
| Keys | Action |
| / | Find next file |
| ? | Find previous file |
| N | Go to the next found |
| Shift+N | Go to the previous found |
Search Files
| Keys | Action |
| S | Search files by name using fd |
| Shift+S | Search files by content using ripgrep |
| Ctrl+S | Cancel the ongoing search |
Sorting
| Keys | Action |
| , M | Sort by modified time |
| , Shift+M | Sort by modified time (reverse) |
| , B | Sort by birth time |
| , Shift+B | Sort by birth time (reverse) |
| , E | Sort by file extension |
| , Shift+E | Sort by file extension (reverse) |
| , A | Sort alphabetically |
| , Shift+A | Sort alphabetically (reverse) |
| , N | Sort naturally |
| , Shift+N | Sort naturally (reverse) |
| , S | Sort by size |
| , Shift+S | Sort by size (reverse) |
| , R | Sort randomly |
Multi-Tab
| Keys | Action |
| T | Create a new tab with CWD |
| 0 to 9 | Switch to the n-th tab |
| [ | Switch to the previous tab |
| ] | Switch to the next tab |
| { | Swap current tab with previous tab |
| } | Swap current tab with next tab |
| Ctrl+C | Close the current tab |