Oh, yes. I find ed to be excellently usable since the most common code editing operations are (in my perception) well supported in ed:
- moving or copying chunks of code (`m` and `t` commands)
- deleting or replacing chunks of code (`d` and `c`)
- writing new code (`a` and `i`)
- renaming stuff (`s` and `g`)
- and rarely, small edits to existing code (`s` and `C` in hired)As long as you write your code with plenty line-breaks it is often easy to just
replace a line to make the change you want, so `s` and `C` are rarely needed (though I am weak and tend to use `C` quite often, for example to get the indentation right when adding lines).
No comments yet.