I can recommend Michael W Lucas new book Ed Mastery. Once I had only /bin available and vi was in /use/bin. I wish I had read that book before. Ed is more useful than I thought.

https://www.michaelwlucas.com/tools/ed

Niels Kobschätzki @nielsk