Thursday, August 18, 2011

Re: unable to change default font

On Thu, Aug 18, 2011 at 06:57:35AM -0700, cyboman wrote:
> i decided to change default font and included the following command
> into my _vimrc file
>
> set guifont=Consolas:h11:cANSI
>
> but the strange thing is that Vim doesn't seem to care. i closed it
> and then reopened but for some reason the font is not set to what i
> told it to be. i even rebooted my machine and tried to reopen Vim
> again. the result is still the same, Vim doesn't want to the font. it
> is still the default one. does anybody know what might be the problem?
>
> any help is appreciated

What about your _gvimrc file? If I had to guess, your _gvimrc has its
own 'set guifont=...' line.

In any case, this setting really belongs in _gvimrc.

--
Erik Falor
Registered Linux User #445632 http://counter.li.org

No comments: