I frequently use the history drop down in Midnight Commander on Linux via Alt+Shift+h, and it doesn't work. In fact, none of the commands that require Alt do.
1 Answers
There are two options to solve this:
Adjust the terminal settings
Quoting from this post:
The domain for the Terminal app is
com.apple.Terminal. You will need to look for your default Window Setting with the keyDefault Window Settings. Then, based of this, look at the corresponding nested dictionary inside the dictionnaryWindow Settingsand set the keyuseOptionAsMetaKeyto1.Alternatively, instead of using
defaultsin the command line, you can simply go to theTerminal>Preferences...(or type ⌘+,). Then,Profiles>Keyboardand check the boxUse Option as Meta key. Though, this wouldn’t be as fun.Switch to using the other default Meta key: Esc
According the Midnight Commander documentation's Actions and default shortcuts section:
Meta - "Alternate" key, or "Alt", or "Meta", also can be replaced with a single "Esc" or "Escape";
That is, keyboard combinations that require Alt will become a sequence of combos:
The first "combo" is Esc: press and release quickly.
The second combo is the rest. (In this case, it will be Shift+h.)
- 1,128