Wednesday, December 2, 2009

Midnight Commander File Shortcuts

2009-11-21

In the Midnight Commander (MC) command line you can use the shortcuts %f for the file selected in the active tab and %F for the one in the opposite tab, e.g. echo %F.

Update 2009-12-02: of course, even more important might be the midnight commander shortcut of '%D' for the other tabs directory (and vice versa '%d' for the current directory).