TECO from the 1960's had more than cut and paste, multiple storage slots called "q registers" (they were named with letters) into which you could put text from the main buffer, and from which you could retrieve it back. Text regions in the buffer were referred to by numeric ranges, some number of characters forward or back relative to the current cursor position, with additional notions such as "here to beginning/end of line" or "n lines back/forward from cursor"
TECO commands were typed in as code, essentially, and that code could also be saved and run as macros.
it was extremely powerful, such that emacs was originally written as TECO Edit MACros.