Hacker News new | ask | show | jobs
by dlcarrier 109 days ago
It's easy. If you want to save and quit, all you have to do is type this:

    :wq[enter]
…then notice you typed that text into the document and undo it with this

    [esc][shift+j]
    k[end]dl..
…before finally saving and quitting, with this, again:

    :wq[enter]