Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bean469
· 8mo ago · 0 comments
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
Comments
[–]
stonegray
8mo ago
Wow, this is so much easier than what i’ve been doing:
:call system('kill -9 ' . getpid())
[–]
mwcz
8mo ago
Brilliant. When is the next International Obfuscated Vim Exit contest?
[–]
ErroneousBosh
8mo ago
I misread that as "Intentional Obfuscated Vim Exit contest", which led me to wonder what the Unintentional version would bring.
[–]
mwcz
8mo 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.
[–]
ramon156
8mo ago
`:!sudo shutdown`