Introducing ChatVim: Chat with Markdown Files in Neovim

2025-06-06 · Ryan X. Charles

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.


Earlier Blog Posts


Back to Blog

Copyright © 2025 Ryan X. Charles
Home · CV · About · Blog