Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alt keybindings for ctrl+ins = Copy and shift+ins = Paste (#2870)
On non-MacOS desktop environments (Windows, Gnome, KDE, Xfce, VS Code, ...), `ctrl+ins` and `shift+ins` are system-wide alternate keybindings (except for terminals) for `Copy` and `Paste` respectively. This PR explicitly defines them as such in Ghostty's default keybindings. Using `ctrl+ins` as an alt-keybinding for `Copy` allows static/context-unaware remapping of `Copy` to `cmd+c` for Linux systems using Mac keyboards via [keyd](NixOS/nixpkgs#137698 (comment)); with the default `ctrl+shift+c` keybinding for copy this is basically impossible (because that binding only applies to terminals).
- Loading branch information