Can I configure Vim so it does an atomic write?
The default Vim behavior is:
- move
file.txttofile.txt~ - write buffer contents to
file.txt
But this causes some problem with compass watch for example
I would like behavior like:
- write buffer contents to
file.txt~ - move
file.txt~tofile.txt
I've looked at the backup, backupcopy and writebackup options but I can't get Vim configured as I want.