Saturday, November 2, 2013

Re: Save default font on Gvim on Windows 7.

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

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