On 3/27/07, Greg Novack <[EMAIL PROTECTED]> wrote:
Thus spake Jason Keen [03/27/07 @ 16.10.46 -0400]:
> On 3/27/07, Greg Novack <[EMAIL PROTECTED]> wrote:
> >Vim Aficionados,
> >
> >I run console vim. My normal colorscheme, as set in the .vimrc, is
> >`Default' with backround set to dark. This has always had the consequence
> >that the line at the bottom of the screen that says `--INSERT--' whenever
> >I'm in that mode is displayed in magenta.
> >
> >Last night, this changed to display in white. I did not mess with the
> >terminal emulator's colors. I *did* begin playing around with commands
> >that change the syntax coloring while I'm in the middle of a document,
> >e.g.,
> >
> >:hi LineNr ctermfg=green
> >
> >But my understanding was that such "live" commands are temporary; when I
> >exited vim, they are lost, and a restart of vim would bring the usual
> >colors I named in the .vimrc. So I'm wondering (a) what happened to my
> >purple mode notice?, and (b) did whatever happened to it happen because of
> >my piecemeal coloring commands?
> >
> >Many thanks,
> >
> >GMN
> >
> I tried to replicate this, but when I set my colorscheme to default,
> it had white text in the status line. Seems like a weird situation,
> and smells like it is environment-specific.
> Good luck!
Ye Gods, I've found out where I got fooled. The magenta did indeed come from
my terminal, as I'd assigned any bold text to magenta. Because the
---INSERT--- is bold and was therefore always a different color (magenta) from
the body text of my docs (white), I thought that
:hi normal ctermfg=white
would not apply to the ---INSERT---. Lo and behold, I had exactly that command
in my .vimrc. I thought it couldn't possibly be the culprit, hence my post.
Doh!
Many thanks, from a semi-newbie.
GMN
You're welcome, from another semi-newbie.