Did you know Emacs is self-documenting? Next time, try CTRL-H. After a few seconds, a prompt will give you clues as to what to try next. E.g. A (βaproposβ) to search for a command, C to explain a keystroke etc.
It's just :wq! -> Spin twice in the chair -> cross your fingers -> turn your head up, pick up the baseball bat -> hit the keyboard hard trying to hit the Enter key (while repeating Β«Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagnΒ»). Easy.
NGL, most of were pretty much there once. I installed slackware pre-internet, pre cell phone. I had printed out a couple of pages of help. The instructions were to edit the file with Vi, I couldn't figure out [esc]: 10 minutes of no edit no exit, powered off. Didn't come back for over 5 years.
If you can't quit vim, then you probably started it by accident and at this point you have probably pushed a bunch of buttons and accidentally edited the empty opened file. The (!) is to force it to do the command even though you work is not saved. So :wq! would be redundant.
Comments
I am alarmed that I am the first one posting this
I like to keep the work I've done.
Ctrl + C *presses harder
Ctrl + C *even harder
Ahh