Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh...
by cyberge99 on Saturday January 07, 2023 @09:23AM
(#34288193)
Shift Z Z will instantly save and exit, same as wq!
[ Parent
| on HN ]
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh...
by ergonaught on Saturday January 07, 2023 @09:30AM
(#34288256)
I just tried this and I think that in 40ish years of typing on computer keyboards, this is the most difficult thing I've ever typed. And I use emacs.
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh...
by amalgamated_inc on Saturday January 07, 2023 @09:50AM
(#34288463)
What do you mean? Super easy and fluid, I've been doing it for about a decade. Left pinky on left shift, left middle finger (you could try ring I suppose) on zz, tap twice.
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh...
by ergonaught on Saturday January 07, 2023 @10:48AM
(#34289106)
I mean pretty much what I wrote. It's literally the most difficult thing I've ever typed on a keyboard.
Blame my hand geometry or the keyboard or muscle memory or 10,000 other things, I just noted it was super hard and unnatural for me to type that. (The downvoting on that is pretty epic, though.)
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh...
by amalgamated_inc on Saturday January 07, 2023 @04:05PM
(#34292778)
So weird, I literally never, ever typed :wq ever again after the first time I experienced the smooth bliss of ZZ. Maybe you're right about hand geometry and it's just for me. It's satisfying in the way that whacking ESC is, but smoother and gentler.