sponsor Vim development Vim logo Vim Book Ad

basic Tip #50: Recovering files

 tip karma   Rating 20/8, Viewed by 1257 

created:   March 14, 2001 14:27      complexity:   basic
author:   Anonymous      as of Vim:   5.7

If your computer has crashed while editing a file, you should be able
to recover the file by typing

      vi -r <filename>

where <filename> is the name of the file you were editing at the time
of the crash.
If you were editing without a file name, give an empty string as argument:

      vim -r ""

To get a list of recoverable files start vim without arguments:

      vim -r


For more information about file recovery refer to:

:help recovery

 rate this tip  Life Changing Helpful Unfulfilling 

<<Switching case of characters | Entering german umlauts >>

Additional Notes

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo