0

I am using Vim 8 in WSL Ubuntu. While copying text into a file the terminal crashed. I don't believe it is the WSL as Task Manager does not show 'Not Responding'.

I have tried using this answer which works on new terminals but not on the one that crashed, where it simply does nothing.

I can see the unsaved text on the unresponsive terminal running Vim and the vim -r command tells me process ID: 1062 (still running) but when opened with the read only option the unsaved text is not there.

Is there a way to recover this file?

1 Answer 1

0

It turns out that the problem was with WSL after all. I followed this answer and pressed Ctrl+C this made the terminal responsive again allowing me to save my file. Also here to add, fullscreen On Off shortcut F11 will always fix crash.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.