Allow custom command for "Open in" setting

Resolved 💬 3 comments Opened Feb 5, 2026 by contagnas Closed Feb 5, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

App

What feature would you like to see?

Similar to https://github.com/openai/codex/issues/10443

Would like to a hook to add a custom open in option. I'd imagine this would call a provided script and pass it arguments containing the file.

My use case is that I want to open in emacs, but my setup is bespoke enough that I'd like full control of how the file is actually opened (but approximately /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -r $FILE)

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 6 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #10428
  • #10443
  • #10771

Powered by Codex Action

etraut-openai contributor · 6 months ago

Thanks for the suggestion. We're already tracking this in #10428. Please upvote that feature request.

contagnas · 6 months ago

Thank you and apologies, I did search and only saw the issues for specific integrations!