YAZI(1)

πŸ“¦ version 26.9.1, in nixos 26.05, nixpkgs unstable

πŸ¦† YAZI(1) β€” General Commands Manual ✨

okay bestie, welcome to YAZI(1) β€” the General Commands Manual entry for your new terminal file-manager obsession πŸ«ΆπŸ’…

🌸 NAME

yazi β€” your blazingly fast terminal file manager πŸ”₯πŸ¦†

✨ SYNOPSIS

yazi [OPTIONS] [ENTRY]

πŸ¦‹ DESCRIPTION

Yazi (which literally 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. No cap, that's the whole vibe: efficient, friendly, customizable, and very much giving main-character terminal energy πŸ’–


πŸŽ€ OPTIONS πŸŽ€

  • --cwd-file <CWD_FILE> β€” Write the cwd on exit to this file
  • --chooser-file <CHOOSER_FILE> β€” Write the selected files to this file on open fired
  • --clear-cache β€” Clear the cache directory
  • --local-events <LOCAL_EVENTS> β€” Report the specified local events to stdout
  • --remote-events <REMOTE_EVENTS> β€” Report the specified remote events to stdout
  • --debug β€” Print debug information
  • -V, --version β€” Print version
  • -h, --help β€” Print help

πŸ’… PRESET KEYBINDINGS πŸ’…

  • k/<up> β€” Move the cursor up
  • j/<down> β€” Move the cursor down
  • l/<right> β€” Enter hovered directory
  • h/<left> β€” Leave the current directory and into its parent
  • K β€” Move the cursor up 5 lines
  • L β€” Move the cursor down 5 lines
  • gg β€” Move cursor to the top
  • G β€” Move cursor to the bottom

🫢 Selection

  • <space> β€” Toggle selection of hovered file/directory
  • v β€” Enter visual mode (selection mode)
  • V β€” Enter visual mode (unset mode)
  • <ctrl> + a β€” Select all files
  • <ctrl> + r β€” Invert selection of all files
  • <esc> β€” Cancel selection

πŸ“ File/directory operations

  • o/<enter> β€” Open selected files
  • O/<ctrl> + <enter> β€” Open selected files interactively (NOTE: some terminals don't support the <ctrl>+<enter> combination)
  • y β€” Yank the selected files (copy)
  • x β€” Yank the selected files (cut)
  • p β€” Paste the yanked files
  • P β€” Paste the yanked files (overwrite if destination exists)
  • Y/X β€” Cancel the yank state (unyank)
  • - β€” Create a symbolic link to the yanked files (absolute path)
  • _ β€” Create a symbolic link to the yanked files (relative path)
  • d β€” Move the files to the trash
  • D β€” Permanently delete files
  • a β€” Create a file or directory (ends with "/" for directories)
  • r β€” Rename a file or directory
  • ; β€” Run a shell command
  • : β€” Run a shell command (block the UI until the command finishes)
  • . β€” Toggle the visibility of hidden files
  • <ctrl> + s β€” Cancel the ongoing search
  • z β€” Jump to a directory using zoxide
  • Z β€” Jump to a directory, or reveal a file using fzf

🧚 Tabs

  • t β€” Create a new tab using current path
  • 1-9 β€” Switch to specified tab number
  • [ β€” Switch to previous tab
  • ] β€” Switch to next tab
  • { β€” Swap current tab with previous tab
  • } β€” Swap current tab with next tab

πŸ‘‘ Linemode

  • ms β€” Set linemode to size
  • mp β€” Set linemode to permissions
  • mm β€” Set linemode to modified time
  • mn β€” Set linemode to none

🌈 Preview

  • <alt> + k or <alt> + <pageup> β€” Seek up 5 units in preview
  • <alt> + j or <alt> + <pagedown> β€” Seek down 5 units in preview

πŸ’œ Copying paths

  • cc β€” Copy absolute path
  • cd β€” Copy path of the parent directory
  • cf β€” Copy the name of the file
  • cn β€” Copy the name of the file without the extension

πŸ¦‹ Filtering files/directories

  • f β€” Filter the files/directories in CWD

⭐ Finding files/directories

  • / β€” Forward find file/directory in CWD
  • ? β€” Backward find file/directory in CWD
  • n β€” Jump to next occurrence
  • N β€” Jump to previous occurrence

πŸ”₯ Searching files/directories

  • / β€” Forward find file/directory in CWD
  • ? β€” Backward find file/directory in CWD
  • n β€” Jump to next occurrence
  • N β€” Jump to previous occurrence
  • s β€” Search files by name using fd, see fd(1)
  • S β€” Search files by name using ripgrep, see rg(1)

πŸŽ€ Sorting

  • ,m β€” Sort by modified time
  • ,M β€” Sort by modified time (reverse)
  • ,c β€” Sort by creation time
  • ,C β€” Sort by creation time (reverse)
  • ,e β€” Sort by file extension
  • ,E β€” Sort by file extension (reverse)
  • ,a β€” Sort alphabetically
  • ,A β€” Sort alphabetically (reverse)
  • ,n β€” Sort naturally
  • ,N β€” Sort naturally (reverse)
  • ,s β€” Sort by size
  • ,S β€” Sort by size (reverse)
  • ? β€” Backward find file/directory in CWD
  • n β€” Jump to next occurrence
  • N β€” Jump to previous occurrence
  • s β€” Search files by name using fd, see fd(1)
  • S β€” Search files by name using ripgrep, see rg(1)

🌸 SEE ALSO

yazi-config(5), yazi-plugins(7)


Signed, sealed, delivered: YAZI(1) from the General Commands Manual set 🫢 The source footer is just that YAZI(1) tag, and there’s no extra version/date line in this page, so no invented date β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from