Deleted the swap file and added .swp files to gitignore.