Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
537 points`: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 3 of 59
https://news.ycombinator.com/item?id=34288446
\s
Been using :x from the start about 4 years ago and I never accidentally encrypted a file.
Continue this thread — 2 replies
https://www.programmerhat.com/vim-zz/