4 ms·
Actually, why do so many people still use :x? Vim has ZZ which does the same thing and saves a keystroke and saving keystrokes is what Vim is about, right?
by Sean1708 9y ago
Actually, why do so many people still use :x? Vim has ZZ which does the same thing and saves a keystroke and saving keystrokes is what Vim is about, right?
- erikb 9y agoI know it was more of a joke, but there are actual reasons not to use ZZ. (1) The difference is small, but one could argue that shift-z shift-z are more like 3.5 clicks, while shift-dot x are certainly 3 clicks. (2) People are used to do a colon before an actual interaction with the editor instead of the text. (3) taste. Even if one argues that both has the same effort then taste is the final decision and there people can be different.
- slazaro 9y agoRegarding (1), ZZ is [hold shift][type zz][release shift], while :x is [hold shift][type :][release shift][type x], so I'd say :x is 1 more action than ZZ, and the timing of the release makes it slower IMO.