Joseph Kreifels II
Nov 1 · 1 min read

I feel offended when every complains and/or jokes about not knowing how to close vim. It’s simple

q = quit
w = write
qw = save-and-quit

Just press escapade to exit insert mode. Then press : (shit+;) to enter the option mode, then enter the above.

Note, some files can’t be saved over, and sometimes you can’t simply quit because you have unsaved changes. To get past this safeguard, in most cases you ca use a “!” with your command.
q! = force quit
w! = force write
wq! = force save-and-quit

    Joseph Kreifels II

    Written by