Open file in Midnight Commander directly from console?

1.6k views Asked by At

I mean without launching MC.
Like "vi somefile", but in MC editor.

2

There are 2 answers

0
jor On BEST ANSWER

mcedit is the 'standalone' internal editor of midnight commander

0
eumiro On

Check man mc:

  -e [file], --edit[=file]
          Start the internal editor.  If the file is specified, open it on
          startup.  See also mcedit (1).