Today, I’m thrilled to announce ChatVim, a new plugin for Neovim that allows you to use advanced AI models to chat with Markdown files (or just the current buffer).
I created ChatVim because all the AI plugins for Neovim I could find used a custom dialog box for chat, which felt less interoperable with the rest of my Neovim workflow. Since modern LLMs are fundamentally text completion models that often assume Markdown formatting, it seemed logical to use the existing Neovim buffer as the chat interface. This approach lets you leverage all of Neovim’s existing features, such as search, copy/paste, saving, and more.
Currently, ChatVim supports grok-3-beta
from xAI (the default) and gpt-4.1
from OpenAI. I plan to add support for other advanced models over time,
including Claude, Gemini, and more.
ChatVim is configurable by editing the front matter of the Markdown file. You can use either TOML or YAML to specify settings like the model and delimiter.
For installation instructions and more information, please visit the GitHub repository.