4 ms·
As lovely as this diagram is, are there any explanations as to why these are the characters used? I know a few of them but don't see any overall pattern. Is the
by petercooper 9y ago
As lovely as this diagram is, are there any explanations as to why these are the characters used? I know a few of them but don't see any overall pattern. Is there a logic to it, or do you just have to memorize it?
Update: Never mind. Turns out alt+most keys on macOS just types special characters, making the ones I didn't know useless to me anyway :-D
- falcolas 9y agoTo your original question: They're emacs bindings. Back and Forward, Word, and such. Not all make perfect sense, but there are mnemonics. For the update - this is a problem with the built-in terminal. You can use iTerm and get the expected (within a terminal) key bindings, or remap the option binding within its preferences panel.
- ken 9y agoFrom Emacs: F/B are forward/back, D=delete, K=kill. E=end, and A was probably used because S was already Search. W=word, maybe? Not sure how U came about here (it's something different in Emacs). BTW, if you're using Terminal.app, you have to explicitly enable "Use Option as Meta key" in the preferences.
- hoosieree 9y ago^H comes from ASCII.
- kreetx 9y agoMany if not most are from emacs. As to why I have no clue, but could be for historic reasons, i.e no overarching logic. Bash also has a vim mode which makes sense to use for vim users. This connection with the editor really helps a lot.