Remix.run Logo
bean469 2 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

stonegray 2 days ago | parent [-]

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

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

mwcz 2 days ago | parent | next [-]

Brilliant. When is the next International Obfuscated Vim Exit contest?

ErroneousBosh 2 days ago | parent [-]

I misread that as "Intentional Obfuscated Vim Exit contest", which led me to wonder what the Unintentional version would bring.

mwcz 2 days ago | parent [-]

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 2 days ago | parent | prev [-]

`:!sudo shutdown`