Hacker News new | ask | show | jobs
by vincent-manis 589 days ago
OK, since we're wasting our time on the Pointless Editor War, I shall confess I know exactly one thing about Vim, the command `:q!'. That's all I've ever needed to know.
2 comments

<shift> z z

Much quicker exit ;)

It’s one third of what you’ll ever need to use Vim:

  i
  <Esc>:w
  :q
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.