Vim swap file

From Just Solve the File Format Problem
Revision as of 21:47, 28 December 2023 by Sembiance (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name Vim swap file
Ontology
Extension(s) .swp

Vim swap file is a temporary file created by the open source Vim text editor, when editing a file. The file's name typically begins with ".", and ends with ".swp". The file is normally deleted when editing is complete, but may be left behind in the event of a crash or other abnormal termination.

Its main purpose is to periodically record unsaved changes made to the file. It also serves as a lock file. The file format is undocumented, and not necessarily portable.

Identification

Files begin with ASCII "b0VIM ".

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox