Thursday, August 23, 2012

Re: how to disallow gvim to load some settings from .vimrc file

You could try to use
   if !has("gui_running")
       highlight SpellBad ctermfg=000 guifg=#000
   endif
in your .vimrc

Also take a look at using .gvimrc as well

On 23 August 2012 23:06, Santosh Kumar <sntshkmr60@gmail.com> wrote:
I have this line in my .vimrc file:

highlight SpellBad ctermfg=000 guifg=#000

I don't want to be loaded by gvim (i.e. only vim).

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

No comments:

Post a Comment