After typed vim ~/.ssh/config
in terminal, then got error message like picture1
what I did for solving
1.push D in the screen to try to delete swap file.but it looks like pointless
2.push r in the screen to confirm swap file.But I don't know how can I delete them.you can the condition in picture2.
please give me the tip how can I remove the error,
You can delete the swap file as suggested
rm /Users/snowman/.ssh/.config.swp
in case you edited the file using a different user (so you have no permission to delete the file) try
sudo rm /Users/snowman/.ssh/.config.swp