Copy Claude Ref
Press Cmd+Alt+Ctrl+C (Mac) or Ctrl+Alt+Shift+C (Linux/Win) in any editor to copy a file reference to the clipboard.
Designed for pasting file references into Claude Code terminals.
Behavior
| Scenario |
Output |
| No selection (cursor) |
notes/file.md#L10 |
| Single-line selection |
notes/file.md#L10 |
| Multi-line selection |
notes/file.md#L10-25 |
| File outside workspace folder |
@../OtherProject/path/to/file.py#L10 |
| |