Can I configure Vim so it does an atomic write?
The default Vim behavior is:
file.txt
to file.txt~
file.txt
But this causes some problem with compass watch
for example
I would like behavior like:
file.txt~
file.txt~
to file.txt
I've looked at the backup, backupcopy and writebackup options but I can't get Vim configured as I want.
:set backupcopy=yes
is probably what you want.
You could also use the `backupskip' option on the paths you are particularly worried about.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With