Thursday, September 6, 2012

Re: Diff 2 files with lines added at top of second file: confusing

> In the meantime (as I still prefer a patch), this seems to be working when calling from the command line:
> gvim -d b.txt a.txt +"if diff_filler(1) | winc w |endif | 0"

FYI, I am now using an auto command instead so that it does not matter how I call the diff (on Windows, I also wanted this to behave properly when using gvimext "diff with vim".
Here is what I have in my _vimrc until something better comes up;
au VimEnter * if &diff && diff_filler(1) | winc w | endif | 0

Christophe

--
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

No comments: