News for hackers. Stuff that matters.
Re:More developers use Linux than Mac, according to 2022 Sta... by Jtsummers on Wednesday December 28, 2022 @02:14PM (#34164631)
Shortcuts are actually pretty consistent on macOS. In text fields, the Control-<char> and Option/Meta-<char> bindings mostly correspond to emacs keybindings, as is the default for most shells as well in the terminal. C-a/e for going to the beginning/end of a line, for instance.

All the CUI-style bindings like Windows' and Linux's Control-c for copy are done using Command instead. It's a change, sure, but a minor one that also deconflicts many bindings. How do you copy in the terminal on Windows and Linux? If it's C-c, how do you send sigint? How do you select all in a terminal if C-a defaults to going to the start of a line?

Most of the remaining inconsistencies or confusing bindings (Cmd-y for history in Safari) are a consequence of too many bindings. Cmd-h is already taken for hiding the current application and is a useful mnemonic across many applications, whereas Cmd-h[istory] is useful for a limited number of applications, and it would be inconsistent for those applications to override the system default.

There are no comments on this comment yet.