Restore file from editor memory

I was editing a large text file over sshfs using nvim . Probably due to a lose network cable, during save, the connection broke, and only half of the data reached the remote computer, the other half remained in the send buffers of the kernel. The editor was configured to use no swapfiles, therefore it wrote the target file directly: at this point the second half of the file was lost , and the…