Hi Shawn,

On Tue, 2007-03-13 at 09:28 -0400, Mr. Shawn H. Corey wrote:
> Hi,
> 
> I'm running Ubuntu 6.10 on a PowerBook 4 under GNOME. Is there any 
> command I can put inn my .gvimrc that will maximize the window at 
> startup? I tried:
> 
>    :autocmd GUIEnter * simalt <F10>
> 
> But simalt does not work in Linux.
> 
> I may not know much about GUIs but ever one I read so far has an API 
> call that maximizes the window. So, what's the best way to do this?
> 
> 

open gvim
hit the maximise button (top right hand corner)
from within vim:
  :set lines?
  :set columns?

you should get 2 values, lets say 50 and 100.

in your gvimrc
set lines=50
set columns=100

cheers,

-- 
Mark

Reply via email to