Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jfoutz
· 2y ago · 0 comments
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.
Comments
[–]
AnonHP
2y ago
zz centers the screen on the current line. Use ZZ to save the file and quit. Use ZQ to not save but quit.
[–]
squid_ca
2y ago
oh, I love vim! I still hit esc anywhere between 5 and 7 times before typing :wq to save my work.