this post was submitted on 21 Sep 2024
351 points (99.7% liked)
Open Source
31243 readers
246 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 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.
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:
EDIT: I forgot that Beehaw will replace the ampersand character to
&
. So instead copying my code you should copy it from the link above.I use
yy
instead singley
.Thank you so much for taking the time to post it. I will add this asap.
I forgot that Beehaw will replace the ampersand character to
&
. So instead copying my code you should copy it from the link above.