Get the latest tech news
Why not just embed Neovim?
In this episode of Zed Decoded, Thorsten talks Conrad about Zed's Vim mode and asks him: why not just embed Neovim?
This post comes with a 1hr companion video, in which Thorsten talks to Conrad, who worked a lot on Zed's Vim mode in the last few months and improved it tremendously. That's not only hard and tricky work (see this issue to get an impression of which edge cases are involved), but there is also a limitation, a ceiling to this effort: we don't want to throw away Zed's foundations. The interesting bit here is NeovimBackedTestContext::new(): that causes the test to run a headless Neovim instance, send the initial state to it, and then simulate the keystrokes.
Or read this on Hacker News