I have this issue where I need to both compare files, which I do using
vimdiff, but also work on individual files with vertically split screens (
vs). However, after I call vimdiff on a file, opening the file again later I see that
cursorbind are set, which gets annoying to deactivate manually all the time. Is there a way to turn off
cursorbind off automatically on exit form vimdiff?
As a clarification, here's an example of what I experience:
$ vim foo.txt # works fine, noscrollbind and nocursorbind are set $ vimdiff foo.txt bar.txt # works as expected, scrollbind and cursorbind are set during diff $ vim foo.txt # now scrollbind and cursorbind remain set, which I don't want