Skip to content

Add claudecode.nvim: Claude Code integration for Neovim#3

Open
cpb wants to merge 110 commits intotjwallace:masterfrom
cpb:feat/claude-neovim
Open

Add claudecode.nvim: Claude Code integration for Neovim#3
cpb wants to merge 110 commits intotjwallace:masterfrom
cpb:feat/claude-neovim

Conversation

@cpb
Copy link
Copy Markdown

@cpb cpb commented Mar 30, 2026

Summary

  • Adds coder/claudecode.nvim — bridges Neovim ↔ Claude Code CLI via WebSocket MCP (same protocol as the VS Code/JetBrains extensions)
  • Uses snacks.nvim terminal in a right split (35% width)
  • Also fixes nvim-dap-ruby to fetch from GitHub instead of the missing local path at /Users/cpb/oss/nvim-dap-ruby

Key bindings (<leader>a)

Key Action
<leader>ac Toggle Claude Code terminal
<leader>af Focus Claude Code terminal
<leader>ab Add current buffer to Claude context
<leader>as Send visual selection to Claude (visual mode)
<leader>as Add file to Claude context (from neo-tree)
<leader>aa Accept diff
<leader>ad Deny diff

🤖 Generated with Claude Code

cpb and others added 30 commits July 25, 2024 09:24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove cpb/neotest-rspec fork dependency, use table literal
instead of tbl_flatten for minitest cmd, strip debug logging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Source ~/.zshrc-work for env vars like JAVA_HOME that are
machine-specific and shouldn't live in shared dotfiles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove openjdk PATH (now in zshrc-work), add copyeach function
for interactive clipboard line copying. Add qlty example to
zshrc-work template.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Drop 8 unused vim color files, 3 color submodules (molokai, solarized,
tomorrow-theme), dead neovim example.lua, and stale vimrc color comments.
Only Tomorrow-Night-Eighties (vim) and base16-tomorrow-night-eighties
(neovim) remain as the active schemes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bridges Neovim ↔ Claude Code CLI via WebSocket MCP (same protocol as
VS Code/JetBrains extensions). Uses snacks.nvim terminal in a right
split. Key bindings under <leader>a: toggle, focus, add buffer/file to
context, send visual selection, accept/deny diffs.

Also fixes nvim-dap-ruby to fetch from GitHub instead of missing local
path at /Users/cpb/oss/nvim-dap-ruby.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant