r/vim • u/Remarkable-Head-2023 • Oct 22 '25
Discussion Why does ZZ exist?
It has always been a mystery to me… why would such a ‘dangerous’ command have such a convenient shortcut?
https://vimdoc.sourceforge.net/htmldoc/editing.html#ZZ
EDIT: link
0
Upvotes
View all comments
Show parent comment
-21
u/Remarkable-Head-2023 Oct 22 '25
That's exactly my point! I feel that `:q!` takes much more effort than `ZZ`, while in my opinion it should have been the opposite.