Hacker News new | ask | show | jobs
by sshine 589 days ago
It’s one third of what you’ll ever need to use Vim:

  i
  <Esc>:w
  :q
3 comments

You can use :wq to do both at the same time.
Yes, but that adds one more command.

You can also do ZZ instead of :x, if you're playing keystroke golf.

Vim added :x though it doesn't exist in Vim
doesn't exist in vi
It's been reduced to q in lazyvim, at least at the intro screen.