Tech
[Codex] [解决方案] Codex Cli 复制多行提示词到输入框,可能截断提示词,导致提示词不完整的解决方案
经常使用 Codex Cli 的同学肯定遇到过标题的问题,我搜到的最简单的解决方案是使用 Shift + Insert 粘贴文本,但是 [无效] 。
我目前的输入多行文本方式:
PowerShell / Windows Terminal 下,键入 [ codex ] ,进入 Codex Cli 环境
键入 [ ctrl + G ] ,打开 notepad++,
输入提示词, [ ctrl+s ] 保存,退出 notepad++,提示词自动回到了 Codex cli 。
配置方法:
1. 先找到 Notepad++ 路径
通常是:
C:\Program Files\Notepad++\notepad++.exe
或者:
C:\Program Files (x86)\Notepad++\notepad++.exe
先在 PowerShell 执行:
Test-Path "C:\Program Files\Notepad++\notepad++.exe"
如果返回:
True
就使用这个路径。
...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX