On Monday, 30 July, 2012 at 16:27:36 BST, Charles Campbell wrote:
>Please try ZoomWin v25b, available from my website as
>http://www.drchip.org/astronaut/vim/index.html#ZOOMWIN . This new
>version has 'diff' included in its list of "local options".
>
>After using <c-w>o on a window obtained via vcs (either the local or
>repository one), :q works quietly (when no changes have been made, of
>course). Applying <c-w> a second time restores the difference display
>as expected.
>
>However, using <c-w>o is not quite the same as quitting a vcs window;
>hence the diff mode will be retained for the single open window.
I've just tried that, and don't see any difference in behaviour. I see the change message in ZoomWin.txt, but from reading that, I don't think it will solve the problem. Initially, when a file is opened in vim, diff is off. VCSVimDiff then sets diff on. When <c-w>o is entered, ZoomWin will see that the current mode is diff=on, and hide other windows. ZoomWin doesn't know that I want diff to be off when I pressed <c-w>o, because it was already on before ZoomWin did anything.
Maybe ZoomWin should _always_ set diff=off when displaying just one file. I can't think of a situation where I'd want to have diff=on when viewing just one file, but you never know.
--
.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Monday, July 30, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment