Skip to content

How to Exit Vim: A Complete Guide for Beginners and Pros

linuxvox.com
2 pointsdxs3 comments
On HN

Comments

Here's what I do:

    :wq[enter]
…then I notice I forgot to press escape and typed that text into the document, so I undo it with this
    [esc][shift+j]
    k[end]dl..
…before finally saving and quitting, the right way:
    [scape]:wq[enter]

"Describe :q in 1,000 words or more"

This article is AI slop but it does illustrate a good point: if articles need to be written on how to do something as simple as exiting the app, it’s poorly designed. They’ve had a very long time to make exiting vim more user-friendly.

AboutSource Built by g1lg1l

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