On Dec 3, 2:14 am, "John Beckett" <[email protected]> wrote:
> Steve Hall wrote:
> > Hmm, so then the original MyDiff() might have been ok for you?
>
> No. People have complained on the wiki that the "Vim without
> Cream" distribution does NOT work with diff. There were several
> misguided suggestions for how to make it work. Last March, I did
> some quick investigations and rewrote the tip:
>
> http://vim.wikia.com/wiki/Running_diff

I was wondering why I hadn't discovered this problem, and then I
realised it's because I haven't used the _vimrc that "Vim without
Cream" uses since I first installed Vim. Diffing with Vim on Windows
works excellently with 'diffexpr=', and I suggest that Steve removes
the setting of 'diffexpr' and the MyDiff() function from the default
_vimrc.

While we're at it, I also suggest removing 'source $VIMRUNTIME/
mswin.vim'. It might seem that it makes the transition to Vim for
windows users easier, when all it really does is delay the inevitable
'learn to use Vim the way it was meant to be used' brick wall that
every user has to run into sooner or later. At the very least, there
should be a warning sign on that line, saying that using 'mswin.vim'
changes the default behaviour of Vim, and that it might cause
confusion when asking for help. (Also note that 'mswin.vim' does
'behave mswin', so that line is redundant anyway.)

I'd prefer just using 'vimrc_example.vim' as the default _vimrc for
Windows. It contains good defaults, and good comments, and it helps
the user to understand what the _vimrc is. For more opinions, I think
raising the question on vim_use would be a good idea.

Henrik.

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

Raspunde prin e-mail lui