On 02/11/13 20:58, Gary Johnson wrote:
> On 2013-11-02, Tim Chase wrote:
>> On 2013-11-02 12:35, John Sonderson wrote:
>>> On Windows 7 it is impossible to save the default Gvim font from
>>> the Gvim program. Closing Gvim will cause it to completely forget
>>> about all font settings, and it is not possible to set them in the
>>> _vimrc file.
>>
>> You need to either put it in your _gvimrc (which gets processed
>> after the GUI has started up) rather than your _vimrc (which gets
>> processed before the GUI has started up), or put it in an autocmd in
>> your _vimrc:
>>
>> autocmd GUIEnter * set guifont=YourFontSettingHere
>>
>> that will fire once the GUI has started.
>
> That will work, but I set the font for Windows in my ~/_vimrc, not
> in a ~/_gvimrc and not from an autocommand, just
>
> set guifont=Courier_New:h10:cANSI
>
> Regards,
> Gary
>
Indeed, 'guifont' is one of those settings which are used only after the
GUI starts but can be set before it does, and will be remembered until
they are needed. On windows I would use ... :cDEFAULT though. :cANSI is
IMHO needlessly limited and, taking it at face value, it conflicts with
using any codepoint above U+007F, including not only non-Latin letters
but even accented letters as used in practically every language other
than English (and even in English, my Oxford's Dictionary lists some
words with accented letters like garçon, cliché, risqué, øre, and more).
The 'guifont' setting has a number of different incompatible settings.
If you only use Vim on Windows this is not of much concern to you, but
there are at least two very different formats in current use on Linux,
and there used to be one more. See
http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI
Best regards,
Tony.
--
Someone did a study of the three most-often-heard phrases in New York
City. One is "Hey, taxi." Two is, "What train do I take to get to
Bloomingdale's?" And three is, "Don't worry. It's just a flesh wound."
-- David Letterman
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Saturday, November 2, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment