Comment by toisanji
15 hours ago
Is anyone using them vim with Claude or any of these coding tools? I want to, but I haven’t found a good workflow.
15 hours ago
Is anyone using them vim with Claude or any of these coding tools? I want to, but I haven’t found a good workflow.
Sidekick.nvim is nice, you get a "real" terminal window on the side with many different agents to choose from.
Either opencode, claude, gemini, copilot, basically most that are relevant :D
Its a pretty light connection-layer, so it helps with sending context.
FWIW, it's also made by Folke, the same developer who made lazy.nvim and snacks.nvim, as well as some other high-quality plugins.
This is why I switched to cursor over the last few months out of nvim. Just wasn't any smooth first class integrations with AI tooling. I still use vim bindings there, and I use nvim for quicker edits, but the AI editing and Cursor Tab is just way better than the AI stuff in nvim.
I just run them in separate terminals. The only real gap was that I couldn't tell the robot to open files in nvim when I wanted to look at them, the way it could in other IDEs, so I whipped up a quick skill (https://github.com/mkozlows/nvim-skill) to do that.
Ghostty split panes - coding TUI in one pane, neovim in the other, maybe a third pane for shell.
Just use this; it's literally claude code in a terminal tab in vim; also aware of what files are open in vim.
https://github.com/coder/claudecode.nvim
Mentioned elsewhere, but
:term claude
In a split goes a long way for me!
Am I misremembering cause I could have sworn that Aider started out as a nvim plugin?? https://github.com/Aider-AI/aider
That project is half dead now. There are commits, but has been no release in half a year, is missing major features (e.g. MCP server), and I haven't seen people talking about it for quite a while.
Check out avante.nvim: https://github.com/yetone/avante.nvim
Just open a terminal split/tab and use claude there. The neovim buffer will update real-time.
Yes tab split, neovim on the left, companion on the right, or different tabs. The plugin codecompanion.nvim is also great. I use it for common tasks. Like:
vaf (visual around function) <space>ad (leader key add docstring).
And it documents the functions with my system prompt instructions for what good docstings should look like.
CodeCompanion.nvim is a pretty nice plugin. I use that for quick stuff and opencode in the embedded terminal for larger tasks.
Use no plugins, install Zellij (or tmux) and use in split panes, works great.
I just have vim open in one terminal tab and Claude Code open in another terminal tab. Works great.