brew update
brew 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
F2
to open the menu options - Press
7
to copy the filename - Select the file to be renamed within mc
- Press
F2
to open the menu options - Press
8
to 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.ext
file:nano ~/.config/mc/mc.ext
and add underinclude/video
section:Open=(vlc %f >/dev/null 2>&1 &) # this is going to use the vlc alias set in the .bash_profile
You'll have to scroll down until you find the video section - If the
vlc
alias does not work, until finding a fix, replacevlc
with/Applications/VLC.app/Contents/MacOS/VLC
underinclude/video
section
ln -s ~/.inputrc ~/.local/share/mc/inputrc
CTRL + O to switch between mc ui and subshell