On Thursday, September 19, 2013 3:45:24 PM UTC-4, Bram Moolenaar wrote:

> I would say the current behavior is intended.  If you reset 'diff', but
> then realize it doesn't look right, you can use :diffoff to reset the
> other side effects of :diffthis.

I never thought of that!

> If you don't want to change options, then why would you type :diffoff?

For me, this appeared using diffoff! with a 3 window split:  2 windows in a 
diff and 1 window not in the diff with related information.

When issuing diffoff! from the non-diff window, the 2 diff windows have their 
options reset as documented.  The non-diff window also has its options reset, 
which I did not expect.  The options in that non-diff window will always be set 
to vim defaults because options are only saved for windows which are part of a 
diff.

This situation does not occur often and can be worked around.

 

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui