3 ms·
I believe these work because of readline, and the standard text controls in MacOS use readline... Learning keyboard shortcuts is very beneficial, at least in c
by blunte 9y ago
I believe these work because of readline, and the standard text controls in MacOS use readline...
Learning keyboard shortcuts is very beneficial, at least in cases where you often do the same things. CMD or Ctrl L is one of my favorites (jump to address text box in most browsers).
It's a bit like coffee^h^h code (wow, autocorrect) optimization; a few improvements in a few places can save an immense amount of work or time.
- c256 9y agoThe standard text boxes on macOS don’t use readline, they use NSText*, which happens to implement similar things to the defaults for readline (because they were created by people who used Emacs a lot, and readline defaults to Emacs style). This is really only important because readline customizations won’t affect macOS text boxes — but it will affect readline programs on macOS, including bash.