brew updatebrew install mc
Copy the menu file from the project into ~/.config/mc/
- Copy Filename
- Copies the selected filename to clipboard
- Update Filename
- Renames the selected file using the filename copied in the clipboard
- Preserves the selected file extension
- Select a file with mc then press
F2to open the menu options - Press
7to copy the filename - Select the file to be renamed within mc
- Press
F2to open the menu options - Press
8to rename the file
- Create a vlc alias in your
~/.bash_profile:alias vlc='/Applications/VLC.app/Contents/MacOS/VLC' - Make a symlink to get access to env vars and aliases in mc subshell:
ln -s ~/.bash_profile ~/.local/share/mc/bashrc - Make a symlink with the
mc.ext:ln -s /usr/local/Cellar/midnight-commander/4.x/etc/mc/mc.ext ~/.config/mc/mc.ext - Edit
mc.extfile:nano ~/.config/mc/mc.extand add underinclude/videosection:Open=(vlc %f >/dev/null 2>&1 &) # this is going to use the vlc alias set in the .bash_profileYou'll have to scroll down until you find the video section - If the
vlcalias does not work, until finding a fix, replacevlcwith/Applications/VLC.app/Contents/MacOS/VLCunderinclude/videosection
ln -s ~/.inputrc ~/.local/share/mc/inputrc
CTRL + O to switch between mc ui and subshell