Currently Available: Need a skilled Software Developer for your next project?
Categories
Claude Code Guides OpenAI Codex

Enable Image Paste for Claude Code and Codex CLI in the VS Code Terminal

If you run Claude Code or Codex CLI inside the VS Code integrated terminal, image paste often doesn’t work because VS Code grabs Ctrl+V to paste text into the terminal. These tools need to receive Ctrl+V themselves so they can interpret it as “paste image from clipboard”.

Fix: let Ctrl+V reach the terminal app

Open VS Code → Keyboard Shortcuts (Ctrl+K Ctrl+S) → click the {} icon to edit keybindings.json and add these entries (strict JSON, no comments):

[
  {
    "key": "ctrl+v",
    "command": "-workbench.action.terminal.paste",
    "when": "terminalFocus && terminalProcessSupported"
  },
  {
    "key": "ctrl+shift+v",
    "command": "workbench.action.terminal.paste",
    "when": "terminalFocus && terminalProcessSupported"
  }
]

What this does:

  • Ctrl+V is no longer handled by VS Code → it reaches Claude Code / Codex CLI, enabling image paste.
  • Ctrl+Shift+V remains available for normal text paste.

Quick check

In the VS Code terminal run:

cat

Press Ctrl+V. If you see ^V, VS Code is no longer intercepting it (good). Press Ctrl+C to exit.

What I'm building

Delegate tasks. Get software.

Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.

Take a look at vroni.com

Email updates

Usually a new article and a few links I found interesting.

No spam. Unsubscribe with one click.

Leave a Reply

Your email address will not be published. Required fields are marked *