I've been playing with different AI-in-editor setups recently, and most of them are… a lot. Too much UI, too much autocomplete, too much noise.
So I ended up using something lighter: the Claude Code CLI + claudecode.nvim.
It brings Claude into Neovim as a floating terminal with real context awareness and native diff integration. Nothing fancy, nothing bloated. Just a fast way to send code out, get feedback, and apply changes.
Here's my setup if you want to try it.
- Install Claude Code CLI (skip if you already have this)
Bashscript.sh
- Add the Neovim plugin
I use lazy.nvim, but any manager works. Requires Neovim 0.8.0+.
LUAfile.lua
That's it — no giant config blocks required unless you want them.
- Commands & Key Mappings
Main commands:
VIMfile.vim
Recommended leader key mappings:
LUAfile.lua
- The workflow
Here's how I use it:
- Highlight code in visual mode
- Hit
:ClaudeCodeSendto send it to Claude - Ask: "Can you clean this up and add types?"
- Review the diff that appears
:ClaudeCodeDiffAcceptto apply or:ClaudeCodeDiffDenyto skip- Keep moving