Skip to content

ghostty: make Cmd+V paste work in Supacode#8

Open
maxjerin wants to merge 1 commit into
mainfrom
ghostty-supacode-paste
Open

ghostty: make Cmd+V paste work in Supacode#8
maxjerin wants to merge 1 commit into
mainfrom
ghostty-supacode-paste

Conversation

@maxjerin

@maxjerin maxjerin commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Problem

Cmd+V doesn't paste in Supacode (which embeds Ghostty and reads ~/.config/ghostty/config). Supacode isn't stealing Cmd+V at the app level (no keyCode-9 override in its shortcuts) — Ghostty's clipboard-paste-protection confirm dialog is suppressed inside Supacode, so pastes of multiline/control content silently no-op.

Fix (dotfile_templates/ghostty/config)

  • clipboard-paste-protection = false — skip the suppressed confirm prompt
  • keybind = super+v=paste_from_clipboard — bind Cmd+V explicitly

Verify

  • ghostty +validate-config → exit 0
  • Live via stow symlink at ~/.config/ghostty/config
  • User test: reload Supacode config (restart Supacode, or new window) → Cmd+V pastes

Note: paste-protection off means multiline pastes run without the safety confirm — intended, matches Warp/other-terminal behavior.

🤖 Generated with Claude Code

Supacode embeds Ghostty and reads ~/.config/ghostty/config, but its
paste-protection confirm dialog is suppressed, so Cmd+V on multiline/
control-char content silently did nothing.

- clipboard-paste-protection = false  (skip the suppressed prompt)
- keybind = super+v=paste_from_clipboard  (explicit Cmd+V paste)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant