Skip navigation
Nvim vs Zed with 30k cursors
0:00 / 0:16

Nvim vs Zed with 30k cursors

65,566 views

Nvim vs Zed with 30k cursors

54 Comments

Comments from the original post on X (Twitter)

  • ADormantSakthi's profile picture

    @DormantSakthi

    Ahh yes I need to use 30k cursors

    119 likes

  • Loric Brevet's profile picture

    @lobre8

    Here is Kakoune with 300k selections.

    18 likes

  • justinmk's profile picture

    @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

  • Mikael Brockman's profile picture

    @meekaale

    it's time to rewrite zed in rust

    14 likes

  • Vim Glamour's profile picture

    @lisikpatryk

    Is this going to be available in neovim 0.13?

    4 likes

  • justinmk's profile picture

    @justinmk

    yup

    14 likes

  • Artem Golubin's profile picture

    @rushter

    It's almost instant for me in helix, 80k of short strings

    4 likes

  • justinmk's profile picture

    @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

  • Daniel Colascione's profile picture

    @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's profile picture

    @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's profile picture

    @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

  • Mark Tyrkba's profile picture

    @marktyrkba

    Don't test this in EMACS your computer is gonna blow up

    2 likes

  • Vitalii Diachkov 🇺🇦's profile picture

    @diachkow

    Proud to be neovim user

    2 likes

  • borrowck-novel's profile picture

    @borrowck_novel

    Very cool. Why is Zed on the CPU and not on the GPU though?

    1 like

  • justinmk's profile picture

    @justinmk

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

    16 likes

  • borrowck-novel's profile picture

    @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

  • adam smielewski's profile picture

    @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

  • ᕦ( ͡° ͜ʖ ͡°)ᕤ's profile picture

    @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

  • Језда's profile picture

    @Jezda337

    is this a block select or multi-cursor feature that is coming to Neovim?

    1 like

  • justinmk's profile picture

    @justinmk

    multicursor

    7 likes