You can set the parameters lines and columns . Just use the "very large" values, and Vim truncates them to the maximum possible values ββfor your screen and font size. If you put this in your ~/.gvimrc , then your initial window will be automatically appropriately.
set lines=999 columns=9999
See :help 'lines' and :help 'columns' details.
MacVim also has fullscreen and fuoptions (along with the "Prefer built-in full-screen support" checkbox in the "Advanced" section of MacVim > Preferences ... ), which may be useful.
Chris johnsen
source share