diff --git a/config/ghostty/config b/config/ghostty/config index 2bd47abb..85280779 100644 --- a/config/ghostty/config +++ b/config/ghostty/config @@ -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 diff --git a/migrations/1759895423.sh b/migrations/1759895423.sh new file mode 100644 index 00000000..e586063a --- /dev/null +++ b/migrations/1759895423.sh @@ -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