this post was submitted on 21 Sep 2024
357 points (99.2% liked)

Open Source

31692 readers
307 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Can't imagine using my system without this.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 3 months ago (1 children)

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.

[–] [email protected] 6 points 3 months ago (3 children)

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?

[–] [email protected] 7 points 3 months ago

Most frequently I use it as an interactive cd. Docs on how

Saves me a whole lot of ls and cd or tabbing through completions.

[–] [email protected] 1 points 3 months ago

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

[–] [email protected] 9 points 3 months ago* (last edited 3 months ago)

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.