Remove undo and swap files.
Try to resolve git seeing an error when vim exits