Live data from Hacker News

VSCode-Neovim: Use embedded Neovim in VSCode without emulation

github.com

11–20 of 112 posts

Re: VSCode-Neovim: Use embedded Neovim in VSCode without emulation

#12

Personally, my problem with trying to use Vim keybindings in VS Code is not about the motions of moving around/editing the code itself, but everything else. You end up in plenty of situations where you have to resolve using the mouse because you ended up on some sub-page or whatever, where you either need to resolve using the mouse or keep pressing Tab until you get to where you want to go. Installing plugins is one…

I guess I am the target market. I don't mind using the mouse when I'm not in the "flow" of editing. Even browsing code, scroll wheels are pretty expressive, and clicking to jump to definition is fine. Ok not typing, so I don't need to keep my hand on the home row.

But the actual editing doesn't use the mouse.

Re: VSCode-Neovim: Use embedded Neovim in VSCode without emulation

#13

I don't use VSCode, but if you use this plugin or the other Vim plugin for VSCode, make sure to put it in its own thread so it doesn't compete with other blocking tasks and slow down your editor motions. See "Affinity" docs here for putting it in its own thread: https://github.com/vscode-neovim/vscode-neovim#installation

Oh snap! Been more and more annoyed lately about just this. Thank you for sharing!

Re: VSCode-Neovim: Use embedded Neovim in VSCode without emulation

#16
I used VIM plugin until now, was happy to see this. However, tried installing it on top of neovim 0.9.0-beta and VS code complains that the version nees to be 0.5 or higher... switching between modes worked but moving (jkli) didn't. So gave up trying to install it. Might try later looks interesting

Re: VSCode-Neovim: Use embedded Neovim in VSCode without emulation

#18
I love neovim but I don’t have a good replacement for the git plugin of vscode. I haven’t found my way to replicating that experience in neovim. I tried lazygit but I find the diff viewer hard to understand and navigate. Diff view (https://github.com/sindrets/diffview.nvim) might be it, but I haven’t made the time to install a newer version of git from source (Debian…)

Re: VSCode-Neovim: Use embedded Neovim in VSCode without emulation

#20
post #18

I love neovim but I don’t have a good replacement for the git plugin of vscode. I haven’t found my way to replicating that experience in neovim. I tried lazygit but I find the diff viewer hard to understand and navigate. Diff view ( https://github.com/sindrets/diffview.nvim ) might be it, but I haven’t made the time to install a newer version of git from source (Debian…)

I'm the same. For the most part, I use a nice terminal git diff (I forget which-- not in neovim), and I hop around in neovim based on what I see there. I do sometimes open Codium just to navigate a large diff, and it always makes me a little sad.
Post reply on HN