Saturday, November 2, 2013

Re: Save default font on Gvim on Windows 7.

Thanks for the clarification.

Is there a place where I can find the string to substitute in place
of YourFontSettingHere though? Do I need to enclose the string
in double quotes or use some other quotation mechanism? I
would like to use the "Lucida Console" font with a "Normal"
font style and a size of 14. Exactly how do I specify these?

Thanks a lot!


On Sat, Nov 2, 2013 at 8:47 PM, Tim Chase <vim@tim.thechases.com> 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.

-tim






--
--
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.

No comments: