vscode-neovim: a real Neovim process, and the three settings that decide whether it works
Vim mode for VSCode, powered by Neovim
At a glance
- What is it?
- vscode-neovim embeds a full Neovim instance rather than emulating Vim, and hands insert mode and VS Code commands back to VS Code. The README is unusually candid about where that design stops: several file and window commands are mapped to VS Code equivalents, custom Vim commands in keybindings do not work, and users are told to start from an empty init.vim before filing a bug.
- Who is it for?
- vscode-neovim suits a Neovim user who wants Vim motions and normal mode inside VS Code without giving up its language server, snippets, multi-cursor and remote development. It does not suit you if you expect every Vim command to behave as it does in Neovim, because the extension maps file and window management to VS Code commands and says so.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 2 days ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- vscode-neovim/vscode-neovim7,764 ★ · +24
| Repository | 2026-09-22 | 2026-11-23 |
|---|---|---|
| vscode-neovim/vscode-neovim | 7.7k | 7.8k |
24 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The architecture is a real Neovim, not an emulation layer
The README's opening paragraph is the whole design in three sentences.
Neovim is a fork of Vim to allow greater extensibility and integration. This extension uses a fully embedded Neovim instance, no more half-complete Vim emulation. VS Code's native functionality is used for insert mode and VS Code commands, making the best use of both editors.
So there is a process running Neovim, and normal mode runs inside it. What the extension keeps for itself is the part that VS Code does better, and the feature list names insert mode as first class and lag free, letting VS Code do what it does best.
The four feature bullets are a fair summary of the boundaries: feature-complete Vim integration except insert-mode and some Nvim UI plugins by utilizing Nvim as a backend; support for custom `init.lua` and most Nvim plugins; first-class and lag-free insert mode; and complete integration with VS Code features, listed as lsp, autocompletion, snippets and multi-cursor.
The parenthetical in the first bullet is the one to hold on to. Some Neovim UI plugins are excluded, and insert mode is excluded by design rather than by omission.
Three executable path settings, all defaulting to the bare name nvim
Installation has three steps and the second one is where people stop.
Install the extension, install Neovim 0.10.0 or newer, and optionally set the Nvim path in the extension settings. When overriding the setting, the README instructs you to use the full path, such as `/usr/local/bin/nvim`.
The setting is per platform, and there are three of them: `vscode-neovim.neovimExecutablePaths.win32`, `.linux` and `.darwin`. In the manifest each one defaults to the string `nvim`, so leaving the default relies on your shell being able to resolve the binary name.
Then there is WSL. If you want Neovim from the Windows Subsystem for Linux, you set the `useWSL` toggle and give the Linux path to the binary. Two binaries are required, the Windows binary `wsl.exe` and the Linux binary `wslpath`, and `wslpath` must be reachable through the Linux `$PATH`. `wsl --list` is what the README suggests for checking the default Linux distribution.
And there is a Snap caveat: the path must resolve to the snap binary location, on some systems `/snap/nvim/current/usr/bin/nvim`, and you can tell whether you are on a snap install by seeing whether `which nvim` resolves to `/usr/bin/snap`.
Start from an empty init.vim, and the README tells you why
The Neovim configuration section opens with a request rather than an explanation: since many Vim plugins can cause issues in VS Code, it is recommended to start from an empty `init.vim`.
Then the rule for reporting: before creating an issue on GitHub, make sure you can reproduce the problem with an empty `init.vim` and no VS Code extensions.
That is a maintainer's position stated plainly. Because your config and your other extensions both load into the same editor, the number of possible causes is large, and the extension author is asking you to remove both before spending their time.
The rest of the section helps you write a config that works on both sides. To detect whether Nvim is running inside VS Code, the Vim version is:
if exists('g:vscode')
" VSCode extension
else
" ordinary Nvim
endifand the Lua equivalent tests `vim.g.vscode`. Conditional plugin loading is the reason to do this, and the README names three supported routes: the LazyVim VSCode extra, built-in `cond = vim.g.vscode` support in `packer.nvim` and `lazy.nvim`, and a set of solutions for `vim-plug`.
File and window commands are mapped to VS Code, and :w stopped being an alias
The VS Code specific differences section is the part that tells you what you give up.
File and editor management commands such as `:e`, `:q`, `:vsplit` and `:tabnext` are mapped to corresponding VS Code commands, and the behaviour may be different. Two consequences follow. First, you must not use Vim commands like `:e` in `scripts/keybindings.ts`, because they will not work, and custom commands or mappings of your own may need rebinding to call VS Code commands from Neovim with `require('vscode').call()`. Second, and more useful: since version 1.18.0, `:w`, `:wa` and `:sav` are supported and no longer alias to VS Code commands, so you can use them as you would in Neovim.
That is a specific change with a version attached, which is the kind of detail that decides whether a given muscle memory works.
The API section is where the replacement lives. It exposes `vscode.action(name, opts)` and `vscode.call(name, opts, timeout)`, plus `vscode.on(event, callback)`, configuration helpers `vscode.has_config(name)`, `vscode.get_config(name)` and `vscode.update_config(name, value, target)`, `vscode.notify(msg)`, `vscode.eval(code[, opts, timeout])` and `vscode.eval_async(code[, opts])`, and `vscode.with_insert(callback[, ms])`.
There is also a documented set of builtin module overrides and a VimScript section, so a config can branch on what it is running in.
Keybinding passthrough is configured per mode and can be limited per filetype
The keybindings section has nine entries in the table of contents.
There is a passthroughs section subdivided by mode: insert mode control keys, normal mode control keys, and cmdline mode special keys. And then two limiting subsections that matter more than they look: disable passthrough for certain filetypes, and remove other VS Code or passthrough keybindings.
The keybindings section also covers code navigation bindings, explorer and list navigation bindings, explorer file manipulation bindings, and hover widget manipulation bindings.
There are Neovim commands for files, tabs and buffers, separate from the mappings
Alongside the keybindings there is a Neovim Commands section, divided into three groups.
File management, tab management, and buffer or window management.
Other sections cover composite escape keys, the jumplist, multiple cursors and remote development, and there is a Performance section; the installation section tells you to assign an affinity value for performance improvement.
Node 22, VS Code 1.90, and two extension kinds
The manifest is short on requirements and specific about them.
`engines` asks for node `22.x` and `vscode` `^1.90.0`. So a machine with an older VS Code cannot install this version.
Then there is `extensionKind`, which lists `ui` and `workspace`. This declares supported execution locations in preference order; it does not mean the extension runs simultaneously in both hosts. VS Code selects a suitable host based on availability and the environment.
The activation events are `onCommand:type` and `onStartupFinished`, which declare activation triggers. The timing of activation depends on which event occurs and the VS Code environment.
The rest of the manifest is the settings surface: per-platform executable paths, the `useWSL` toggle, and the keybinding passthrough options. The repository root matches that shape, with `src/` for the extension, `runtime/` for the code that runs inside Neovim, `scripts/` for the keybinding generation, `test_fixtures/` for the Neovim fixtures, `webpack.config.js` for the bundle, `.stylua.toml` because there is Lua in the repository, and release-please for the release process.
Editorial conclusion
vscode-neovim suits a Neovim user who wants Vim motions and normal mode inside VS Code without giving up its language server, snippets, multi-cursor and remote development. It does not suit you if you expect every Vim command to behave as it does in Neovim, because the extension maps file and window management to VS Code commands and says so. Verify three things before you install: that Neovim is 0.10.0 or newer, which the README states as a hard requirement, where your `nvim` binary is, because the executable path setting defaults to the bare name `nvim` on all three platforms, and whether your configuration loads at all in the extension, since the README asks you to reproduce any problem with an empty init.vim before opening an issue.
Frequently asked questions
what is vscode neovim
A VS Code extension that gives you Vim mode by embedding a fully embedded Neovim instance rather than emulating Vim, and it delegates insert mode and VS Code commands back to VS Code. It supports custom init.lua and most Neovim plugins, and integrates with VS Code language servers, autocompletion, snippets and multi-cursor. The exception it names is insert mode and some Neovim UI plugins.
how to use vscode neovim
Install the extension and Neovim 0.10.0 or newer, then optionally point the extension at your binary through vscode-neovim.neovimExecutablePaths.win32, .linux or .darwin, each of which defaults to the bare name nvim. For Neovim inside WSL set the useWSL toggle and the Linux path, which needs wsl.exe and wslpath. The README recommends starting from an empty init.vim, and an affinity value can be set for performance.
vscode neovim vs vim extension
The comparison the README offers is not with another VS Code extension but with the approach of emulating Vim. It says this extension uses a fully embedded Neovim instance, no more half-complete Vim emulation, and it explains the differences where they exist: file and editor management commands such as :e, :q, :vsplit and :tabnext are mapped to corresponding VS Code commands with behaviour that may differ, while since version 1.18.0 :w, :wa and :sav behave as they do in Neovim.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/vscode-neovim-vscode-neovim)Star history chart for your README
[](https://hysenlabs.com/projects/vscode-neovim-vscode-neovim)Was this useful?