VSCodeVim brings Vim modal editing and keybindings into Visual Studio Code. Install it from the VS Code or OpenVSX marketplace.
Overview
VSCodeVim is a Vim emulator built as an extension for Visual Studio Code. It lets editors use familiar Vim normal, insert, visual, and related modes while staying inside VS Code.
The extension supports extensive configuration through VS Code settings: cursor styles per mode, clipboard behavior, search highlighting, control-key handling, and whether Vim or VS Code owns specific keys. Custom key remappings can be defined per mode, including non-recursive bindings to avoid recursive mapping errors.
Optional Neovim integration can route ex-commands through an external Neovim binary when enabled, with settings for paths and config files. Emulated Vim plugin behaviors include patterns inspired by vim-airline, easymotion, surround, commentary, sneak, and several text-object helpers.
Multi-cursor editing, `.vimrc`-style settings, and delegated keys via `vim.handleKeys` let you blend native VS Code features with Vim workflows. Platform-specific notes in the docs cover macOS key repeat and Windows control-key behavior after installation.
Key features
- Vim modes in VS Code
- Per-mode key remapping
- Optional Neovim ex-command integration
- Emulated popular Vim plugins
- Multi-cursor support
- Configurable control-key delegation
- Search and substitute highlighting
- .vimrc-compatible settings
Use cases
- Vim-style editing in VS Code
- Custom modal keybindings
- Blending Vim with native VS Code shortcuts