Show HN: Vim-Claude-code – Claude CLI integration for AI workflows inside Vim (github.com)

1 points by rishi-hn ↗ HN
Hi HN,

I built vim-claude-code, a Vim/Neovim plugin that integrates Claude CLI directly into the editor to enable AI-assisted development workflows without leaving Vim.

The goal was not to build “chat inside Vim,” but to enhance real workflows developers already use.

Current features:

Generate and improve Git commit messages from diffs

Refactor selected code

Generate tests

Summarize code blocks

Send visual selections directly to Claude

Terminal-based integration (no background daemons)

Technically, the plugin follows standard Vim plugin architecture:

Lightweight plugin/ bootstrap

Lazy-loaded autoload/ modules

Modular command dispatcher

Terminal bridge to Claude CLI

Configurable keymaps

Separation of Git, workflow, and terminal logic

It works with both Vim and Neovim.

I’d appreciate feedback from the Vim community — especially around workflow improvements and architecture decisions.

Repo: https://github.com/rishi-opensource/vim-claude-code

Happy to answer questions.

2 comments

[ 2.7 ms ] story [ 14.8 ms ] thread