问题:将截图ctrl+v给codex就会报错:There is not an image in the clipboard.

Ctrl + Shift + P → 输入:

Preferences: Open Keyboard Shortcuts (JSON)

点击右上角:

然后加入下面这段:

[
  {
    "key": "ctrl+v",
    "command": "-office.markdown.paste",
    "when": "!terminalFocus && !filesExplorerFocus && resourceLangId == markdown"
  }
]

VS Code 官方文档说明,想移除某个快捷键规则,可以在 keybindings.json 里把命令名前面加 -;快捷键规则会根据 keywhen 条件匹配执行。

Logo

欢迎加入DeepSeek 技术社区。在这里,你可以找到志同道合的朋友,共同探索AI技术的奥秘。

更多推荐