On Fri, 13 Nov 2009, Jason 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?
>
That should be controlled by window manager in gnome. There is a
-geometry option for that purpose. But that request can be overridden
by window manager.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---