Skip to content

Releases: cvquesty/vim-grok

vim-grok v0.3.1

27 Feb 21:17

Choose a tag to compare

vim-grok v0.3.1

Documentation completeness release — all features fully documented.

Fixed

  • Help file (:help grok) now includes g:grok_no_mappings and g:grok_plugin_version options that were added in v0.3.0 but missing from the help docs

Verified

All 13 commands, 15 config options, and 15 key mappings are documented in both:

  • README.md — comprehensive beginner-friendly guide with badges
  • doc/grok.txt — Vim help file accessible via :help grok

Full Feature Set (v0.3.x)

  • Ask, Explain, Refactor, Review, Fix, Generate, Inline, Chat commands
  • Inline ghost-text completions via xAI API (Vim + Neovim)
  • Multi-turn chat with session persistence
  • All commands fully async (no editor blocking)
  • Output buffer doesn't steal focus
  • g:grok_no_mappings to suppress default keybindings
  • Neovim extmark support for ghost text

Installation

Plug 'xai-org/vim-grok'

vim-grok v0.3.0

26 Feb 20:56

Choose a tag to compare

vim-grok v0.3.0

Major UX and correctness update — all commands are now async, the output buffer no longer steals focus, and Neovim inline completions now work.

Changed

  • Output buffer no longer steals focus — response streams into a split while you keep editing
  • GrokChat is now async — chat responses stream in real-time instead of blocking
  • GrokGenerate is now async — code inserted at cursor when complete, staging buffer auto-closes
  • Output buffer sizing — opens at 1/3 screen height (min 8 lines)

Added

  • g:grok_no_mappings — set to 1 to suppress all default key mappings
  • g:grok_plugin_version — version tracking variable
  • Neovim ghost text — inline completions now work in Neovim via extmarks

Fixed

  • Shell injection in :GrokModels — safe list form system()
  • Accept() fallback — C-g C-g passes through when no suggestion active

Requirements

  • Vim 8.0+ or Neovim 0.5+
  • grok-cli installed and authenticated
  • For inline completions: $XAI_API_KEY environment variable