zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.84k stars 2.93k forks source link

Support vim count sections `[m` and `[[` #17177

Open valentinewallace opened 1 month ago

valentinewallace commented 1 month ago

Check for existing issues

Describe the feature

If you run :help [m and :help [[ in vim you can get more details on how it works.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

notpeter commented 1 month ago

See:

ConradIrwin commented 1 month ago

I'm amazed this it not a duplicate yet! I'd like to explore building some of this using the tree-sitter queries for outline views, but we could also support the text-based search vim does as a fallback.

If you'd like to pair on this https://calendly.com/conradirwin/pairing

valentinewallace commented 1 month ago

I don't think I'll have time to work on this, but appreciate you looking into it! I'm interested in zed but I do use this vim command quite frequently..