Yazi Cheatsheet

https://yazi-rs.github.io/

Navigation

`Easy jump
fJump to character, then n or N
kMove cursor up
jMove cursor down
hParent directory
lEnter directory
KSeek up 5 in preview
JSeek down 5 in preview
ggGo to top
GGo to bottom
zJump to a file/directory via fzf
ZJump (z.lua)

Go To

-Go to parent directory
HBack to previous directory
LForward to next directory
g cGo to ~/.config
g dGo to Downloads
g eOpen in Explorer
g fFollow hovered symlink
g gGo to top
g hGo home
g tGo to top
g ␣Go to direct subfolder
GGo to bottom

Compress

c aAchive selected
c uExtract (choose method)

File Operations

EnteroOpen file(s)
OOpen interactively
yxYank (copy/cut)
YXCancel yank
pPPaste (normal/overwrite)
dDDelete (normal/permanent)
aCreate file or dir/
rBulk rename
;Shell command
:Shell (blocking)
-_Symlink (absolute/relative)
.Toggle hidden
InsCreate file or folder
DelDelete selected
S-DelDelete selected (permanently)

Selection

Toggle selection
vVisual mode
VVisual mode (unset)
C-aSelect all
C-rInvert selection
EscCancel selection

Search & Filter

/Find next file
?Find previous file
nNext found
NPrevious found
sSearch name (fd)
SSearch content (rg)
C-sCancel the ongoing search

Copy Paths

c cCopy full file path
c dCopy dir path
c fCopy filename
c nCopy name (no ext)

Tabs

tNew tab
1-9Switch to tab N
[]Prev / Next tab
{}Swap tab position
C-F4C-wC-cClose tab

Sorting

, a , AAlphabetical/Rev
, b , BBirth/Rev
, e , EExtension/Rev
, f , FFolders first On/Off
, m , MModified/Rev
, n , NNatural/Rev
, s , SSize/Rev
, rRandom

General

F1~Help
qQuit
QQuit (no cwd)
wShow task manager
C-1 C-2 C-3 Toggle parent/current/preview
A-1 A-2 A-3 Maximize parent/current/preview

Configuration

There are 4 configuration files for Yazy:

  • init.lua: script executed on startup
  • yazi.toml: General configuration
  • keymaps.toml: Custom keybindings
  • theme.toml: Color scheme configuration

The location for these configuration files is:

  • ~/.config/yazi/ on Unix-like systems.
  • %AppData%\yazi\config\ on Windows.