A lightweight Neovim wrapper for the llm CLI, enabling ChatGPT-style LLM interactions directly in your editor.
sllm.nvim is a lightweight Neovim plugin that wraps Simon Willison's `llm` command-line interface, bringing ChatGPT-style interactions directly into the editor. It enables developers to chat with large language models, manage context across multiple files, and run agentic workflows without switching applications. The plugin solves the problem of context switching by keeping LLM interactions within the Neovim environment where developers already work.
Neovim users who want to integrate LLM capabilities like code assistance, documentation generation, and conversational AI directly into their editor workflow. It's particularly useful for developers who prefer terminal-based environments and want fine-grained control over LLM context.
Developers choose sllm.nvim because it provides native integration with the established `llm` CLI tool, offers explicit context control through flexible templates, and maintains a minimal footprint following Neovim's plugin conventions. Unlike browser-based alternatives, it keeps all interactions within the editor with real-time streaming, token tracking, and customizable agentic workflows.
Integrate ChatGPT-style LLMs into Neovim: ask questions, keep multi-file context, pull diagnostics / command output, and chat without leaving your editor. Highly configurable, async, lua-only plugin.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly leverages the llm CLI's templates, tools, and history, ensuring compatibility with multiple LLM providers and reducing redundancy, as highlighted in the 'Why sllm.nvim' section.
Delivers instant feedback with streaming responses that include markdown rendering and syntax highlighting, enhancing interactivity, as described in the 'Features' list.
Allows precise management of included context like files, selections, URLs, and diagnostics, preventing unintended data exposure, emphasized in the plugin's philosophy and features.
Enables easy creation of tailored automation through YAML-based templates and Python function tools for tasks like file editing, as noted in the 'Why sllm.nvim' section.
Requires installation and configuration of the llm command-line tool first, adding an extra setup step and potential compatibility issues, as outlined in the 'Quick start' instructions.
Only functions within Neovim, making it inaccessible for developers using other editors or preferring cross-platform AI tools, which is inherent to its plugin design.
For optimal features like nicer notifications and picker UI, it depends on optional plugins like mini.notify and mini.pick, necessitating additional installation and configuration.