Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, this is so much easier than what i’ve been doing:

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



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`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: