Nvim vs Zed with 30k cursors
5.2K followers
65,566 views
54 Comments
Comments from the original post on X (Twitter)

@DormantSakthi
Ahh yes I need to use 30k cursors
119 likes

@lobre8
Here is Kakoune with 300k selections.
18 likes

@justinmk
nice! Nvim still has a lot of baggage to remove (and low-hanging fruit) to improve editing speed; my multicursor work hasn't touched any of that, only focused on MC itself being fast.
8 likes

@meekaale
it's time to rewrite zed in rust
14 likes

@lisikpatryk
Is this going to be available in neovim 0.13?
4 likes

@justinmk
yup
14 likes

@rushter
It's almost instant for me in helix, 80k of short strings
4 likes

@justinmk
i'm sure Zed can fix whatever is happening here. and Nvim will be able to fix perf issues as we go along too. that's why architecture matters, it allows you to iterate.
24 likes

@dcolascione
Are cursors here implemented like Emacs markers? An unsorted singly linked list? There was a patch to change to change them to a tree with much better asymptotic bounds but it didn't land. (In Emacs, point is literally a marker.)
3 likes

@justinmk
Nvim cursors use "marktree", an internal data structure that has nice things like bisect. > In Emacs, point is literally a marker. sadly, Nvim "primary" cursor is still separate. changing that would be a boil-ocean refactor :<
12 likes

@6thScythe
50% of people hyped to the moon 49% of people don't get it 1% of people kakoune Personally I see this as monumental. Gaining some of the capabilities of kakoune/helix, with Neovim's built up (and incredibly hard to replace) plugin ecosystem is going to be incredible
2 likes

@marktyrkba
Don't test this in EMACS your computer is gonna blow up
2 likes

@diachkow
Proud to be neovim user
2 likes

@borrowck_novel
Very cool. Why is Zed on the CPU and not on the GPU though?
1 like

@justinmk
@ZH1YGD idk. i have a 2025 macbook air, maybe it doesn't have a H200?
16 likes

@borrowck_novel
Tbh, I don't know how things work on mac, but on a regular laptop with integrated and dedicated GPU, I would assume that Zed was running on the integrated only. That's something sometimes desirable to reduce noise and battery consumption. I think it is worth it to ask someone knowlegdable with macs.
1 like

@AdamSmielewski
pov: i'm trying to contribute a feature somewhere the maintainers: but what if the user has 30k cursors? this would impact performance
1 like

@eduardoarandah
This is epic! Great job 👏 A lean performant editor is the kind of editor that we will someday carry on a watch
1 like

@Jezda337
is this a block select or multi-cursor feature that is coming to Neovim?
1 like

@justinmk
multicursor
7 likes



















