> I don't think, every user needs to mess with autocommands to find a
>
> solution that works for him, but rather Vim should make it right. So
Thank You! I completely agree! (Vim is already doing just about anything else right!)
> here is a patch:
[...]
> Christian
Thank you,
I tried your patch, and I think it only works when I call
gvim -d a.txt b.txt
If I switch a and b, I have the same issue...
gvim -d b.txt a.txt
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"
in my case, I only compare 2 files, so I check if the file in the current window as filler lines above line 1; if so, I move to the other window. Then, in the active window after that, I go to the top of the file.
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
Thursday, September 6, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment