Found a swap file by the name “.credentials.swp“

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

 

Guess you like

Origin blog.csdn.net/weixin_41829196/article/details/131254806