Closed GoogleCodeExporter closed 9 years ago
Well, it's a bit hard to understand the problem, but if I understand correctly,
this can happen because if you open buffer a in a new window, 'diff' mode will
be off, because it is a window-local option (this is explained briefly at :h
option-summary).
So this works as expected, closing.
Original comment by chrisbr...@googlemail.com
on 24 Mar 2015 at 6:35
I apologize for not explaining clearly enough. The problem is that I can't
diff anything else in that vim tab -- it will always try to diff the new files
against one of the two original files!
I can't find the right buffer/window combination to :diffoff -- attempts to do
:bufdo diffoff or :windo diffoff, or closing all the windows don't help.
The only way I can use diff again is to open a new :tab and close the old one,
since diff status is tied to tabs.
AFAICT the internal list of diffable-buffers gets out of sync with the
window-local 'diff' options somehow, making it impossible to remove the diff
mode that got stuck.
Original comment by mged...@gmail.com
on 24 Mar 2015 at 6:51
I still think, this works as expected, there can only be 4 buffers in diff mode.
A :diffoff! should work, however.
Original comment by chrisbr...@googlemail.com
on 24 Mar 2015 at 6:56
Wow. How did I not know about :diffoff!? I'll be sure to try it the next time
this happens to me.
Original comment by mged...@gmail.com
on 24 Mar 2015 at 7:38
Original issue reported on code.google.com by
mged...@gmail.com
on 5 Mar 2015 at 11:14