- cross-posted to:
- hackernews@derp.foo
Can’t imagine using my system without this.
- cakeistheanswer ( @cakeistheanswer@lemmy.dbzer0.com ) 3•3 hours ago
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.
- mac ( @mac@lemm.ee ) 1•1 hour ago
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?
- padlock4995 ( @padlock4995@lemmy.ml ) 1•5 hours ago
Am I being dense… How or where are install instructions for Debian based distros?
- lobut ( @lobut@lemmy.ca ) 1•4 hours ago
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.
- American_Jesus ( @American_Jesus@lemm.ee ) 1•6 hours ago
Tested remotely on termux and looks good on small screen
- OhYeah ( @OhYeah@lemmy.dbzer0.com ) 8•10 hours ago
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.
- thingsiplay ( @thingsiplay@beehaw.org ) 3•10 hours ago
I’ve installed it for a while and lot of stuff work out of the box, including images in the terminal. But I did not get around to use it more often. It’s pretty good and I think its a full replacement for the usual terminal file managers, but don’t take my word for it. I previously used vifm a little bit and have no other experience.
I used ranger and it’s a solid improvement over it. If you are into tui apps you will love it, if you aren’t it’s ok. It also has plugin system, I use 2 plugins to compress files and get file size info. I love it.
- thingsiplay ( @thingsiplay@beehaw.org ) 2•9 hours ago
I often use it to navigate into a directory, using it as a directory selector (auto cd on exit). An essential plugin to me is https://github.com/yazi-rs/plugins/tree/main/jump-to-char.yazi , to have a Vim like quick jump with
f
and a letter andn
for next. The defaultf
functionality to filter is now set toF
, so I don’t lose that by overriding.Still need to handle archives too. I also want to write my own plugins someday if I get to use it more often.
It does handles all types of archives by default. Encrypted ones too.
How do you auto cd, I always wanted that but didn’t brother to check docs for it. If I remember correctly it’s by launching it as a shell script.
- thingsiplay ( @thingsiplay@beehaw.org ) 1•8 hours ago
Yes, it’s a simple shell function; needs to be a function in your bashrc, not a script, because cd doesn’t work like that. Just copy the function from https://yazi-rs.github.io/docs/quick-start#shell-wrapper into your .bashrc:
yy() { local tmp local cwd tmp="$(mktemp -t "yazi-cwd.XXXXXX")" yazi "${@}" --cwd-file="${tmp}" if cwd="$(cat -- "${tmp}")" && [ -n "${cwd}" ] && [ "${cwd}" != "${PWD}" ]; then builtin cd -- "${cwd}" || return fi rm -f -- "${tmp}" }
I use
yy
instead singley
.
- Canadian_Cabinet ( @Canadian_Cabinet@lemmy.ca ) 3•10 hours ago
Looks pretty neat. I’ve used MC for a while but I might have to try this out