I want to edit text files with vim, I would love
To work like normal, and open
file.txt in vim, like normal, and allow me to edit it seemingly like normal.
The only difference is, all writes
:w or anything, don't re-write file.txt, instead they write to some patch file that shows the differences between the original file and the edited one I am writing.
So after I have finished editing, i should have
file.txt is identical to how it was before I started editing and
file.txt.diff, if patched onto
file.txt, would make
file.txt look like it did after my edits.
The next time I run
vim file.txt it would load the file with the patch, and I can continue editing from how it last "was".