Hacker News new | ask | show | jobs
by _generic 589 days ago
You can use :wq to do both at the same time.
1 comments

Yes, but that adds one more command.

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