nemanjamalesija / smart-paste.nvim
PublicContext-aware paste indentation for Neovim. Pasted code lands at the correct indent level, every time, in every language.
A helper tool for the Neovim text editor that automatically adjusts spacing when pasting code so it matches the surrounding lines perfectly.
How It Works
While looking for ways to fix messy code pasting in your text editor, you find Smart Paste on GitHub.
You see a short video showing how pasted code instantly lines up perfectly with your existing code.
You copy a few simple lines into your editor's settings to include Smart Paste.
You close and reopen your editor, and Smart Paste turns on automatically.
Now when you copy code from anywhere and paste it with your usual keys, it snaps to the perfect spot with matching spaces.
Pasting snippets feels effortless, and everything stays neatly organized without manual fixes.
Your coding sessions are smoother and frustration-free, with all pasted code looking professional right away.
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.