In Midnight Commander, how to quickly set the right panel to the same directory as the left panel (and vice versa)?
6 Answers
AltO opens the directory your cursor is on.
AltI opens the active panel's directory on the other panel.
Tested on MC 4.7
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.
-
36Version 4.8.3 (at least) now uses
Alt-i
to switch the other panel to the same folder as the current panel. Seeman mc
for more. Commented Aug 13, 2012 at 18:27 -
on one of my machines (Version 4.8.29) alt-o doesn't work, but Esc-o works, to load the currently selected directory to the second panel (despite being said in man) Commented Jul 18, 2023 at 12:05
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
-
Xshell and other related terminals couldnt give respond to `alt´ key, since its surpressing its own shell. Good solution. Commented May 18, 2020 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.
Same directory in another panel Ctrl+Left/Right
-
2This does nothing on my machine. And please add some detail to your answers. Where did you try this? On what system? What was it supposed to do exactly?– terdon ♦Commented Jul 17 at 10:17