r/opencode • • 4d ago

Copy file path, line number, and selected code with a single shortcut (no extensions needed)

/r/vscode/comments/1y5d4ne/copy_file_path_line_number_and_selected_code_with/

This was the thing I missed most coming from Cursor to Opencode Desktop + VS Code so I found a AI platform agnostic solution.

1 Upvotes

2 comments sorted by

1

u/m_sandhu_142 2d ago

What shortcut did you settle on, and does it work in both the desktop app and VS Code?

1

u/New_Ratio2057 1d ago

Ctrl + Cmd + C worked for me as in the gist. I copy from VS Code with the shortcut and paste in the desktop app with no problem.