Re: [SOLVED] [dwm] Gvim size problem

From: bill lam <cbill.lam_AT_gmail.com>
Date: Fri, 17 Apr 2009 11:50:44 +0800

On Thu, 16 Apr 2009, Dusan wrote:
> On Thu, 16 Apr 2009 13:54:45 +0200 (CEST)
> "Preben Randhol" <randhol_AT_pvv.org> wrote:
>
> Does not help :(

may try adding:

set lines=200

>
> > > Similar experience in the past but seem fixed now. I guess it
> > > should be a gvim problem. You may test by comparing with other gtk
> > > based text editors such as geany or gedit.
> > >
> > > It should be `lines' not set correctly. try
> > > :set lines?
> > >
> > > for gvim, lines depends on both gfn and window height.
> >
> > I see. "set lines" report 34 when Gvim is opened and when it is
> > refreshed (by using one of the workarounds mentioned here) "set
> > lines" report 37.
> >
> > So I search around in the vim help files and found out in the end
> > that the 'guiheadroom' is set to 50 by default. This is subtracted
> > from window height.
> >
> > But by adding:
> >
> > set ghr=0
> >
> > to .gvimrc, gvim will use the whole height and the problem goes away!
> >
> > So not a dwm problem after all... Hope it works for others too.
> > I use vim 7.2.79
> >
> > HTH
> >
> > Preben
> >
> >
> >
> >
> >
>
>
>

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩275 劉方平  月夜
    更深月色半人家  北斗闌干南斗斜  今夜偏知春氣暖  蟲聲新透綠窗沙
Received on Fri Apr 17 2009 - 03:50:44 UTC

This archive was generated by hypermail 2.2.0 : Fri Apr 17 2009 - 04:00:07 UTC