sponsor Vim development Vim logo Vim Book Ad

nodecode.vim : Vim and Neovim integration for the Nodecode AI coding agent CLI

 script karma  Rating 0/0, Downloaded by 1  Comments, bugs, improvements  Vim wiki

created by
Foresight Labs
 
script type
utility
 
description
nodecode.vim connects Vim 8.1+ (+terminal) and Neovim 0.8+ to the Nodecode AI coding agent CLI (MIT, written in Common Lisp).

Features:
- :Nodecode and :NodecodeToggle open, focus, hide, and restore your live Nodecode terminal split (vertical, horizontal, tab, or current window) without losing session state.
- :NodecodeContinue and :NodecodeResume attach to the latest folder session (nodecode -c) or open the session picker (nodecode resume).
- :NodecodeSend and :NodecodeAsk forward the active file (@path/to/file) or visual line range (@path/to/file#L10-L24) with an optional prompt.
- :NodecodeQuickfix collects quickfix or location-list diagnostics and sends them to Nodecode to fix.
- :NodecodeWeb opens the local browser UI (loopback-validated) and :NodecodeCheck verifies the CLI and terminal support.

Zero runtime dependencies beyond the nodecode binary, with lazy-loaded autoload/ functions and no default keybindings clobbered. Works locally with Ollama, vLLM, llama.cpp, your own API keys, or optional Nodecode Cyber v1 inference with architectural Zero Data Retention.

Install guide: https://nodecode.ai/docs/install (Linux, macOS, Windows)
Homepage: https://nodecode.ai (features and docs)
Cyber v1: https://nodecode.ai/docs/cyber (Zero Data Retention inference)
Source code: https://github.com/nodecode-ai/nodecode-vim (MIT)
 
install details
1. Install the Nodecode CLI on Linux, macOS or Windows from https://nodecode.ai/docs/install (one line, installs to ~/.local/bin).

2. Extract nodecode-vim-0.1.1.zip into ~/.vim or ~/.vim/pack/plugins/start/nodecode-vim and run :helptags on the doc directory. Or install from https://github.com/nodecode-ai/nodecode-vim with vim-plug or lazy.nvim.

3. Run :NodecodeCheck to verify setup, then :Nodecode to open a session or :help nodecode for the full reference.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
nodecode-vim-0.1.1.zip 0.1.1 2026-12-01 8.1 Foresight Labs 0.1.1: :NodecodeCheck and :NodecodeWeb no longer raise E730 on Vim 8.1 to 9.1 (system() takes a List only from 9.2). Tested in Vim 9.1, 9.2 and Neovim 0.12.
nodecode-vim-0.1.0.zip 0.1.0 2026-12-01 8.1 Foresight Labs Initial upload
ip used for rating: 216.73.216.203

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github