I have few laptops lying around. I wonder if there is some kind of Linux distribution or some other way to transform laptop into a digital typewriter. No internet, no applications, only a decent text editor (Emacs perhaps).
Set up your init system to not start a GUI. It will give you a text mode login prompt. Configure it to have the typeface and size that you like. Run your editor of choice -- emacs and vim certainly don't need net access. Remember to mount a USB stick to save backup copies every so often.
You asked for a decent editor, not a kitchen sink, so I’ll stop here without touching on Emacs.