hakluke/how-to-exit-vim

:q

jabbalaci opened this issue · 3 comments

I may not be popular with this comment but could you mention the correct ways too?

:q     quit
:q!    force quit, don't save changes
:wq    write and quit
:x     shorthand for :wq

If a newbie gets here, (s)he may take these insane tips seriously...

Your commands don't really look all that stable tbh, I'd rather use one of the commands listed in this repo tailored to my specific environment.

@ScottKaye How are they unstable? Elaborate.

Troll inside