Skip to main content

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.

Yazi provides Vim-like navigation keybindings for efficient file system browsing.

Basic Movement

Vertical Navigation

Move up and down through files in the current directory:
KeyActionDescription
j / <Down>Move downNavigate to the next file
k / <Up>Move upNavigate to the previous file

Horizontal Navigation

Move between directories in the Miller columns view:
KeyActionDescription
l / <Right>Enter directoryEnter the child directory or open file
h / <Left>Leave directoryGo back to the parent directory

Jump Navigation

Quick Jumps

KeybindingActionDescription
ggJump to topGo to the first file in the list
GJump to bottomGo to the last file in the list

Page Scrolling

KeyDescription
<C-u> / <S-PageUp>Scroll up half page
<C-d> / <S-PageDown>Scroll down half page

History Navigation

Navigate through your directory history:
KeyActionDescription
HBackGo back to the previous directory in history
LForwardGo forward to the next directory in history
History navigation (H/L) is different from parent/child navigation (h/l). History tracks the directories you’ve visited, similar to browser back/forward buttons.

Goto Shortcuts

Quickly jump to common directories:
KeybindingDestinationDescription
gh~Go to home directory
gc~/.configGo to config directory
gd~/DownloadsGo to Downloads directory
g<Space>InteractiveJump to a directory interactively
gfFollow symlinkFollow the symlink under cursor

Preview Navigation

Seeking in Preview

Scroll through the preview pane without changing the current selection:
KeyDescription
JSeek down 5 units in the preview
KSeek up 5 units in the preview
Preview seeking is useful when viewing large files, directories, or images in the preview pane.

Find Mode

Quickly find files by name in the current directory:
1

Start finding

Press / to find the next file, or ? to find the previous file
2

Type pattern

Enter the pattern to search for (smart case by default)
3

Navigate results

  • n - Jump to next match
  • N - Jump to previous match

Find Keybindings

KeyDescription
/Find next file (forward)
?Find previous file (backward)
nJump to next found file
NJump to previous found file

Filter Mode

Filter files in the current directory:
f  # Start filtering with smart case
When filter mode is active, only files matching your pattern will be displayed.
Filtering is different from finding. Filter hides non-matching files, while find jumps between matches.

Spotting

Spot mode allows you to inspect detailed information about files:
<Tab>  # Toggle spot mode for the hovered file
In spot mode:
  • j/k - Navigate lines
  • h/l - Swipe between files
  • <Tab> or <Esc> - Exit spot mode

Build docs developers (and LLMs) love