2

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.

toraritte
  • 1,128

1 Answers1

3

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 key Default Window Settings. Then, based of this, look at the corresponding nested dictionary inside the dictionnary Window Settings and set the key useOptionAsMetaKey to 1.

    Alternatively, instead of using defaults in the command line, you can simply go to the Terminal > Preferences... (or type +,). Then, Profiles > Keyboard and check the box Use 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:

    1. The first "combo" is Esc: press and release quickly.

    2. The second combo is the rest. (In this case, it will be Shift+h.)

toraritte
  • 1,128