In Midnight Commander, how to quickly set the right panel to the same directory as the left panel (and vice versa)?


Newer versions of Midnight Commander use Alt-o (also ESC followed by o) to do this.

Older versions used Alt-o for doing a change directory to the currently highlighted directory, so it will depend on which build you are using.

  • 33
    Version 4.8.3 (at least) now uses Alt-i to switch the other panel to the same folder as the current panel. See man mc for more. – SabreWolfy Aug 13 '12 at 18:27

AltO opens the directory your cursor is on.

AltI opens the active panel's directory on the other panel.

Tested on MC 4.7


For me in iTerm2 the Esc i (First press esc and after press i not in the same time) is working well on my mac,

  • 1
    Works fine on other Mac terminals, like KiTTY. – Leśny Rumcajs Oct 1 '19 at 11:40
  • Xshell and other related terminals couldnt give respond to `alt´ key, since its surpressing its own shell. Good solution. – CtnDev May 18 '20 at 8:27

For os x terminal:

Press ⌘ command+⌥ option+o, you will see 'Option is Meta'.

Now ⌘ command+i works.


Basically combination is Meta+i. Some OS installations and probably some terminals have different settings regarding Meta key. On all my machines it is Esc, but I've heard from colleagues that they have it mapped to alt or option key.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.