跳过导航
Nvim vs Zed with 30k cursors
0:00 / 0:16

Nvim vs Zed with 30k cursors

65,566 次观看

Nvim vs Zed with 30k cursors

54 条评论

评论来自 X (Twitter) 上的原帖

  • ADormantSakthi 的头像

    @DormantSakthi

    Ahh yes I need to use 30k cursors

    119 个赞

  • Loric Brevet 的头像

    @lobre8

    Here is Kakoune with 300k selections.

    18 个赞

  • justinmk 的头像

    @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 个赞

  • Mikael Brockman 的头像

    @meekaale

    it's time to rewrite zed in rust

    14 个赞

  • Vim Glamour 的头像

    @lisikpatryk

    Is this going to be available in neovim 0.13?

    4 个赞

  • justinmk 的头像

    @justinmk

    yup

    14 个赞

  • Artem Golubin 的头像

    @rushter

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

    4 个赞

  • justinmk 的头像

    @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 个赞

  • Daniel Colascione 的头像

    @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 个赞

  • justinmk 的头像

    @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 个赞

  • 6thScythe 的头像

    @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 个赞

  • Mark Tyrkba 的头像

    @marktyrkba

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

    2 个赞

  • Vitalii Diachkov 🇺🇦 的头像

    @diachkow

    Proud to be neovim user

    2 个赞

  • borrowck-novel 的头像

    @borrowck_novel

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

    1 个赞

  • justinmk 的头像

    @justinmk

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

    16 个赞

  • borrowck-novel 的头像

    @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 个赞

  • adam smielewski 的头像

    @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 个赞

  • ᕦ( ͡° ͜ʖ ͡°)ᕤ 的头像

    @eduardoarandah

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

    1 个赞

  • Језда 的头像

    @Jezda337

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

    1 个赞

  • justinmk 的头像

    @justinmk

    multicursor

    7 个赞