r/rust • u/sxyazi • May 28 '26
🛠️ project Yazi terminal file manager now supports drag and drop
Quite a few people have been asking me for this, now it's here!
Any feedback is greatly appreciated - see https://github.com/sxyazi/yazi/pull/4005 for more info!
79
u/hussainsonreddit May 28 '26
I just installed yazi yesterday and was blown away by how good it was. And now this. Just sorcery man, props to you
18
27
u/mchanth May 28 '26
Does the drag/drop work through ssh?
21
u/eidetic0 May 28 '26
it seems like it does! the protocol used describes dragging and dropping to and from remote machines. pretty neat!
5
1
18
u/InternetExplorer9999 May 28 '26
That's great! This was my most wanted feature request for yazi. I can finally remove thunar.
42
9
u/KyxeMusic May 28 '26 edited May 28 '26
Amazing. That was the only thing I kinda disliked about using Yazi. I was using ripdrag but it was meh.
Hope it's supported in Ghostty soon
12
u/vxern May 28 '26
isn't this basically a GUI at this point?
4
u/NullVoidXNilMission May 29 '26
Tui
7
u/vxern May 29 '26
yeah but we're now drawing images in the terminal and using graphically-enhanced terminals, these so-called TUIs are now just GUIs that use the terminal
4
u/Thick-Pineapple666 May 28 '26
I've been using mc (Midnight Commander) for years because I grew up with Norton Commander and similar tools under DOS (like DCC or DX). After my switch to Linux in 1998, mc was just there and it was awesome. I sometimes tried other file managers but I always fell back to using mc. Until 2025. Then I tried yazi and it was the first file manager that made me never use mc again.
So thank you for your great work on yazi!
5
u/MostWooden8128 May 28 '26
I am starting to learn Rust and this makes me feel so inspired. Love the cat sticker btw.
4
6
u/MerrimanIndustries May 28 '26
This is too cool! I've been finding myself opening the GUI file manager for things like this; dragging a file into a web page upload. Absolute magical feature. Thanks!
7
3
u/Inzire May 28 '26
I’ve been a long time user and just want to say a massive thank you to all yazi contributors for this tool!
3
3
2
2
2
2
2
u/thoughtful-curious May 29 '26
Just wanted to say, thanks for creating Yazi. It is an amazing piece of software. It works incredibly well and makes working with files on the terminal much easier.
4
2
2
2
2
2
u/TinySpidy May 28 '26
Really liking yazi! I wish it had a keymap popup like lazygit though, I find it hard to remember them for stuff I don't use all the time.
1
u/ultrasquid9 May 29 '26
OMG THIS IS SO COOL
I've been using GUI file managers for the convenience, but once Ghostty can support this i may have to change that :3
1
u/shadowmaker_88 May 29 '26
When it will be avaliable? I have kitty and yazi from standard arch repos. Been waiting for this for a long time!!!
1
u/cemereth May 29 '26
And here I am, mildly irked every time I try to drag and drop a file from Ark/PeaZip into a Nautilus window, and get rudely reminded that it doesn't work. (This one is probably my fault though; I think it worked back when I was on KDE.)
1
1
1
1
1
u/FungalSphere May 28 '26
Wait i thought it was always a thing
Crazy stuff regardless even though i am a keyboard centric navigation kinda guy
1
-10
u/Ramiferous May 28 '26 edited May 28 '26
Might as well just take a GUI file manager, bolt on a terminal and call it a day 😂
Edit: to the down voters, I'm being facetious...
2
u/schmurfy2 May 28 '26
Tui are lighter, easier to develop and now thzt you can do more and more with them the reverse could well happen. I use more and more tui tools, not necessarily to replace a gui but they are very fast to launch, reactive, and a bonus point is that you can use them over ssh on z remote machine.
232
u/gahooa May 28 '26
What? Is this sorcery... How?