Early versions (3?) could fit an amazing editor, assembler, compiler, debugger and whole IDE in just 120kb(!!!) of disk space.
Vim looks pathetic in comparison to it...
I have a small collection of "curated" CP/M software, which works alongside a CP/M emulator I wrote:
https://github.com/skx/cpm-dist
The distribution of Borland's Turbo Pascal v3.01A is approximately 180k.
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.