Vim keybindings for Godot's built-in script editor.
The easiest way to install and get updates.
- Open your Godot project.
- Click the AssetLib tab at the top.
- Search for "GodotVim" or click here to view on the web.
- Click Download, then Install.
- Go to Project → Project Settings → Plugins and enable GodotVim.
- Restart the Editor (Required for the plugin to fully load).
- Full Modal Editing: Normal, Insert, Visual, Visual Line, Visual Block, and Replace modes.
- Command Bar: Functional Ex-command line for substitutions (
:%s/foo/bar/g) and more. - Configurable: Customize your experience (cursor colors, mappings, etc.) via Project Settings.
Dock Navigation (WindowNav)
Seamlessly switch between docks using Ctrl+{h,j,k,l}.
- Navigate:
j/kto move vertically,h/lto collapse/expand. - Search: Press
/to search within the dock. - Actions:
Enterto open file,Escto return to editor.
Visual Configuration Customize Vim experience directly in Godot's Project Settings. See Configuration section for more details.
Debug Integration
Set breakpoints and step through code without leaving keyboard control.
You can modify the default mapping to make it easier to use. See Configuration section for more details.

Documentation
gd: Lookup Symbol (Go to Definition).K: Show Documentation (Show documentation for the symbol under the cursor).
GodotVim includes built-in preset mappings (disabled by default). Enable them in Project Settings → GodotVim → Mappings. It will appear on the right side dock right of the History tab.
Note
Mappings starting with : do not need <CR> at the end. Use <Space>e → :FileSystem, not :FileSystem<CR>.
- Insert Mode Escapes:
jj,jk,kj→<Esc> - Leader Mappings (Space key):
<Space>1-<Space>9→ Switch to tab 1-9<Space>e→ Jump to FileSystem<Space>db→ Toggle Breakpoint<Space>dc→ Continue<Space>dn→ Next<Space>di→ Step In<Space>do→ Step Out<Space>dp→ Pause
Customize GodotVim in Project → Project Settings → GodotVim. Note that most settings require a restart to take effect.
- General: Enable/Disable plugin, Set Log Level.
- Editor:
- Scroll Offset: Lines to keep visible above/below cursor.
- Line Number Mode: Absolute, Relative, or Hybrid.
- Is Keyword: Characters considered part of a word (e.g.,
@,48-57,_,192-255). - Command Line: Shows current Mode and Ex-command bar.
- Key Passthrough: List of keys to bypass Vim.
- Cursor: Customize colors for Normal, Insert, and Visual modes.
- Clipboard: Toggle auto-copy to system clipboard.
- Mapping: Enable/Disable mappings and set Timeout Length.
- :w: Does not sync with Godot editor (external changes not picked up). Please use
Ctrl+S/Cmd+Sto save. - :q: Does not close Godot tabs reliably. Please use
Ctrl+W/Cmd+Wto close the current tab. - Floating Window: Dock navigation doesn't work correctly when the Script Editor is floating (detached).
MIT License