Tuesday, March 3, 2015

Re: .gvimrc vs. .vimrc

On 2015-03-02 12:11, Gary Johnson wrote:
> you should set your :colorscheme in ~/.gvimrc or with a GUIEnter
> autocommand because Vim won't know the background color of the GUI
> until it starts the GUI.

Just for the record, I :colorscheme in my vimrc and it gets
identified properly in both vim and gvim. If you only set it in the
gvimrc, you don't get your desired color-scheme in (non-g)vim.

I might be missing something with the 'background' setting being
"dark" vs. "light" but since whatever the default is works for my
preferences, I haven't tinkered with that.

-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/d/optout.

No comments: