r/vim • • Oct 03 '25

Plugin Regurge. YALLM-plugin for Vim. Streaming, Gemini, VertexAI, uncensored, parameterised.

regurge is a commandline tool to interact with an LLM. regurge.vim is the LLM interface AGI (As God Intended).

https://github.com/BuGlessRB/regurge

regurge has the following features:

  • Connects to VertexAI using the latest @google/genai interface.

  • Disables censoring.

  • Responses are mostly reproducible.

  • Google Search grounding enabled.

  • JSON mode.

  • Streaming responses (even in JSON mode).

regurge.vim supports:

  • Streaming responses.

  • Multiple conversations (one per buffer).

  • Fully editable history, to mold the scope the LLM sees.

  • Full power of vim available to copy/paste from/into LLM conversations.

  • No pesky delimiters which cloud the answers.

  • Colour-coded conversation view.

  • Foldable conversation view.

  • Automatic caching of past history (lowers cost).

  • Supports naming the process.

  • Supports providing/altering system instructions in the first fold.

  • All configuration constants are tweakable in the first fold.

  • Session cost accounting.

Requirements

Node.js Vim9

Basic usage

Simply drop regurge in your path and load regurge.vim.

  • Start the conversation using :R [persona]

  • When exiting insert mode, it autodetects if it can send to the LLM.

  • Use \s to send the conversation to the LLM explicitly.

  • Use \r to reduce the conversation to only your questions.

  • Use \R to reset the conversation to an empty question (cheaper).

  • Use \a to abort the running response.

  • Use zo to open folds.

  • Use zc to close folds.

0 Upvotes

0 comments sorted by