Add VSCode Shortcut to Send Current File & Line to Codex CLI

Resolved 💬 1 comment Opened May 4, 2026 by robertwt7 Closed May 4, 2026

What variant of Codex are you using?

CLI

What feature would you like to see?

Similar to https://github.com/openai/codex/issues/7284 and what exist at Claude Code, it will be good for us to have an option to send current File + Line to Codex CLI for us who likes to use Codex through CLI, not the Codex Sidepanel. The existing Codex: Add File to Codex Thread only works to add file to the Codex Sidepanel, not to the CLI.

at the moment Claude allows us to do it via cmd + option + K. it's really helpful for those of us who likes to use CLI (I use CLI all the time)

<img width="1039" height="113" alt="Image" src="https://github.com/user-attachments/assets/de130753-83f9-4cd4-8336-e699f9c1a0f9" />

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗