Re:More developers use Linux than Mac, according to 2022 Sta...
by Jtsummers on Wednesday December 28, 2022 @01:57PM
(#34164392)
That's because macOS (thanks to its NeXT origins) incorporates emacs keybindings throughout most text fields by default.
Re:More developers use Linux than Mac, according to 2022 Sta...
by nicpottier on Wednesday December 28, 2022 @02:05PM
(#34164511)
This is a weird but so so killer feature to me. Our lives are constantly about text editing in one way or another, having all the usual ways of navigating text available across the entire OS is the best feature of all.
Re:More developers use Linux than Mac, according to 2022 Sta...
by yamtaddle on Wednesday December 28, 2022 @02:42PM
(#34164977)
Ditto, having consistent and useful text-editing keybindings in ~all fields (that use the native toolkit, at least) was something I didn't know I needed until I experienced it. Anything that's (even) less consistent than the real-world experience of that on MacOS feels... wrong, now.
Re:More developers use Linux than Mac, according to 2022 Sta...
by kitsunesoba on Wednesday December 28, 2022 @04:07PM
(#34165961)
I use this feature frequently too, but the downside is that it makes non-native textboxes stick out like sore thumbs because they don't implement it.
In fact, this is common to a lot of little poweruser features on macOS, and I think is a big driver of distaste towards non-native apps by long-time Mac users.
Re:More developers use Linux than Mac, according to 2022 Sta...
by katbyte on Wednesday December 28, 2022 @03:04PM
(#34165229)
> In Mac, Ctrl+A goes to the beginning of the line
huh TIL! and Ctrl+E goes to the end. amazing thanks
Re:More developers use Linux than Mac, according to 2022 Sta...
by Jtsummers on Wednesday December 28, 2022 @05:53PM
(#34167123)
C-t swaps adjacent characters
C-b/f move backward/forward a character
C-p/n move up/down a line
C-k kills (cuts) to the end of the line
C-y yanks (pastes) what was killed (but does not use the same clipboard as Cmd-c)
C-h deletes backwards one character
C-d deletes forward one character
Probably more, but that about covers the ones I use.
Because Ctrl+T swaps the two characters around the cursor, which is what it should do in a terminal (and in Mac OS, it does this in all text boxes in all applications). Mac OS is actually remarkably consistent about all of this. In Linux, Ctrl+A goes to the beginning of the line in a terminal, but it selects all text in other applications. In Mac, Ctrl+A goes to the beginning of the line, everywhere.