ASE
ASE

Reputation: 1850

vim recover a deleted swap file

I deleted the swap file and lost the modifications. The *.bash file returned to its original version. Is it possible to undo delete of the swap file (i.e., recover or restore the deleted *.bash.swp file)?

Upvotes: 1

Views: 1537

Answers (1)

jeremysprofile
jeremysprofile

Reputation: 11425

No, this is not possible, unless your OS has a recycle bin / trash can where deleted files go before being permanently deleted. Regardless, it's out of vim's hands.

Upvotes: 2

Related Questions