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

Show all comments

Showing thread 21 of 59

mzzter#
TIL that :wq is like :x

I only knew about :x. So thus far I’ve only edited with :x, and then used :q! to quit without writing the changes.