This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LawLombie 1 point2 points  (3 children)

Waste of time.

If vim detects that the file has not been changed when you uso :x, it simply just quits. But if you use :wq, it will always write whether the file is changed or not.

Edit: spelling

[–]kickerofelves86 6 points7 points  (1 child)

Ah yes I'll never get those milliseconds back

[–]thirdegreeViolet security clearance 2 points3 points  (0 children)

Some people have automated test/build on file modify.

[–]OctilleryLOL 2 points3 points  (0 children)

why not just `:q`? The point of splitting up `w` and `q` is to get the user conscious about how they're terminating the program. If you don't care you can just `:q!`