logoalt Hacker News

toisanjiyesterday at 7:01 PM12 repliesview on HN

Is anyone using them vim with Claude or any of these coding tools? I want to, but I haven’t found a good workflow.


Replies

OliverWichyesterday at 7:42 PM

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.

show 1 reply
gkfasdfasdftoday at 2:43 AM

Ghostty split panes - coding TUI in one pane, neovim in the other, maybe a third pane for shell.

jonaustintoday at 2:42 AM

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

mkozlowstoday at 1:35 AM

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.

mikey_ptoday at 1:58 AM

Check out avante.nvim: https://github.com/yetone/avante.nvim

bluepetertoday at 12:51 AM

Am I misremembering cause I could have sworn that Aider started out as a nvim plugin?? https://github.com/Aider-AI/aider

show 1 reply
lachlan_grayyesterday at 8:15 PM

Mentioned elsewhere, but

:term claude

In a split goes a long way for me!

altermetaxyesterday at 10:29 PM

Just open a terminal split/tab and use claude there. The neovim buffer will update real-time.

Zizizizzyesterday at 8:50 PM

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.

Trufatoday at 12:10 AM

Use no plugins, install Zellij (or tmux) and use in split panes, works great.

mathieudombrockyesterday at 9:47 PM

CodeCompanion.nvim is a pretty nice plugin. I use that for quick stuff and opencode in the embedded terminal for larger tasks.

kelnosyesterday at 10:49 PM

I just have vim open in one terminal tab and Claude Code open in another terminal tab. Works great.