[EMAIL PROTECTED] wrote:
"A.J.Mechelynck" <[EMAIL PROTECTED]> writes:

I don't know Emacs, but Vim comes bundled with a number of "standard"
colorschemes (in $VIMRUNTIME/colors). Some are light, others are
dark. Try them out (using ":colorscheme <name>", where <name> is the
filename without the .vim extension), maybe you'll find one you
like. Then if you do, you can apply it wherever you use Vim.

Hehe... this is good.  I've never really looked in those *.vim files
or paid any attention to them.  But the one in there called `elflord'
is the very fellow `Donavon' I swiped that scheme from 6 yrs ago....

I can just remove all the `hi' stuff...

But I also see now that simply setting:
  set background=dark
gives me a very usable color scheme... It looks very similar to the `elflord' one but I think its `koehler'.

So I can forget `hi' settings and hope the remote machines have all
those color schemes too.




They are distributed with Vim. The way I see it, the only reason those machines wouldn't have them would be if they were using obsolete versions of Vim, never updated since before these colorschemes were added to Bram's distributions.

When running in non-GUI mode, Vim cannot always determine reliably what the default background color is; in those cases it guesses it, but it may happen that Vim guesses wrong, in which case some highlight colours might be inappropriate. If

        :silent unlet g:colors_name
        :hi clear Normal
        :set bg=dark
        :hi clear
        :syntax reset

(i.e., forcing Vim to use its "dark" defaults) gives you "good-looking" colors reliably, then Vim had probably guessed wrong, and set colors meant for a bright background over something that was actually dark (cf. ":help 'bg'").


Best regards,
Tony.

Reply via email to