Make shift + insert paste from clipboard in ghostty

This commit is contained in:
Ryan Hughes
2025-10-08 00:18:11 -04:00
parent f701cf7c6d
commit 4365a52a08
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ shell-integration-features = no-cursor
# Keyboard bindings
keybind = f11=toggle_fullscreen
keybind = shift+insert=paste_from_clipboard
# SSH session terminfo
shell-integration-features = ssh-env

3
migrations/1759895423.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Make shift+insert paste from clipboard"
sed -i '/keybind = f11=toggle_fullscreen/a keybind = shift+insert=paste_from_clipboard' ~/.config/ghostty/config
sed -i 's/{ key = "F11", action = "ToggleFullscreen" }/{ key = "F11", action = "ToggleFullscreen" },\n{ key = "Insert", mods = "Shift", action = "Paste" }/' ~/.config/alacritty/alacritty.toml