Re: vim: available colors?

From: Colin Watson (cjwatson_at_debian.org)
Date: 09/30/03

  • Next message: Angus D Madden: "Re: rpm -qa vs apt/dselect/etc"
    Date: Tue, 30 Sep 2003 16:53:45 +0100
    To: debian-user@lists.debian.org
    
    

    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]
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Angus D Madden: "Re: rpm -qa vs apt/dselect/etc"