Hello everybody !

I find the automatic setting of the 'diff' option a bit inconsistent
and inconvenient :

vim -u NONE -U NONE file1 file2

:set cp
:syn on
:set diff
" file1 has diff set
:<C-F>
"Opens the cmdwindow and I can see the differences to file1. WTF? ;)
:sbn
"vim automatically sets diff for file2, that is inconvenient,
"because I don't intend to diff file1 and file2.
"I am now editing file2.
:verbose set diff?
        diff
"Must be set internally ?
:set nodiff
"Now file 1 has diff set, file2 not and I can split and hide the
"buffers as much as I like, vim leaves me alone with
"automatically setting this option. That is the inconsistent part.

Is this behaviour documented somewhere, especially the
automatic setting of 'diff' ?


-ap


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui