Saturday, 7 January 2023

New best story on Hacker News: Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made

Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
474 by manaskarekar | 234 comments on Hacker 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.