Here's a simple way to integrate Neovim with OpenCode or Claude Code.
- Select some text
- Press
<leader>fyr - Paste it into the LLM agent of your choice
This copies the file path into your clipboard in a format like @lib/keymaps.lua#L24-36. This mimics what the Claude Code VS Code extension would do (Alt+Cmd+K).
You can then paste it into your LLM agent as @docs/instructions.md#L12-19 convert this list to a table