#395395th of 404 in Coding agents and AI editors
chatgpt.nvim
Neovim plugin for chat, code editing and actions via the OpenAI API
Watch puts chatgpt.nvim on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.chatgpt.nvim is on your watch list. Its new releases and problems show there.
- Stars
- 4k
- License
- Apache-2.0
- Last commit
- Jan 2026
- Last release
- Jan 2023
- Language
- Lua
3,957 on 25 Mar 20263,986 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
ChatGPT.nvim adds a chat window, an edit-with-instructions window and a set of ChatGPTRun actions (fix_bugs, add_tests, docstring, explain_diagnostic and others) to Neovim, backed by the OpenAI API. Custom actions are defined in a JSON file with templates, and Azure OpenAI and custom API hosts are supported. It calls the API through curl; the last tagged release is from January 2023, though commits continue into 2026.
Who it is for: Neovim users who want OpenAI chat and code edit commands inside the editor
Strengths
- Custom actions defined in JSON with template variables like {{input}}, {{filetype}} and {{diagnostic}}
- API key can come from a command (api_key_cmd), such as 1Password or GPG, instead of an env var
- Supports Azure OpenAI and a custom API host via config or environment variables
- Inline @ references pull in LSP definitions or project files as prompt context
Weaknesses
- Only OpenAI-style APIs are documented; no local model or other provider setup is described
- Does not run commands or work across the repo as an agent; it edits buffers and selections
- Requires paid OpenAI API credits; a ChatGPT Plus subscription does not cover them
- Last tagged release is 2023-01-08, so versioned installs are old; the README notes edit models are deprecated
What it needs
- no GPU
- Needs Neovim, curl, nui.nvim, plenary.nvim, telescope.nvim, trouble.nvim (optional), OpenAI API key
- Models: OpenAI GPT models (gpt-5-mini default), Azure OpenAI
Also in Coding agents and AI editors
See all 404| Rank | Project | Score |
|---|---|---|
| #393 | ai-shellCLI that turns natural-language prompts into shell commands via OpenAI | 25 out of 100 |
| #394 | asyncElectron desktop IDE with a built-in agent loop, Git and terminal | 24 out of 100 |
| #396 | lemonaiGeneral-purpose local AI agent with a Docker sandbox and HTML editor | 22 out of 100 |
| #397 | devildevGenerates and reverse-engineers software architecture from specs or GitHub repos | 21 out of 100 |
| #398 | sleepless-agentDaemon that runs queued tasks through Claude Code overnight, via Slack or CLI | 20 out of 100 |