this post was submitted on 21 Sep 2024
356 points (99.2% liked)
Open Source
31224 readers
319 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I binned my copies of ranger and nnn when I found this last year. Its stellar.
Diskonaut is the only other one that stuck, of the new CLI file managers. hunting lost files from a recovered hard drive was a lot easier with directory visualization for whatever reason.
What are your primary use cases for Yazi? I'm trying to see if it'll fit into my workflow.
I've been experimenting with it on my MacBook Pro. When I navigate to a few Go projects I'm working on, syntax highlighting only seems to be available in the file preview. After that, it appears to just open in plain Vi.
At work, I use Windows and primarily code in C#.
Is Yazi more geared towards file management?
Most frequently I use it as an interactive
cd
. Docs on howSaves me a whole lot of
ls
andcd
or tabbing through completions.I mainly use it inside neovim actually, in place of the built in file manager or a file tree. Also use it if I want to quickly see the image files in a directory (it shows the images in the terminal), or rename a bunch of files. And then rarely for other file related activities as it makes exploring a directory very smooth
It hooks into nearly every base utility I can't live without (fzf, jq, helix, ripgrep). If you're on windows im not sure you're going to get a ton unless you live in WSL.
You can pick the editor it'll open by default, which should be configurable with comparable syntax highlighting. Vi can pretty much look like whatever. I think it'll default to vscode on windows.
Im not sure what you'd use it for but manage files, but I would have poked it and probably moved along while I was still on windows.
Edit: the other benefit you might not see has a lot to do with support of mime types.
https://www.iana.org/assignments/media-types/media-types.xhtml
The xdg open protocol will open whatever app is assigned to handle type locally. Which is probably why it defaults to editor.