:wq
github.com
github.com
https://github.com/search?q=%18%03&type=Code&ref=searchresul...
Second thing: Most all of the ":wq" are in redundant bogus files, many authors knowingly leaving the accidental insertion in. "asdfasdfasdf:wq"
Edit: 6 million of the 7 millions results are in C language - mostly all variable names and library names. In actuality, it seems like only the first 34 pages have any relevant results.
Even if the author forgot to escape insertion mode before issuing the command, they would have realized that vim did not close and that a new line was created.
Anyone jumping on the "this is why vim sux" bandwagon here is biased or incompetent. If this was really an issue for individuals, they could just configure a key combination to to save no matter what mode your in.
HN seems to be becoming pedantic and ignorant in many ways.
And for every person who accidentally committed ":wq" I'll show you some sublime user writing python using tabs, not spaces, for spacing.
Either way, these editor posts are a waste of everyone's time. Use whatever editor you want to use... the community shouldn't bash you for it.
I often use vim and so far almost never accidentaly save ":wq" file.
[0]: http://superuser.com/questions/252214/slight-delay-when-swit...
what is :wq ?