Saturday, November 2, 2013

Re: Save default font on Gvim on Windows 7.

On 2013-11-02 12:58, Gary Johnson wrote:
> > 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

I hadn't tested it stand-alone in the vimrc, as the OP had mentioned
that it hadn't worked for him when put there. If it's *supposed* to
work there, then it might require some different debugging.

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