#395395th of 404 in Coding agents and AI editors

chatgpt.nvim

Neovim plugin for chat, code editing and actions via the OpenAI API

Stars
4k
License
Apache-2.0
Last commit
Jan 2026
Last release
Jan 2023
Language
Lua
Stars, last 35 weeks+29
25 Mar 2026: 3,957 stars1 Apr 2026: 3,958 stars8 Apr 2026: 3,960 stars15 Apr 2026: 3,961 stars22 Apr 2026: 3,961 stars29 Apr 2026: 3,962 stars6 May 2026: 3,965 stars13 May 2026: 3,966 stars20 May 2026: 3,967 stars27 May 2026: 3,967 stars3 Jun 2026: 3,968 stars10 Jun 2026: 3,970 stars17 Jun 2026: 3,970 stars24 Jun 2026: 3,970 stars1 Jul 2026: 3,971 stars8 Jul 2026: 3,972 stars15 Jul 2026: 3,972 stars22 Jul 2026: 3,972 stars29 Jul 2026: 3,974 stars5 Aug 2026: 3,975 stars12 Aug 2026: 3,976 stars19 Aug 2026: 3,977 stars26 Aug 2026: 3,979 stars2 Sept 2026: 3,980 stars9 Sept 2026: 3,980 stars16 Sept 2026: 3,980 stars23 Sept 2026: 3,980 stars30 Sept 2026: 3,981 stars7 Oct 2026: 3,981 stars14 Oct 2026: 3,983 stars21 Oct 2026: 3,983 stars28 Oct 2026: 3,984 stars4 Nov 2026: 3,984 stars11 Nov 2026: 3,985 stars18 Nov 2026: 3,985 stars25 Nov 2026: 3,986 stars

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
Also in Coding agents and AI editors
RankProjectScore
#393ai-shellCLI that turns natural-language prompts into shell commands via OpenAI5.3k starsMIT25 out of 100
#394asyncElectron desktop IDE with a built-in agent loop, Git and terminal476 starsApache-2.024 out of 100
#396lemonaiGeneral-purpose local AI agent with a Docker sandbox and HTML editor1.6k starscustom license22 out of 100
#397devildevGenerates and reverse-engineers software architecture from specs or GitHub repos612 starsApache-2.021 out of 100
#398sleepless-agentDaemon that runs queued tasks through Claude Code overnight, via Slack or CLI844 starsMIT20 out of 100