Setting up Midnight Commander in OS X
Install: brew install mc
By default, the Meta key is Escape. Often that’s quite inconvenient, because when you use Escape to close dialog windows, it interferes with meta commands and often undesired character sequences get written to the console. So what I prefer to do is to “disable” Escape as Meta key by setting a very small timeout for meta key sequences via: MC->Options->Configuration->Esc key mode->Single press and Timeout to 1 (that is in ms, I guess). Then we can enable Option as Meta key in the Terminal settings: `Use Option as Meta key`.
A very useful shortcut is Ctrl+s: it lets you to quickly search and jump to a directory. However, by default it is case sensitive. So I prefer setting it to case insensitive at: MC->Options->Panel Options->Quick search->Case insensitive
Other useful settings: Execute and Quit confirmations to off.
As for the panels, I prefer using the default user defined listing mode of "half type name | size | perm“. You can set it in Left/Right Menu->Listing Mode
Usefult shortcuts:
Ctrl+s/Meta+s: Quick jump to file/directoryMeta+?: Search panelCtrl+Space: Show directory sizesMeta+c: Quick cdCtrl+\: Directory hotlist- Meta+.: Toggle display of hidden files
- Meta+Shift+=: File selection dialog (same as Meta+Numeric ’+’)
- Ctrl+t: Select/deselect file/directory
- Meta+t: Shuffle panel listing mode