Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223894

Re: Default vim colorscheme?

From Lucio <lucio@sulweb.org>
Newsgroups linux.debian.user
Subject Re: Default vim colorscheme?
Date 2020-06-22 23:00 +0200
Message-ID <AkBHQ-64f-19@gated-at.bofh.it> (permalink)
References (1 earlier) <AkpGG-7qi-5@gated-at.bofh.it> <Akqt3-7GV-3@gated-at.bofh.it> <AksOd-Mk-3@gated-at.bofh.it> <AkuQ2-1XS-5@gated-at.bofh.it> <AkwoN-2ZV-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Il 22/06/20 17:09, Jonathan Dowland ha scritto:
> That was my take, too. The difference to me looks due to bg=light and
> bg=dark discrepancy. OP, you doubt this, but have you tried to confirm
> it?
> 

I hadn't tried, because I misunderstood Liam's suggestion. I've tried 
now and you're right, issuing

:set bg=dark

turns the "default" colorscheme into the same colors as "ron", at least 
as long as my bash scripts are concerned.

However, if I delete $HOME/.vimrc (so no :colorscheme command) and then 
switch to VT2 (no Xorg running there) I have a dark background just like 
my xfce4-terminal, but ":colorscheme default" does not assume a light 
background there and it does not use dark colors: it keeps the light 
colors (same colors of "ron", just to be clear). That leads me to think 
there's something in my xfce4-terminal that confuses the default 
colorscheme and that makes it assume a light background even if it's black.

What makes vim or the default colorscheme detect the dark/light background?

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Default vim colorscheme? Lucio <lucio@sulweb.org> - 2020-06-22 09:50 +0200
  Re: Default vim colorscheme? elvis <elvis@dogonfire.com> - 2020-06-22 10:10 +0200
    Re: Default vim colorscheme? Lucio <lucio@sulweb.org> - 2020-06-22 11:00 +0200
      Re: Default vim colorscheme? Liam O'Toole <liam.p.otoole@gmail.com> - 2020-06-22 13:30 +0200
        Re: Default vim colorscheme? Lucio <lucio@sulweb.org> - 2020-06-22 14:00 +0200
        Re: Default vim colorscheme? Jim Popovitch <jim@k4vqc.com> - 2020-06-22 15:40 +0200
          Re: Default vim colorscheme? Liam O'Toole <liam.p.otoole@gmail.com> - 2020-06-22 16:30 +0200
          Re: Default vim colorscheme? Jonathan Dowland <jon+debian-user@dow.land> - 2020-06-22 17:20 +0200
            Re: Default vim colorscheme? Lucio <lucio@sulweb.org> - 2020-06-22 23:00 +0200
      Re: Default vim colorscheme? elvis <elvis@dogonfire.com> - 2020-06-22 13:40 +0200
      Re: Default vim colorscheme? David Wright <deblis@lionunicorn.co.uk> - 2020-06-22 16:00 +0200
  Re: Default vim colorscheme? mick crane <mick.crane@gmail.com> - 2020-06-22 10:40 +0200
  Re: Default vim colorscheme? l0f4r0@tuta.io - 2020-06-22 10:50 +0200

csiph-web