- cross-posted to:
- [email protected]
- [email protected]
- cross-posted to:
- [email protected]
- [email protected]
Can’t imagine using my system without this.
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?
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.
it gained 14k+ stars on github in a year (development started in 2023 july).
isn’t it a bit suspicious?
maybe it’s nothing, but this just caught my eye
Starhacking is a thing. When you see words like “blazing fast” & emoji all over the README it show the maker is treating the code as marketing—& MS GitHub is a social media platform with algorithms.
Am I being dense… How or where are install instructions for Debian based distros?
Think you may need to build it from cargo/rust
https://www.linuxlinks.com/yazi-terminal-file-manager/
This is kinda funny because I’ve installed it on Mint and Pop OS and I completely forgot how.
As a current user of ranger could this be a full replacement?
Yes. I switched to yazi from ranger. File previews is so much better. Image previews dont hog up ram or crash your manager. It has everything and more like opening encrypted archives, plugin support, themes. I use 2 plugins, one to compress files and the other to display present directory size.
It’s not just the features but the app itself is magnificent. I have never seen such a goid looking tui app.
Same, ranger was painfully slow at times. For some reason it would take multiple seconds to start on a few machines I connected it to.
As someone new to Linux, what would be a few reasons that you prefer this to using the built-in GUI file browser?
I wouldn’t bother unless you find yourself doing more through the terminal than through GUIs.
I don’t have a built-in file browser (not using a DE, just i3 window manager), so I use ranger and pure GNU coreutils commands mostly but I still find myself missing the drag-and-drop features that FreeDesktop integration provides for stuff like nautilus.
I can’t believe no one mentioned this, but: remote access.
I spend most of my day connected to machines via SSH and yazi offers a great UX with file previews and all. Using kitty I even get image previews in the terminal.
remote access
To be fair, X11 forwarding is a straightforward thing, bearing in mind any security/performance/administrative restrictions which may apply to your situation.
Alternatively, SSHFS can be used to mount a remote directory locally.
I’ve used plenty of sshfs a few years ago, but x11 forwarding is a compromise. The latency makes it painful to work with for more than a few minutes.
Do image previews work over SSH? I admit I’ve never actually tried it…
they do
I can navigate without using my mouse. It’s faster for me. You can create tabs, copy and paste files, extract compressed files, run commands, and so much more without lofting my hand. My favorite feature is the ability to preview files without even opening them. I’m relatively new to linux too.
Download 5 seasons of some show from multiple sources or some artist’s entire discography, and want to normalize all the file names? It is way easier in the terminal.
I’ll check this out, but I use https://github.com/stevearc/oil.nvim for such tasks as I have nvim’s full sweet of editor commands to rename all the files way faster than I could in a GUI. I’m sure there are GUI apps to perform a similar task, but I already know how to use nvim.
You can probably do some more advance tasks via CLI. Also usually lists information faster. But honestly you will be overall fine with GUI a majority of the time.
Some people just like being in the terminal.
- Terminal file manager are useful on a server over ssh.
- ripgrep and fd support is better than any GUI file manager find and replace.
- Some people like using vim keybindings
- The three panel view is really useful. On the left is the parent folder, the middle the current and on the right a preview, e.g. the selected folder or the contents of a picture or a text file. It’s faster to navigate and pop back into the shell.
Tested remotely on termux and looks good on small screen
Looks very sleek
Looks pretty neat. I’ve used MC for a while but I might have to try this out