@bram In case anyone reading this gets stuck in vi (or vim or any of the other clones), I have a helpful guide for getting out:

liw.fi/vi/