goose.nvim

Report Abuse

Basic Information

goose.nvim is a Neovim plugin that bridges the goose AI agent with the editor to provide an in-editor chat interface and assistant. It captures editor context such as the current file, selections, mentioned files and diagnostics, and maintains persistent sessions tied to the workspace so users can carry on continuous conversations with the AI. The plugin exposes commands, keymaps and a Lua API for opening input and output panes, running prompts in the current or new session, selecting sessions, configuring providers and models, and stopping running tasks. It requires the goose CLI to be installed and available and supports configuring LLM providers and model lists via its providers option. The project includes an example lazy.nvim installation and lists dependencies like plenary.nvim and render-markdown.nvim.

Links

Categorization

App Details

Features
The README documents configurable global and window keymaps for toggling the UI, opening input/output windows, submitting prompts, navigating messages and prompt history, and controlling diff views. It captures editor context automatically and supports file mentions via a file picker triggered with @, integrating with pickers such as fzf-lua, telescope, mini.pick and snacks. The plugin provides persistent session management, provider and model quick switching, a diff view to inspect and revert file changes since the last prompt, and a fullscreen layout option. There is a detailed setup and configuration API with UI sizing options, display toggles for model and mode, and providers configuration for multiple backends. Commands and Lua API functions are listed for all major actions.
Use Cases
goose.nvim keeps AI-assisted workflows inside Neovim so developers do not need to switch applications to consult the goose agent. By attaching editor context to prompts it enables more precise, context-aware suggestions for code, diffs and diagnostics. Persistent sessions allow ongoing conversations tied to a workspace, and the file-mention picker makes it simple to include additional files in a prompt. The diff and revert features make it safer to apply and review changes suggested by the agent. Quick provider and model configuration plus an extensible providers list lets users test different LLM backends. The plugin is scriptable via a Lua API, supports common pickers, and documents sensible defaults for keybindings and UI behavior, improving productivity for code review, refactoring and exploratory prompts while requiring the goose CLI.

Please fill the required fields*