Lurker News
`:x` leaves the modification time of files untouched if nothing was changed.

    :help :x
        Like ":wq", but write only when changes have been made.

Comments (270) 59 threads

Earlier comments
t312227#
i have to admit, i heavily prefer

exit & save
ZZ
exit without save
ZQ
these are vi(m) commands, the :x & :wq crap is there for ed-compatibility
but: whatever floats your boat ;))

avgcorrection#
I just use it because it’s shorter.
hwestiii#
How is it that this is news?
thefaux#
Wait, people exit vim?! ;)

Load more comments