Skip to content

Comment on How to Exit Vimparent

Comments

I feel like you're missing a few esc's and a colon in there...

zz? Only one esc, but definitely a colon. vim is weird. Works for me, but I understand it’s not suitable for everyone’s tastes.

zz centers the screen on the current line. Use ZZ to save the file and quit. Use ZQ to not save but quit.

oh, I love vim! I still hit esc anywhere between 5 and 7 times before typing :wq to save my work.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.