Hacker News new | ask | show | jobs
by stonegray 74 days ago
Wow, this is so much easier than what i’ve been doing:

:call system('kill -9 ' . getpid())

2 comments

Brilliant. When is the next International Obfuscated Vim Exit contest?
I misread that as "Intentional Obfuscated Vim Exit contest", which led me to wonder what the Unintentional version would bring.
Haha, my version of that is accidentally closing a split when I meant to drop a buffet, or vice versa, losing either my work or my layout.
`:!sudo shutdown`