Vim Backup Files vs Swap Files: Should Vim Auto‑Delete Backups After Recovery?
The goal is to confirm that the data recovered by Vim after a crash matches the edits intended by the user, while ensuring that the backup file created by the 'backup' option no longer contains the pre‑edit state. When 'backup' is enabled, Vim creates <file>~ before writing the new content, and a swap file ( <file>.swp ) holds the in‑memory chang