Get started with the Pieces for Neovim plugin

Manage your code snippets, interact with the AI-powered Pieces Copilot, and streamline your workflow—all from within your favorite editor.

Installation via GitHub


• Make sure you have Python installed on your machine
• Follow the required steps on the GitHub repo to install

Note: You must download

Pieces OS

to power this plugin

Your AI assistant, right in Neovim

Your AI assistant, right in Neovim

Unlock the power of AI within Neovim using :PiecesCopilot. Get instant coding help, debugging advice, or generate snippets—all in a split view, without ever leaving your editor.

Tailor your AI Experience

Customize your copilot with ease using the /change_model command. Whether you need deep insights or quick answers, choose the model that fits your coding style.

Control your conversations

Manage all your copilot chats effortlessly with :PiecesConversations. Navigate, open, or delete conversations to keep your workspace organized and focused.

Save snippets instantly

Turn any selected text into a snippet with a few keystrokes. Just enter visual mode, select your text, and use :PiecesCreateSnippet to save it. Instant snippet creation, right at your fingertips.

Organize and edit snippets on the fly

Manage your snippets without breaking your flow. Use :PiecesSnippets to browse, edit, or delete saved snippets—all from within Neovim. Keep your code organized and accessible.

Use Pieces across your workflow

Experience the power of our “tool in-between tools” throughout your day-to-day projects. Pieces deeply integrates with all of your favorite tools, evolving your interactions with code snippets from end-to-end.