Re: vim: available colors?
On Tue, Sep 30, 2003 at 03:04:22PM +0000, Monique Y. Herman wrote:
> On Tue, 30 Sep 2003 08:49:58 +0100, Colin Watson <cjwatson@debian.org> penned:
> > On Tue, Sep 30, 2003 at 03:10:00AM +0000, Monique Y. Herman wrote:
> >> I'm mucking with syntax highlighting in vim (specifically, I like dark
> >> backgrounds, but the red (for strings) and the blue (for comments) are
> >> almost impossible for me to read).
> >
> > Have you tried ':set background=dark'? That's usually a quick way to get
> > readable colours.
>
> My background is black as night -- blacker, actually.
I know, but ':set background=dark' clues vim into this fact so that it
uses a different set of colours.
> Actually, here's a question. Do the following represent actual colors?
> And if so, how?
>
> set t_AB=^[[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm
> set t_AF=^[[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm
Those look like encoded ANSI escape sequences:
/usr/share/doc/xterm/ctlseqs.txt.gz may be of some help.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: