Gah. I never used ZZ, despite using zz all the time, so I went to my editor and started hammering the Z key and ended up closing most of my files.
Well played. This is a nice way to check whether you read the article first or last.
What's up with thirty different ways to exit vim? ZZ, :q, :wq, :x, good lord! Vim must be the most effective editor as long as you want to not use it. :)
It really should use two hands since z is a left pinky key (on qwerty, colemak, workman, qgmlwb) and left shift as well (so you should use right shift with it), but I'm aware many people don't use their right shift key. I only learned to a few years ago when relearning to type anyway.
:wq is still :q, just saving before exiting. The flavors are just different ways to deal with changes, with ZZ (:x) and ZQ (:q!) being aliases to the most useful ones.
This is not unique to vim, other editors handle it with prompts and buttons.
Well played. This is a nice way to check whether you read the article first or last.
What's up with thirty different ways to exit vim? ZZ, :q, :wq, :x, good lord! Vim must be the most effective editor as long as you want to not use it. :)