Chat with Grok Build inside a Neovim sidebar instead of switching to a terminal.
Review AI-proposed file edits as a native diff before accepting or rejecting them.
Send a visually selected block of code or a file mention straight into a Grok prompt.
Switch the AI panel's theme to match your existing Neovim colorscheme.
| compuficial/grok.nvim | agalaxie/battlegroundtargets-coa | duguyue100/planning.nvim | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Lua | Lua | Lua |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires the grok CLI installed and available on your system path.
grok.nvim is a plugin for the Neovim text editor that puts Grok Build, the coding assistant from xAI, directly inside your editor as a sidebar. Instead of switching to a separate terminal window to talk to the AI, you open a split panel that runs the real Grok command line tool, so you get the same slash commands, file pickers, and permission prompts you would get outside the editor. The main feature is how it handles file edits. When the AI wants to change a file, the proposed change shows up as a normal Neovim diff view instead of just applying silently. Pressing one key accepts the change, another key rejects it, and the AI is told why if you reject it. This gate can be turned off if you want the AI to make changes automatically without asking each time. The plugin also matches whatever color theme you already use in Neovim, so the AI panel does not look out of place, and it lets you jump between windows with the usual Ctrl plus h, j, k, l shortcuts from inside the sidebar. Files the AI edits on disk are reloaded automatically in any open buffer, and you can send a selected block of code or mention a specific file into your prompt without leaving the editor. To use it you need Neovim version 0.10 or newer and the grok command line tool installed and available on your system path. It works with common Neovim plugin managers such as lazy.nvim, packer.nvim, vim-plug, and mini.deps, or it can be installed manually as a native package with no plugin manager at all. The project is small, written in Lua, and released under the MIT license.
A Neovim plugin that runs the Grok Build AI coding assistant in a sidebar, with file edits shown as a native diff you can accept or reject.
Mainly Lua. The stack also includes Lua, Neovim, Grok CLI.
MIT license: use, modify, and share freely, including for commercial purposes, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.