Y
Hacker News
new
|
ask
|
show
|
jobs
by
bean469
87 days ago
My favorite big-brained way of quitting is ZZ (save and quit) and ZQ (quit without saving). Learned these shortcuts from a video by the legendary Luke Smith [1].
1.
https://lukesmith.xyz
1 comments
stonegray
87 days ago
Wow, this is so much easier than what i’ve been doing:
:call system('kill -9 ' . getpid())
link
mwcz
87 days ago
Brilliant. When is the next International Obfuscated Vim Exit contest?
link
ErroneousBosh
87 days ago
I misread that as "Intentional Obfuscated Vim Exit contest", which led me to wonder what the Unintentional version would bring.
link
mwcz
86 days ago
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.
link
ramon156
86 days ago
`:!sudo shutdown`
link
:call system('kill -9 ' . getpid())