Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh...
by JelteF on Saturday January 07, 2023 @02:05PM
(#34291415)
ZZ is only 3 keystrokes as opposed to 4 for :x (shift + z + z = 3 and shift + ; + x + enter = 4). It also doesn't require timing the release of shift before the press of x.
[ Parent
| on HN ]
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh...
by pkulak on Saturday January 07, 2023 @11:16PM
(#34295956)
Wow! Never knew that existed. If I can undo 20 years of muscle memory, I'll use it. :D
EDIT: Just tried it, and Z being right next to Shift is a deal breaker.