Bug? With

        gvim -o3 file1.txt file2.txt file3.txt

only the first two are displayed in a window. (All 3 files exist.)

The arguments list is OK, since

        :bot new
        :last

opens the 3rd file in a 3rd window.

If the line

        set noea wmh=0 wh=99999 hh=99999

(in my vimrc) is changed to

        au VimEnter * set noea wmh=0 wh=99999 hh=99999

(with no other changes in the vimrc), Vim opens all three windows at startup. I suspect that the test for "is there enough space?" in the handling of the -o command-line argument erroneously tests &winheight instead of &winminheight.

This is vim 7.0.97 (Huge, for GTK2/Gnome).


Best regards,
Tony.

Reply via email to