Cannon07 / claude-preview.nvim
PublicA Neovim plugin that shows a live diff preview of Claude Code's file edits before you accept or reject them.
A companion tool for Neovim that shows side-by-side previews of AI-proposed file changes before applying them.
How It Works
While editing code in your favorite text editor with an AI assistant, you find this tool that lets you preview changes safely before they happen.
You simply add this helpful companion to your editor's list of tools, like picking up a new gadget.
In your project folder, you run one easy command to prepare it, and restart your AI helper.
When you ask the AI to update a file, a new view opens right in your editor showing the current version side-by-side with the suggested new one.
Tell the AI yes, and the changes apply smoothly while the preview vanishes.
Tell the AI no, then close the preview with a quick key press.
Your files refresh automatically, keeping your work safe and under control.
Now every AI suggestion gets your review first, making your coding smoother and mistake-free.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.