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

Open Source

31654 readers
279 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
[–] mac@lemm.ee 6 points 2 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?

[–] cakeistheanswer@lemmy.dbzer0.com 9 points 2 months ago* (last edited 2 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.

[–] sudo@programming.dev 7 points 2 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.

[–] _hovi_@lemmy.world 1 points 2 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