Can I somehow configure Midnight Commander to execute "open %file_name%" command every time when I press Enter? If so, how can I do it?
You could edit the extension file (Menu/Command/Edit extension file). I couldn´t test it on OSX but
Open=(open %f &)
Improvement on UsersUser's answer: Use
%s instead of
%f to be able to open multiple files at once. Refer to the explanation inside the mc.ext config file.
%s -> "selected files", i.e. space separated list of tagged files if any or name of the current file.
regex/\.(.*)$ Open=(open %s &)