Re: [SOLVED] [dwm] Gvim size problem

From: bill lam <cbill.lam_AT_gmail.com>
Date: Fri, 17 Apr 2009 22:25:46 +0800

On Fri, 17 Apr 2009, Dusan wrote:
> On Fri, 17 Apr 2009 12:57:53 +0200 (CEST)
> "Preben Randhol" <randhol_AT_pvv.org> wrote:
>
> > > Here it is. Gvim is on the left -- there is huge vertical stripe on
> > > the right part of it. When I do float-unfloat gvim takes whole area
> > > and works well after that. I use 50:50 split.
> >
> > What happens if you run: gvim -U NONE -u NONE
> >
> > This starts gvim without loading any setup you have.
> >
> > It is not ghr nor lines that will fix your problem, they are for the
> > vertical space and not horizontal as seem to be your problem.
> >
> > type ":set columns"
> > in vim before and after you float unfloat the gvim to see if this
> > changes.
> >
> > HTH
> >
> > Preben
> >
> >
>
> 104 first time, 119 after gvim gets real dimensions.
>
> -u NONE works so I tested what makes problem in my .vimrc. It was font
> definition :(
>
> set guifont was the problem. I don't get it but Envy Code font makes
> this problem.

You may try adding

set lines=200 columns=200

after the line that set gfn. It doesn't matter these values are
larger than your screem since it will resize itself to the maximum
allowable lines and columns.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩291 杜牧  泊秦淮
    煙籠寒水月籠沙  夜泊秦淮近酒家  商女不知亡國恨  隔江猶唱後庭花
Received on Fri Apr 17 2009 - 14:25:46 UTC

This archive was generated by hypermail 2.2.0 : Fri Apr 17 2009 - 14:36:05 UTC