3 comments

[ 0.28 ms ] story [ 26.9 ms ] thread
"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.
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]