Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

they how do you say. look at these lines of code to claude?


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.


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 :)


I just say "look in file.py at lines 20-30" or "See in function FooBar where we foo the bar".


i guess thats a bit of typing and then claude has to do a grep/find to figure out what you are talking about.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: