Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. gp.nvim

gp.nvim

MITLuav3.9.0

A Neovim plugin for AI-powered chat sessions, text/code operations, speech-to-text, and image generation using multiple LLM providers.

GitHubGitHub
1.3k stars127 forks0 contributors

What is gp.nvim?

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.

Target Audience

Neovim users, particularly developers and technical writers who want to incorporate AI-assisted coding, documentation, and creative tasks directly within their editor workflow.

Value Proposition

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.

Overview

Gp.nvim (GPT prompt) Neovim AI plugin: ChatGPT sessions & Instructable text/code operations & Speech to text [OpenAI, Ollama, Anthropic, ..]

Use Cases

Best For

  • Conducting persistent ChatGPT-like conversations within Neovim buffers with markdown formatting and autosave.
  • Performing instructable text and code operations such as rewriting, appending, or prepending content based on user prompts.
  • Using speech-to-text for dictating prompts, comments, or instructions via voice commands with SoX integration.
  • Generating images directly from prompts within Neovim, eliminating the need to switch to external tools.
  • Extending AI functionality with custom Lua hooks for tailored workflows like code reviews, unit test generation, or translations.
  • Managing multiple AI providers (e.g., OpenAI, Ollama, Anthropic) and switching between agents for different tasks.

Not Ideal For

  • Teams preferring graphical, IDE-like AI interfaces over command-line text buffers and modal editing
  • Environments where installing and configuring SoX for speech-to-text is impractical or unsupported
  • Users seeking out-of-the-box AI autocompletion without additional setup for providers like GitHub Copilot
  • Projects requiring robust collaborative AI features or integration with non-Neovim tools

Pros & Cons

Pros

Minimal Dependencies

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.

Extensible Hooks System

Lua hooks automatically register as custom commands, allowing tailored workflows like unit test generation or code reviews, demonstrated in the 'Extend functionality' section.

Multi-Provider Flexibility

Supports OpenAI, Ollama, Anthropic, GitHub Copilot, and others via configurable endpoints, offering cost and model choice flexibility without vendor lock-in.

Native Neovim Integration

Uses Neovim buffers for ChatGPT-like sessions with markdown formatting and streaming responses, ensuring seamless undo and editor-native workflows.

Speech-to-Text Efficiency

Integrates SoX for voice commands, enabling faster prompt dictation—claimed to be 2-4x quicker than typing—for tasks like commenting or instruction giving.

Cons

External Tool Dependency

Speech-to-text requires SoX installation, which isn't available on all platforms and adds an extra step, potentially limiting accessibility for some users.

Configuration Complexity

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.

Limited Ecosystem Integration

Relies solely on Neovim's ecosystem; users wanting AI features across editors or tight integration with other Lua plugins may find it restrictive.

Performance Trade-offs

Uses curl for API calls, which might not optimize latency compared to dedicated libraries, and local models via Ollama can introduce response delays.

Frequently Asked Questions

Quick Stats

Stars1,316
Forks127
Contributors0
Open Issues49
Last commit10 months ago
CreatedSince 2023

Tags

#ai-assistant#vim#llm-integration#neovim-plugin#llm#voice#speech-to-text#ollama#chatgpt#whisper#text-editing#neovim#lua#nvim#code-generation#copilot#openai-api

Built With

c
curl
N
Neovim
g
grep
S
SoX
L
Lua

Included in

Neovim20.6k
Auto-fetched 1 day ago

Related Projects

avante.nvimavante.nvim

Use your Neovim like using Cursor AI IDE!

Stars17,951
Forks827
Last commit2 days ago
codecompanion.nvimcodecompanion.nvim

✨ AI Coding, Vim Style

Stars6,652
Forks421
Last commit1 day ago
ChatGPT.nvimChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API

Stars4,006
Forks322
Last commit4 months ago
CopilotChat.nvimCopilotChat.nvim

Chat with GitHub Copilot in Neovim

Stars3,644
Forks170
Last commit8 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub