Back
Introducing The Pieces for Neovim Plugin! 🎉
We’re excited to announce our latest addition to the Pieces ecosystem, the Pieces for Neovim Plugin! Install and get started today.
We’re excited to announce our latest addition to the Pieces ecosystem, the Pieces for Neovim Plugin!
Pieces for Neovim is a powerful plugin designed to enhance your coding experience while using the Neovim editor.
The plugin seamlessly integrates with Neovim and offers some handy tools and features that streamline your workflow and boost productivity.
Even more exciting, the Pieces for Neovim Plugin is completely open-source, made with Neovim users of all levels of experience in mind.
Why Choose Pieces for Neovim?
Built to be lightweight and feel perfectly at home within Neovim, the Pieces for Neovim plugin is built on Python and offers a clean, minimal user experience.
It incorporates some of Pieces’ most useful features, like saving and viewing your Pieces saved materials inside your personal repository, interchangeable cloud and local LLMs, and the ability to interact with Pieces Copilot.
The Pieces for Neovim plugin greatly enhances your productivity workflow with clean, useful, noninvasive AI-powered technology—so why not try it?
Using Pieces Copilot in Neovim
Pieces Copilot is hassle-free to use inside of Neovim, allowing you to engage with your preferred LLM of choice in a split-screen window so you can have copilot conversations all through Neovim’s interface.
Chatting with Pieces Copilot
We wanted to make the Pieces for Neovim Plugin unobtrusive to use while maintaining the simplistic appeal of Neovim’s native editor.
That’s why you can have conversations with Pieces Copilot, just like in other IDEs, in a split-window configuration, right where you need it.
Opening the conversation window is simple: just use the :PiecesCopilot
command.
Changing your Large Language Model
Hopping between different LLMs is common when using AI tools for software development; sometimes you want the particular strengths of one model for a certain task.
We’ve designed the Pieces for Neovim plugin with this in mind, which is why it’s incredibly easy to switch between powerful LLMs on the fly with just a simple command.
You can also switch between local models and cloud models depending on your workflow, too— just use /change_model
.
Viewing Past Conversations
Want to retrace your steps to jog your memory? Perhaps there’s one useful nugget of information that might just help you fix that bug?
You’re in luck! The Pieces for Neovim Plugin lets you use the :PiecesConversations
command to view (and access) your past Pieces Copilot conversations—just like that.
You can also open a specific conversation right from that list with a single stroke of the enter key.
Asset Management with the Pieces for Neovim Plugin
Snippets are useful pieces of code you can save for later, allowing you to save important boilerplate code, efficient functions, and scripts with only a few quick actions.
More importantly, since you’ll be running Pieces OS as well as Neovim, your snippets will be available not just in Neovim, but in any IDE that supports Pieces integration.
Any materials or assets you save during your workflow will also be available in the Pieces Desktop App.
Saving Snippets
With the Pieces for Neovim plugin, you can take any active selection of code and save it directly to your saved materials with the :PiecesCreateSnippet
command.
No context switching. No jumping to an external program. Just easy-to-use, super simple saving and viewing of snippets right from within the Neovim IDE.
Searching Your Snippet Repository
Just like you can save snippets with the Pieces for Neovim Plugin, you can refer back to them using :PiecesSnippets
to jog your memory, edit them, or copy and paste them directly into your code.
Authentication Control
Security is important—and so is being able to access your personal cloud!
With the Pieces plugin for Neovim, you can manage your Pieces account settings directly from Neovim’s interface, letting you log in or out of your Pieces account or connect to your personal Pieces cloud with :PiecesLogin
and :PiecesLogout
.
Connecting to your Pieces Personal Cloud
The Pieces Personal Cloud is the same across the Pieces Suite— this is how you can generate shareable links in the Pieces Desktop App and other Pieces products. In Pieces for Neovim, you can connect to your personal cloud using :PiecesConnectCloud
or use :PiecesDisconnectCloud
to disconnect.
The ability to generate shareable links from Pieces for Neovim will be included in future versions!
An Open Source Plugin for Neovim
The Pieces for Neovim Plugin is an open-source plugin, designed after extensive requests from our dedicated community of users. This way, it’s always being improved and updated with fixes and features that you ask for!
We value your feedback, so if you run into any issues with the Pieces for Neovim Plugin, let us know by creating an open issue on our GitHub repository.
You can also make contributions to the plugin’s repository at any time–after all, it is an open-source plugin!
Get Started with the Pieces for Neovim Plugin
Are you ready to test out Pieces for Neovim?
Try out our new Neovim plugin today by starting with our official documentation page, where you can find information on getting started, useful commands, troubleshooting, and contributing.