Hacker News new | ask | show | jobs
by thosakwe 2692 days ago
Hot take: Vim should include a simple “Type :qa!<enter> to quit” line in its startup message. Something makes me think it would clear up a lot of confusion for first time users.

EDIT: I notice now that it has a “Type :q to exit.” I never noticed that before, and I use Vim most days, so I can see how others might miss it too.

3 comments

In this particular SO question, the asker has already read the "Type :q to exit" message, but it isn't working as they're already in Insert mode.

Really it should be "Type <Esc>:q to exit"

Type <Esc>:qa! to exit
It does this when pressing control+c (a common kill key combo)
I notice on the macbook if I type vi or vim in the console I do get a " type :q<Enter> to exit "

However I usually got thrown into it from a 'git commit' which I don't thing has any such help.