Altern Logo
Altern
CodeGPT.nvim logo

CodeGPT.nvim

Visit Website →

Neovim-integrated ChatGPT for seamless code completion, refactoring, documentation, and chat.

CodeGPT.nvim is a minimalist Neovim plugin that embeds ChatGPT capabilities directly into your coding workflow. It provides a command-based interface (:Chat) for operations such as code completion, refactoring, documentation generation, debugging prompts, tests generation, and natural-language chat with ChatGPT, all within floating popup windows weighted toward developer productivity . Installation is easy with popular managers like Lazy, Packer, or VimPlug. You define your OPENAI_API_KEY, ensure dependencies (plenary.nvim, nui.nvim, optionally tiktoken), and configure via Lua. Commands support smart behaviors—context-aware chat/editing based on visual selection, customizable prompts and token settings, built-in refactoring commands, unit test generation, and chat queries—delivering a lightweight but powerful DevOps-aware AI coding experience .

Reviews

  • No reviews yet.
See something outdated? Suggest an update