Vim swap file
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Temporary files |extensions={{ext|swp}} }} '''Vim swap file''' is a temporary file created by the open source ''Vim'' text editor, ...") |
m (Added file samples) |
||
Line 10: | Line 10: | ||
== Identification == | == Identification == | ||
Files begin with ASCII "{{magic|b0VIM }}". | Files begin with ASCII "{{magic|b0VIM }}". | ||
+ | |||
+ | == Sample files == | ||
+ | * {{DexvertSamples|other/vimSwap}} | ||
== Links == | == Links == |
Latest revision as of 21:47, 28 December 2023
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.
[edit] Identification
Files begin with ASCII "b0VIM
".
[edit] Sample files
[edit] Links
- Vim website
- Vim documentation related to swap files
- ls.swp - A script to partially decode swap files. Includes some notes on the format.