Personal Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
eifachposteMB to AI (Reddit RSS)English · 17 hours ago

Teaching Claude Code to run commands in Neovim

fredrikaverpil.github.io

external-link
message-square
0
link
fedilink
1
external-link

Teaching Claude Code to run commands in Neovim

fredrikaverpil.github.io

eifachposteMB to AI (Reddit RSS)English · 17 hours ago
message-square
0
link
fedilink
Inside a Neovim terminal, the $NVIM environment variable points to the parent Neovim’s Unix socket. This means you can query editor state, inspect buffers, check LSP diagnostics, and even send commands — all through Neovim’s msgpack-RPC API. What’s quite neat here is that since I run Claude Code inside a Neovim terminal window, I can make Claude use this API to query and hook into the running Neovim session and much more easily debug issues with my Neovim config, develop plugins, or help with something inside Neovim.

Original Reddit post

submitted by /u/ffredrikk

Originally posted by u/ffredrikk on r/ClaudeCode

alert-triangle
You must log in or # to comment.

AI (Reddit RSS)

ai_reddit

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !ai_reddit@lemmy.durstig.online

AI (Reddit RSS Feed)

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 40 users / day
  • 121 users / week
  • 347 users / month
  • 347 users / 6 months
  • 1 local subscriber
  • 22 subscribers
  • 5.35K Posts
  • 95 Comments
  • Modlog
  • mods:
  • eifachposte
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org