なぜ設定するのか

出力中の path:行番号 がそのエディタで開くリンクになります。vscode / vscode-insiders / windsurf / cursor / none から選択。

設定方法

  1. ~/.codex/config.toml を開く(なければ作る)
  2. スニペットを追記する。同じキーや同じ [テーブル] がすでにあれば重複しないように整理する
  3. Codex を起動し直す
既定値
"vscode"
書く場所
~/.codex/config.toml
型
vscode | vscode-insiders | windsurf | cursor | none

公式ドキュメントの説明

URI scheme used to open citations from Codex output (default: vscode).

公式リファレンスを見る