Skip Navigation

I resurrected CodeGPT - a minimalist command based LLM plugin for fast workflows with a template system

github.com

GitHub - blob42/codegpt-ng.nvim: Minimalist command based AI plugin to interact with LLM backends like Ollama and OpenAI with a powerful template system

Hi !

I am sharing codegpt-ng.nvim — a minimalist AI plugin designed for fast, "vim way" workflows.

How Does It Compare To X

This is a fork of CodeGPT.nvim fully refactored and brought back to life. Here is a quick overview of the new features:

  • Fully tested with Ollama and OpenAI API
  • Streaming mode for real-time popup responses
  • lua table-based configuration instead of global variables
  • Model definition inheritance: Define models that inherit other model parameters
  • New commands and helpers such as the % commmand range operator
  • Ability to cancel current request.
  • UI Query and select local or remote model
  • Strips thinking tokens from replies if the model forgets to use codeblocks
  • New callback types: insert_lines and prepend_lines
  • Refactored for idiomatic Lua and neovim plugin style
  • Simplified command system with explicit configuration
  • Chat History: Add example messages in a command definition
  • Tests with plenary library
  • Fixed statusline integration

And much more to cover here. I use it as my daily driver.

Contributions welcome !

Fun Fact: that same post has been instantly flagged as spam on the official /r/neovim reddit for no reason. I have been a member since years and replied to many posts and posted before. The state of the internet today is very sad. /rant_off

0 comments

No comments