From ecc67de1254418efb13c0f4c0e3aef9a11cf9d92 Mon Sep 17 00:00:00 2001 From: Jerin Mathew Date: Sun, 5 Jul 2026 21:02:39 -0400 Subject: [PATCH] ghostty: make Cmd+V paste work in Supacode 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) --- dotfile_templates/ghostty/config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dotfile_templates/ghostty/config b/dotfile_templates/ghostty/config index b6ec501..c114907 100644 --- a/dotfile_templates/ghostty/config +++ b/dotfile_templates/ghostty/config @@ -66,6 +66,11 @@ scrollback-limit = 10485760 # ----------------------------------------------------------------------------- copy-on-select = clipboard +# Cmd+V paste: Ghostty's paste-protection prompt is suppressed inside Supacode, +# so pastes with newlines/control chars silently do nothing. Disable it so +# Cmd+V pastes directly (the super+v keybind is set in the Keybindings section). +clipboard-paste-protection = false + # ----------------------------------------------------------------------------- # URLs # ----------------------------------------------------------------------------- @@ -85,6 +90,9 @@ quit-after-last-window-closed = true # Cmd+N (new window), Cmd+1-9 (tab switching), Cmd+Enter (fullscreen) # ----------------------------------------------------------------------------- +# Paste (Cmd+V) — explicit so it works in Supacode's embedded Ghostty +keybind = super+v=paste_from_clipboard + # Split panes (Warp: Cmd+D → right, Cmd+Shift+D → down) keybind = super+d=new_split:right keybind = super+shift+d=new_split:down