Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
8  
Awesome question! I'm google for it twice a week :D – Kirill Oct 11 '11 at 18:01
2  
@Kirill Me too :) And all the shortcuts are listed in manual page (man mc). – dhill Apr 2 '12 at 15:58
up vote 34 down vote accepted

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.

share|improve this answer
10  
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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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