Y
Hacker News
new
|
ask
|
show
|
jobs
by
apwell23
317 days ago
they how do you say. look at these lines of code to claude?
2 comments
oblio
317 days ago
Can you prompt it? A bit manual, but hey. I wonder if you can script visual selection in Neovim to output full file path plus line number range, for direct copy paste.
link
apwell23
317 days ago
you can start neomvim with a network ( neovim --listen) socket and tell calude
" look at neovim at this network socket and get current selection"
This actually works :)
link
softwaredoug
317 days ago
I just say "look in file.py at lines 20-30" or "See in function FooBar where we foo the bar".
link
apwell23
316 days ago
i guess thats a bit of typing and then claude has to do a grep/find to figure out what you are talking about.
link