`set lines=99 columns=100`
works for me in gVim under Ubuntu Karmic.

You might be also interested in this solution:
http://vim.wikia.com/wiki/Restore_screen_size_and_position
See Version 1.

Thanks.

On Nov 14, 6:24 am, Jason <jason.lillywh...@gmail.com> wrote:
> I would like to set the initial window size and position of Gvim in
> Ubuntu. In my .vimrc file, I have:
> if has("gui_running")
>   " GUI is running or is about to start.
>   " Maximize gvim window.
>   set lines=99 columns=100
> else
>   " This is console Vim.
>   if exists("+lines")
>     set lines=99
>   endif
>   if exists("+columns")
>     set columns=100
>   endif
> endif
>
> I tried adjusting these numbers but it does not seem to change the
> size of Gvim window. Any hints for me?
>
> Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to