NORMAL ~/wkd/p/ai :set skin=modern utf-8

ai.nvim

A provider-agnostic ask/stream layer for talking to an AI from inside Neovim -- context assembly (buffer/selection/diagnostics), a streaming answer panel, and one :Ai command, instead of every plugin hand-rolling its own curl calls.

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
AI
neovim
0.10+
repo
github.com/StefanBartl/ai.nvim
commits
54
help
:help ai

install

{
  "StefanBartl/ai.nvim",
  opts = {},
}

docs/

git log

  1. test docs: second review round -- registry-independent keymap scan, every provider stubbed, wider extractors
  2. docs vimdoc: bring doc/ai.txt back in line with docs/*.md
  3. test docs: harden the docs-example spec after review (vacuous checks, portability)
  4. test docs: execute and cross-check the documented examples against the code (REL-08)
  5. docs add missing anchor for health.md's configuration section
  6. docs link back to the wkd family site
  7. perf ui/panel: stream chunks via incremental buffer writes, not a full rewrite
  8. feat context: add opts.conflict scope, both merge sides labeled (GS-21)
  9. fix completion,context: close a dismiss race and an uncaught raise
  10. fix providers: close the on_done/on_error double-fire gap for all four providers
  11. ci bump JohnnyMorganz/stylua-action to v5 (Node-20 deprecation)
  12. ci upload the failure log on a timed-out job too, not just a failed one

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search the plugins
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :log · :stack
plugin list · activity stream · dependency graph
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close