Keys that reach the shell
A Meta key that works, Option on macOS included, AltGr left alone for the layouts that need it, and the scrollback and paste keys a Linux hand reaches for.
- Meta that works. Alt sends
ESCand the key, so readline’sM-f,M-bandM-dmove and delete by word. On macOS, Option is a compose key (Option+F typesƒ), and Termina sends the key itself, not an escape followed byƒ. Settings → Terminal → Input → Use Alt as Meta turns it off when you want Option to compose. - AltGr left alone. On Windows and Linux AltGr arrives as Ctrl+Alt, and layouts use it for
@,{and€. What it composes reaches the shell as typed, and dead keys and input methods work. Ctrl+Alt+lettersends Meta over the control byte, readline’sC-M-f, when it is the plain letter and not an AltGr character.- The Linux reflexes.
Shift+Insertpastes,Ctrl+Insertcopies, and middle-click pastes the clipboard. - Scrollback from the keyboard.
Shift+PageUp,Shift+PageDown,Shift+HomeandShift+Endmove through the history, and go to the program instead on the alternate screen, wherelessuses them. TabandEscalways go to the shell.Escdoes not leave full screen, so in vim it leaves insert mode.
See Keyboard.