Hi, I have a basic question about vim internal. Let me use an example to describe:
Say I have a text file of 20Mbytes. I use VIM to insert 3 characters at offset 1024 bytes from the beginning of the file and then I save the file. My question is: how does VIM handle the file write and save? Does VIM rewrite the whole file back to disk/file system? Can anyone describe the procedure that VIM employs at the granularity of the system call? PS. Please reply or CC to my email address as well. Thanks Ming