Hacker News new | ask | show | jobs
by cevn 2306 days ago
Have you tried the neovim integration setting? I find that almost everything works as I would expect it to nowadays.
4 comments

I am using it and I am considering disabling it on a daily basis. Not only is it slow as mentioned elsewhere, it interacts poorly with other VSCode features, like automatic bracket matching, intellisense etc. I find that when recording macros, I have to be very careful to consider what the vim part might think just happened and try and work around it.

But every time I disable it, I immediately miss normal mode. So yeah, as happy as I am with VSCode (which is a lot), the situation is suboptimal.

As an advanced (neo)vim user, I respectfully disagree. Vim integration in VS Code is sluggish and buggy (see folds and macros, for example).
That only uses neovim for ex mode. Full integration of neovim requires digging into less widely used extensions such as https://github.com/asvetliakov/vscode-neovim

I found vscode macros particularly painful. Slow & where vim optimizes things. Typing abc^H^Hsdf will seamlessly play out as asdf, but with vscodevim I have to watch the macro repeat my mistake each time

I have used this extension a bit and it works great as far as I can tell. Whereas with the older popular VS Code vim extension, I would get broken behaviour within minutes of use. And I am not a particularly proficient vim user, this would have just been navigating, using visual mode a bit, correcting some stuff.
this one or something else? https://marketplace.visualstudio.com/items?itemName=asvetlia...

I've been waiting for someone to make that work before diving into vscode and if it's solid looks like I have my weekend project.

The vscode-vim extension has an option to use neovim for ex mode commands