Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8168259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:27:45+00:00 2026-06-06T20:27:45+00:00

Using vi I started editing a html file and I accidentally exited out of

  • 0

Using vi I started editing a html file and I accidentally exited out of session, now when I try to edit the file again I receive this message :

E325: ATTENTION Found a swap file by the name “.myfile.swp” While
opening file “myfile.html”
dated: Tue Jul 3 09:55:39 2012

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use “:recover” or “vim -r myfile.html”
to recover the changes (see “:help recovery”).
If you did this already, delete the swap file “.myfile.html.swp”
to avoid this message.

Swap file “.myfile.html.swp” already exists!

Has any damage occured to myfile.html ?

What I think is occuring is that its storing a copy of the opened file when I exited my session (the swap file) ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T20:27:47+00:00Added an answer on June 6, 2026 at 8:27 pm

    From the Vim documentation:

    Vim stores the things you changed in a swap file. Using the original
    file you started from plus the swap file you can mostly recover your
    work.

    The documentation also describes the recovery procedure in case you need it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started using Emacs for editing. When I edit english-language files (like program
Inline editing is started using edit formatter action button. If clicked in other row,
I've started using Sublime Text and it's great. But while editing Wix setup files
I started using Core Data for iPhone development. I started out by creating a
I started using bundler (which is to my eyes a pure disaster). Now I
I have just started using Emacs for the specific purpose of editing latex documents.
I recently started using Eclipse for PHP Development. Please suggest me some HTML WYSIWYG
I started using the system with a pre-made file called DB2.SQL. I am using
I've been using Aptana 3 for awhile, mostly for HTML, CSS and PHP editing.
I started using LINQ (Language Integrated Query) when it was still in beta, more

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.