Swap file “…”already exists

came across this error on my linux computer:

E325: ATTENTION
Found a swap file by the name

and found an article by Richard Bronoski.
He says this is because some process has not properly closed the file down.
So, open the file, type r to recover at the prompt. Save the file as tmp using

:w tmp

Then diff the two files to see what’s changed. Remove the swap file.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>