When I first started my Linux journey about 23 years ago, I only ran it in text mode, since my computer didn’t have the disk space for X. I remember using Vim, and whenever I wanted to close it I would hit Alt-F4, which of course performed a VT switch.
When I inevitably launched Vim again on VT4 and wanted to close it, I obviously coudn’t, but I got the idea that Alt-F5 was a more powerful Alt-F4, so I used that.
After that I figured I was stuck and rebooted the machine.
<C-z>
kill %[1] + suspended (tty output) vim
and then you just press the power button
If you think vim is bad for this, try
dte
:PMan I’m still like this, I don’t use it enough
I’m just happy it’s not just me
So true. Nuke it from orbit. It’s the only way to be sure.
:!pkill -9 vim
?
That’s
ed
.
This is true every time I go back to vim and promptly forget every keybind