question
When using the vim terminal to edit a file, I encountered a prompt: Found a swap file by the name ".credentials.swp"
solve
This is caused by the unexpected exit of the editing file, resulting in a .swp file. At this time, just press the [A] key on the keyboard.
Then, use the following command:
ls -a
Then delete the .swp file
rm -rf .credentials.swp