I have a vague memory of using EDLIN, and finding it much more usable than ED on CP/M. I didn't use ED much - as you say, Wordstar did the job, and that applied on CP/M as well.