3 ms·
Interesting. I kind of paused when I wrote "never" because it's of course possible for a terminal to bind control-keys to arbitrary actions, but every terminal
by xenomachina 8y ago
Interesting. I kind of paused when I wrote "never" because it's of course possible for a terminal to bind control-keys to arbitrary actions, but every terminal I've ever used on *nix (including Mac and Linux) just passes control-keys through by default. It's possible that some of them allow such bindings as an option, but I've never checked because I need to be able to send literal control-C and control-V to applications I run in the terminal. (Control-C is of course "break", and control-V is used in vim a lot.)
This is one of the cases where I think the Mac approach happens to work out better than Linux (or Windows): by using ⌘ instead of control as the default shortcut modifier, there's no ambiguity about whether I'm talking to my terminal (copy, paste, spawn new window, etc.) or trying to send a control character. I don't know why the Linux community defacto-standardized on control keys rather than Super (or even Alt), given the high proportion of Linux users who are also terminal users.