On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
Robert Cussons wrote:
> Peter Hodge wrote:
>
>> Some GUIs will allow you to use the command
>>
>>   set guifont=*
>>
>> Which brings up a font selection window.  If that works, you can
>> select a font
>> and then use
>>
>>   set guifont
>>
>> to find out exactly what to add to your .vimrc
>>
>> regards,
>> Peter
>>
>> --- Yakov Lerner <[EMAIL PROTECTED]> wrote:
>>
>>
>>> On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
>>>
>>>> I just installed vim 7 on my linux system at work (more specifically
>>>> debian sarge running KDE 3.3) and I get a few funny things
>>>> happening. It
>>>> is installed in my home/bin directory as I don't have root permissions.
>>>> All comments seem to come out underlined and the fonts for everything
>>>> including the menus are different to before, I don't know how to check
>>>> the current font setting, but when I type :set, there doesn't seem
>>>> to be
>>>> anything that would have changed the font listed. Anyone had the same
>>>> problems?
>>>
>>>
>>> :set guifont?
>>>
>>> Yakov
>>>
>>
>>
>>
>> Send instant messages to your online friends
>> http://au.messenger.yahoo.com
>
>
> Thanks Yakov and Peter, it appears that the problem may be more with
> Vim7 finding the fonts on my system. I had Sans regular 12 on Vim6.3 and
> the list of fonts there is greater than that in Vim7, do I need to tell
> Vim where to look for fonts, if so how do I check where Vim 6.3 looks
> and tell Vim 7 to look there as well. I think this is because 6.3 is a
> network wide install and 7 is installed in my home directory.
>
> Thanks,
> Rob.
>

I just discovered that the font is not Sans regular 12 on Vim6.3 because
when I use :set guifont=* although that is the font that is highlighted,
if I actually apply it then the font changes (to Sans regular 12) and to
change it back I have to use :set guifont=
with no argument, so I guess I must be displaying the default font or
something?

1. In vim6.3 , try
   :set guifont?
and select the font name with mouse
2. In vim7, try
    :set guifont=xxx
where xxx if font name as you selected it from vim6.3
If you get the right font, then put this :set guifont=xxx line into .vimrc

Yakov

Reply via email to