DOSSIER 02 / 2 ARTICLES
A terminal file workbench
From Yazi's configuration responsibilities to navigation, batch operations, and handing directories back to the shell.
Start with the first articleFollow the question further.
Treat the terminal file manager as a workflow with clear objects and boundaries. Wire up file openers first, then connect browsing, selection, and shell operations into a continuous flow.
- 01
Wire up file opening first: distinguish configuration responsibilities, matching rules, openers, and previews.
Separate Yazi's configuration, then wire up file openers.
Move from configuration-file responsibilities to openers, matching rules, and key bindings, updating older examples for Yazi 26.9.1.
Read article - 02
Then connect everyday operations: locating, selecting, batch processing, and handing the directory back on exit.
From selecting files to handing the directory back to the shell.
Distinguish finding, filtering, selection, and the file buffer to complete batch operations and pass the final directory back on exit.
Read article