A Neovim plugin for AI-powered chat sessions, text/code operations, speech-to-text, and image generation using multiple LLM providers.
Gp.nvim is a Neovim plugin that integrates GPT models directly into the editor, enabling ChatGPT-like sessions, instructable text and code operations, speech-to-text, and image generation. It extends Neovim's native capabilities with AI features while maintaining a lightweight and extensible design, allowing developers to interact with AI without leaving their editor.
Neovim users, particularly developers and technical writers who want to incorporate AI-assisted coding, documentation, and creative tasks directly within their editor workflow.
Developers choose Gp.nvim for its minimal dependencies, extensibility via Lua hooks, and multi-provider support including OpenAI, Ollama, Anthropic, and GitHub Copilot. It offers a native Neovim experience with features like streaming responses, undo support, and project-specific custom instructions.
Gp.nvim (GPT prompt) Neovim AI plugin: ChatGPT sessions & Instructable text/code operations & Speech to text [OpenAI, Ollama, Anthropic, ..]
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Core functionality relies only on curl and grep, with optional SoX for speech-to-text, reducing plugin conflicts and setup friction as emphasized in the README.
Lua hooks automatically register as custom commands, allowing tailored workflows like unit test generation or code reviews, demonstrated in the 'Extend functionality' section.
Supports OpenAI, Ollama, Anthropic, GitHub Copilot, and others via configurable endpoints, offering cost and model choice flexibility without vendor lock-in.
Uses Neovim buffers for ChatGPT-like sessions with markdown formatting and streaming responses, ensuring seamless undo and editor-native workflows.
Integrates SoX for voice commands, enabling faster prompt dictation—claimed to be 2-4x quicker than typing—for tasks like commenting or instruction giving.
Speech-to-text requires SoX installation, which isn't available on all platforms and adds an extra step, potentially limiting accessibility for some users.
With a 600+ line default config and multiple providers to set up, initial configuration can be daunting and error-prone, especially for API key management.
Relies solely on Neovim's ecosystem; users wanting AI features across editors or tight integration with other Lua plugins may find it restrictive.
Uses curl for API calls, which might not optimize latency compared to dedicated libraries, and local models via Ollama can introduce response delays.