mbbill / undotree

The undo history visualizer for VIM
http://www.vim.org/scripts/script.php?script_id=4177
BSD 3-Clause "New" or "Revised" License
3.97k stars 101 forks source link

how to recover file from undotree backup #138

Closed codingbeasts closed 2 years ago

codingbeasts commented 2 years ago

recently my hard drive got corrupted and all data has been lost. so what i found that i use vim with undotree so all my backup files has been stored in .vim/undotree directory.

so i need to recover all those files from there. please tell me how to do it.

mbbill commented 2 years ago

I’m sorry to hear that! Unfortunately AFAIK the undo history only stores a fraction of the original content, mainly the changed parts, so it can’t be used to restore data without the original file.

codingbeasts commented 2 years ago

thanks