Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
Yazi accepts a working dir as parameter. That is,
yazi /dest/working/dirrunsyaziunder the directory/dest/working/dir. This is useful in large and deep directory (e.g., when working in a monorepo) .The
--cwd-file <CWD_FILE>flag tells Yazi to write its Current Working Directory to a specific text file on exit. Because Yazi runs as a child process, it cannot directly change the parent shell’s working directory. The--cwd-fileflag acts as a communication bridge. By combining this flag with a shell wrapper function, you can configure your shell to read the written path and automaticallycdinto Yazi’s last working directory when it closes.The
--chooser-file <FILE>flag transforms yazi into a visual file picker for other applications or scripts. Instead of just browsing and opening files normally, running Yazi with this flag tells it to write the absolute paths of the files you select to the specified text file when it exits.
Useful Plugins¶
https://
https://
https://
Image Preview in Yazi Running in Zellij¶
See discussion in i Image Preview in Yazi Running in Zellij .