9
2
First of all I assume those files ending with "~" which are created by vim when editing a file are indeed serving the purpose of temporary backups while editing.
But every time I open a file with vim and close it (:wq) I afterwards find such a file~. Why is vim not cleaning up? I assume there is something not correctly configured.
2They are not temporary backup files; they are the previous versions of the files. In a directory under version control they tend to become a nuisance. – Thorbjørn Ravn Andersen – 2014-03-18T07:55:41.233