The Midnight Commander… editor?

Software

Midnight Commander editor

This shows my own ignorance, but did you know the Midnight Commander I talked about recently (If you've never tried Midnight Commander…) also comes with it's own fully featured editor? I've been using MC for years and never knew this!

To edit a file with the Midnight Commander editor, invoke it with the e option:

% mc -e [filename]

The key commands are similar to Midnight Commander's file management mode and are presented along the bottom of the screen, and a convenient bar along the top lets you know the current line and character position of your cursor amongst other things. Hitting [F10] brings up up an easy to use menu system.

I won't be giving up on my beloved Vim and nano editors any time soon, but using an editor with a blue background, grey text and menus is a nice DOS nostalgia trip!

Author bio and support

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!