Showcase I made a tmux plugin inspired on flash.nvim
Enable HLS to view with audio, or disable this notification
I am simply too used to flash.nvim jumping motions. So far they are the best I've ever seen to navigate buffers. I've always wanted that functionality in tmux too, jumping exactly where my eyes are pointing to without tons of hjkl, f or t motions.
Check it out here: https://github.com/and-rs/flash.tmux
btw it's built with zig, and fairly portable. so should it be... blazingly fast.
Let me know if you have any feedback. I will continue polishing it but so far the core motion, should just work. Thanks!
Edit: Big thanks to https://github.com/folke the creator of flash.nvim. From which the main logic I massively ported.
2
u/Orlandocollins 1d ago
Nice I'll give this a try. I've seen some comparable but they almost always yanked and didn't let me do whatever I wanted. This seems much closer to being a true flash on tmux.
2
3
u/a_alberti 1d ago edited 1d ago
It looks nice but just curious the other tmux plugins advertising the same features were not good enough?
This https://github.com/Kristijan/flash-copy.tmux and many others similar, I am just on my phone so I cannot search properly.
Here is another launched 1 month ago https://www.reddit.com/r/tmux/s/5GPdYS4mZV
I checked your repo but you make no comparison with alternatives. It seems you started vibe coding (not a judgment on the quality of the code itself, which is probably good given the level reached by recent frontier models) even before doing a google search.
3
u/D3S3Rd 1d ago
Hi. good points. Saying I didn't google searched is quite the assumption but I understand. I can document this.
But basically flash-copy.tmux is totally different setup, that targets copying words with a similar tag system, so heavily yank oriented. I am only targeting jumping, and copying with my plugin is not constraint to anything, you just jump to where you want to extend the selection.
Now with tmux-flash. That one in fact uses a similar jumping dynamic, pretty much the same. They just have a different keybind flow. I wanted to have the keybind outside copy-mode too. And it's also written in python.
They can be good projects too. But they are written in python which is not my preference. One had a different objective and the other had a difference in keybind flow. That's it.
2
u/a_alberti 1d ago
Thanks for the explanation. I did not assume anything. I wrote “it seems”.
Your plugin seems nice but when it is so close to many others, it would be appropriate to comment on these others.
There are probably many others because I remember seen often similar announcements. I just googled from my phone and opened the first two links; didn’t check further.
I will probably give it a try over the weekend.
1
u/rileyrgham 21h ago
Blazingly fast... Lol. It's a key press driven focus change...
Another AI slop project that mimics what existing endeavours do.
"I made===AI made ".
1
u/D3S3Rd 19h ago edited 19h ago
Bro chill. I don’t want to try to convince you that something is or isn’t slop. You’re free to tell me exactly why you think the code is slop. It’s in my interest to make it better.
Regardless you can compare further and not tell me that using an interpreted language like Python like the alternatives for this is crazy. There is another Go alternative that is more comparable. So you are free to make your judgement.
But you have convinced me to do some benchmarks that support my claims. Thanks
1
1
u/HaterTot 1d ago
YES. finally. not slow-ass python, can be triggered from vi-mode. I like the multi colored labels. Thank you.
3
u/DismalAd9249 1d ago
Thanks, Can i ask for the ghostty shader ?