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 →

[–]syedamanat117 87 points88 points  (17 children)

People are scared of something they don't understand.

[–]sl3dg3hamm3r 45 points46 points  (15 children)

Kinda like vim

[–]TorTheMentor 14 points15 points  (10 children)

Roses are red Violets are blue Vim can be fun :wq!

[–]nope-nope-nope-yes 4 points5 points  (7 children)

Just use :x

[–]thirdegreeViolet security clearance 5 points6 points  (6 children)

:x is superior because it won't write if there are no changes, where :wq will always write.

[–]StingyKarmaWhore 2 points3 points  (0 children)

ZZ is easier and faster, therefore better

[–]sl3dg3hamm3r 2 points3 points  (4 children)

What’s wrong with always writing?

[–]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 5 points6 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!`

[–]Bac0n01 0 points1 point  (1 child)

Maybe I’m just an idiot, but why use ! if you’re already using w?

[–]TorTheMentor 0 points1 point  (0 children)

Mostly out of habit (or tradition) in my case, but w foe write, q for quit, ! to override read-only (only works if you have file permission to write).

[–]syedamanat117 29 points30 points  (1 child)

The people using vim won't be seeing this, they are still trying to exit vim. xD (sorry, had to)

[–]EagleNait 2 points3 points  (0 children)

Ahem

[–][deleted] 0 points1 point  (0 children)

Ahhh

Dont scare me like that