Aztec-C on the Apple II had a vi editor that ran on a 64K machine, but you had to exit it before you could run the compiler.

> vi editor [...] you had to exit it

I didn't know that was possible.