Remix.run Logo
mklein994 a day ago

It's actually a bit more nuanced: `:x` is like `:wq`, but only writes if changes have been made. `:x!` has the same semantics as `:wq!`.

BoiledCabbage 21 hours ago | parent | next [-]

The fact that everyone says the meme is dead, but in this small thread there are 5 different people posting how to exit, and none of them are the same says there is still pretty good substance behind that meme.

Brian_K_White 18 hours ago | parent [-]

I think we're all kind of implicitly acknowledging the truth of the meme. I mean that was definitely a conscious part of my own comment.

humanperhaps a day ago | parent | prev [-]

I feel like the default behavior should be to not write unless changes have been made. I may be misunderstanding here, but what would be getting written if nothing's been changed?

johannes1234321 a day ago | parent | next [-]

It would overwrite changes made by external programs.

greiskul a day ago | parent | prev [-]

Metadata about the file like modification time.