Halfway true :3 I’m only a professional programmer which is why I attend in professional work fashion like thigh highs and arm warmers instead of fursuits. I’m more the stereotypical femboy programmer. Pre-edit: am i really just average 3,:
:wq will save and then exit, while :x will save only if the file has been modified and then exit, and then there’s ZZ that does the same as :x, plus there are probably others:-)
I agree that it’s the most obvious choice, but it also doesn’t work when there are hidden buffers open. :qa! and :cq should always work so they are arguably more correct
I’m honestly not super familiar with vim. I tried :q! and it accepted it, what are some other ways?
:q :3
Average furry programmer
Halfway true :3 I’m only a professional programmer which is why I attend in professional work fashion like thigh highs and arm warmers instead of fursuits. I’m more the stereotypical femboy programmer. Pre-edit: am i really just average 3,:
Okay, you are a very cool and sweet femboy programmer :)
Ah, unfortunately it only asks you this question the first time you try it.
!
E37: No write since last change (add ! to override)
:quit!
,:qa!
,ZQ
Ah, thanks for
ZQ
. I only knewZZ
, alternative to:x
.:!killall vim
:wq will save and then exit, while :x will save only if the file has been modified and then exit, and then there’s ZZ that does the same as :x, plus there are probably others:-)
The question specifically asked for “the command to quit Vim without saving”
They explicitly ask for the one that quits without saving, so I’d say :q! is the obvious choice
I agree that it’s the most obvious choice, but it also doesn’t work when there are hidden buffers open. :qa! and :cq should always work so they are arguably more correct
Which means none of those are valid? Since this is specifically “quit without saving”
This guy vims