News for hackers. Stuff that matters.
Re:Vim prank: alias vim='vim -y' by vidarh on Friday January 07, 2022 @09:37AM (#29839557)
Ah. Yikes. But randomly bashing a few keys with control held before ^z still worked for me... Random key-bashing is always a good bet if stuck in vim.

(yes, I can usually get out of vim "properly" these days)

Re:Vim prank: alias vim='vim -y' by nostoc on Friday January 07, 2022 @09:54AM (#29839745)
Random key bashing in vim can have a lot of unforeseen consequences for whatever poor file you had opened.
Re:Vim prank: alias vim='vim -y' by vidarh on Friday January 07, 2022 @10:54AM (#29840558)
Given I never intentionally start vim, it's generally when I get thrown into editing some temporary file or other on some system where I haven't configured an editor. Not done any harm in the last 3 decades, so I think the odds are decent.
Re:Vim prank: alias vim='vim -y' by fomine3 on Friday January 07, 2022 @03:01PM (#29843967)
If you open any file and just type "DZZ" (in capital), you delete the first line of file and save and quit.
Re:Vim prank: alias vim='vim -y' by vidarh on Saturday January 08, 2022 @10:37AM (#29852627)
Even if I'd have done that, with the type of things I now and again end up accidentally thrown into vim for, that would hardly matter.