What the heck?

So you are looking for the standard UNIX text editor? Look no further... get yourself

if your System does not come with ed. YES I'm looking at you Kali!
Anyway, we all know if it does not have ed preinstalled, it's not UNIX.