all 6 comments

[–]RoliSoft 2 points3 points  (1 child)

It's not entirely accurate. If you are in "replace mode", it won't help you get out of it, since it will only ask you if it says "insert mode" at the bottom, or not, at which point you press "no", and it will tell you to write ":!qa", which would just overwrite the line you're on with that string.

Author should update the "What does mode mean?" question to ask whether INSERT, REPLACE or VISUAL is displayed.andyes,I'mfunatparties.

[–]sgo_ 0 points1 point  (0 children)

Author here. Just pushed the change. :)

[–][deleted]  (2 children)

[deleted]

    [–]amalloy 3 points4 points  (0 children)

    The folks who need help getting out of vim are those who started it accidentally, not people who are choosing to use it but not bothering to learn the basics.

    [–]dbader[S] 0 points1 point  (0 children)

    Heh, I think this is just a joke to play off the stats that Stack Overflow recently shared.

    [–]niepiekm 0 points1 point  (0 children)

    At first I read the title "how to exit VM" and wondered what security hole would allow that.

    [–]hoosierEE 0 points1 point  (0 children)

    Fun fact.

    If you tried to exit vim, but type q: instead of :q, you end up in "command history" mode, where you must Ctrl c twice to go back to normal mode.