Hi,
Would it be possible to make Vim overwrite a backup file only if
the buffer was actually modified? Look at the following scenario:
1. I edit file foobar.txt, make some change and save it.
-> the backup file foobar.txt~ is created
2. I edit again foobar.txt, but this time I don't make any change.
I do however write the file with ':w' by mistake...
-> the backup file foobar.txt~ is replaced and both files
have now the same content.
If there is some problem in replacing the current behaviour, could it
maybe be an option?
Thanks,
David
--
David Schweikert | phone: +41 44 632 7019
System manager ISG.EE | walk: ETH Zentrum, ETL F24.1
ETH Zurich, Switzerland | web: http://people.ee.ethz.ch/dws