News for hackers. Stuff that matters.

nudome_lata

Re:Vim: ZZ and zz: Do you know the difference? on Monday January 09, 2023 @12:31PM (#34313008)
I'm a long-term emacs user who recently learned vim for fun. Deciding when to exit insert mode has been part of the learning curve.

From insert mode, vim lets you run one command without explicitly switching back to normal mode. :he i_ctrl-o for details. It's very handy for positioning the cursor for more input, for example ctrl-o f)

Also works in evil.