Skip to content

Yazi Shortcuts

Generally, vim shortcuts are used

DescriptionShortcut
Copy paths, directory pathc d
Copy paths, file namec f
Copy paths, file name, no extensionc n
Copy paths, file pathc c
Directory, jumpg SPC
Directory, jump, ~g h
Directory, jump, ~/.configg c
Directory, jump, ~/Downloadsg d
Directory, previous, nextShift + h, Shift + l
File operations, create file (end with / for dir)a
File operations, openo or Enter
File operations, open withShift + o
File operations, open with, OS managerShift + o, choose reveal
File operations, pastep
File operations, paste and overwriteP
File operations, renamer
File operations, trash, permanent deleted, D
File operations, yank (copy)y
File operations, yank (cut)x
File Preview, Seek 5 units up or downShift + j or Shift + k
HelpF1 or ~
Help, exitEsc
Hidden files, show/hide toggle.
Input mode, exit to normal mode, example renameEsc
Navigationj k h l or arrow keys
Navigation, cursor to top, bottomgg, G
Quitq
Search files, cancel searchCtrl + s
Search files, search files by content using ripgrepS
Search files, search files by name using fds
Search, change directory or reveal file with fzfz
Search, change directory with zoxideShift + z
Search, filter filef
Search, find file, next/previous/, n/N
Selection, Select fileSpace
Shell, run command;
Sort alphabetically, a
Sort by file extension, e
Sort by modified time or reverse, m or , M
Sort by size, s
Tabs, close current tabCtrl + c
Tabs, new tabt
Tabs, switch to previous, next tab[, ]
Tabs, switch to tab #1, 2, 3, … 9

File operations like rename, trash, yank work on bulk selections with Space.

Check if yazi sees relevant variables and progams with yazi -debug