set lines=999 columns=999

doesn't work, and

au GUIEnter * simalt ~x

only works for Windows.

link|improve this question
What WM are you using? – Rob Sep 14 '11 at 16:40
feedback

2 Answers

It's your window manager who takes care about setting the initial window size. To get gvim maximized, you need to convince him to do that. This does of course depend on the window manager used.

Alternatively, define a window manager shortcut to maximize windows and use that after starting gvim.

link|improve this answer
feedback

You can do that in Linux by setting 'lines' and 'columns' to large values, but for some reason they can't be arbitrarily large. I found I had to set each of them to either the same values as a maximized window or slightly larger. For example, setting lines=99 worked for me.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.