logoalt Hacker News

IBCNUtoday at 2:57 PM1 replyview on HN

Sure!

Setup is:

- nvim --listen /tmp/nvim — starts Neovim with a socket Claude can connect to

- /mcp in Claude Code — enables the Neovim MCP server, gives Claude direct control of Neovim

- lein repl in the nvim terminal

- Claude reads .nrepl-port, runs :ConjureConnect — REPL is live!

The loop is so dope:

- Claude writes code directly into my .clj files

- Then evals it into the running process via Conjure

- Sees the result in the REPL, iterates if wrong, all in the same conversation turn

- wrap-reload middleware means the web server hot-reloads changed namespaces on the next request


Replies

zingartoday at 4:00 PM

Hmmmm… seeing this workflow makes me wonder if I can do this with Ruby (the integration between agent and repl)

show 1 reply