▲ | sureglymop a day ago | |||||||
Actually, on macOS you have the same shortcuts as gnu readline in any text editing field. You have these same shortcuts in bash, zsh, the python repl, html form fields, etc. And anything that doesn't use gnu readline can be wrapped in rlwrap. Note that copying and pasting is an exception. Otherwise, navigating words with shortcuts seems to fairly universally use these shortcuts. | ||||||||
▲ | MangoToupe a day ago | parent | next [-] | |||||||
They're really emacs keybindings that readline adopted if I may be allowed a small amount of pedantry. | ||||||||
| ||||||||
▲ | culebron21 a day ago | parent | prev | next [-] | |||||||
My experience on MacOS is that every program has different shortcuts regarding text editing. Home/End/PgUp/PgDn on my external keyboard just not working, and if added to system settings, they still don't work in some apps, Ctrl+Left sometimes working sometimes not, etc. And what Ctrl/CMD/Shift keys do together looks very random, no logic in it. Like, Ctrl+Left in Zsh scrolls the entire log to top, rather than move the cursor to the start of the line. I use zsh, slack, Chromium, SublimeText and Zed on Mac. | ||||||||
▲ | kule a day ago | parent | prev [-] | |||||||
Yep, which is really handy. I was specifically talking about copy and paste shortcuts being the same even in the terminal though. |