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
Earlier comments`git --amend` -> `:wq` is shorter and faster to type than
`git --amend --no-edit`
Is there a way to have vim just go to the open window? Or is there a better way to manage my windows?
(I'm using MacVim if it makes a difference.)
My life just began again. Thank you
It's a 3 finger chord that I use all the time to close vi windows. Makes sense that I'd use it to close the last one too.
All comments shown.
Couldn't load more comments. Check your connection and try again.