On Fri, Jul 21, 2006 at 01:19:56PM +0200, Robert Cussons wrote:
> gvimdiff part:
> 
> In my .vimrc I have the line:
> 
> set columns=88 lines=80
> 
> because this is the size I want my gvim window to be when it opens, 
> however as gvimdiff opens at least two buffers I would like it to open 
> full screen, is there a way of getting this to happen?

     I have this in my vimrc file:

diff to open with horizontal splits.
if &diff
        au VimEnter * windo wincmd K
        if has("gui_running")
                let &columns = &columns + &foldcolumn
        endif
endif

You could put whatever you want inside the test for diff mode.  OTOH, I
do not know how to maximize the window from a script, except when using
W32.  (Kluge:  maximize, note the setting of 'lines' and 'columns', and
then set to those values.)

> gvim 7 in windows part:
[snip]

     Maybe someone else can answer this.

HTH                                     --Benji Fisher

Reply via email to