The classic key bindings for rougelikes were vi key bindings. So rogue, hack, nethack, moria... Newer games of the genera typically still allow the classic bindings, but not as easily supported.
The 'quiz' program had the data set of 'ed' ( https://github.com/vattam/BSDGames/tree/master/quiz / https://github.com/vattam/BSDGames/blob/master/quiz/datfiles... )
print whole file:1,$p|g/[^|$]/p
So it would print out "print whole file" and you could enter one of: 1,$p
g/^/p
g/$/p
Hunt is also in that repo.