Recreating Cursor's tab feature for Neovim: Any takers?

Hi Neovim community! I’ve been working on bringing Cursor’s tab functionality to Neovim. After some intense reverse engineering, I’ve got a basic version up and running.

So far, I’ve implemented two key APIs:

  • Completion
  • Cursor position prediction

There’s still work to do, like:

  • Adding LSP hints and linter errors
  • Improving context handling
  • Implementing diff history

I’m curious if anyone else is interested in this project. I’m thinking about open-sourcing it once it’s more polished. If there’s enough interest, I could set up a repo soon with my findings on the API workings.

What do you think? Would you use something like this in Neovim? Any ideas for features or improvements?

This project sounds intriguing. As someone who’s dabbled in Neovim plugin development, I can appreciate the complexity of what you’re undertaking. The API reverse engineering must have been quite a challenge. I’d be particularly interested in seeing how you’ve implemented the cursor position prediction. Have you considered how this might impact performance, especially in larger files? If you do open-source it, I’d recommend including detailed documentation on the API workings. It could be invaluable for other developers looking to extend or improve upon your work. Keep us posted on your progress.

I’ve been following this project with great interest. As a long-time Neovim user, I’ve often wished for something akin to Cursor’s tab feature. Your progress so far is impressive, especially the completion and cursor position prediction APIs.

One aspect I’d love to see explored is how this could integrate with existing Neovim workflows. For instance, could it play nicely with popular plugins like telescope or fzf? Also, have you considered any potential memory usage implications, particularly for users working on resource-constrained systems?

If you do open-source this, I’d be eager to contribute. My background in performance optimization might be useful for ensuring smooth operation across different hardware configurations. Keep up the excellent work - this could be a game-changer for the Neovim ecosystem!

wow this sounds awesome! i’ve been hoping for something like this in neovim. the cursor tab feature is so handy. id definitely use it if you open source it. maybe you could add some kinda keyboard shortcut to toggle it on/off? keep us updated on your progress!