You are not logged in.

#1 2014-08-25 06:19:52

wucherpfennig
Member
From: Switzerland
Registered: 2013-06-02
Posts: 13

[solved] VIM and colorschemes

Hi Everybody

I try to setup up vim on my machine. Everything works fine but the colorscheme has wrong colors. (I am working with konsole)

in my .vimrc

set t_Co=256                                                                                                                                                                                                          
syntax on                                                                        
set background=light                                                             
colorscheme solarized

No matter what i try, konsole seems to override the colorscheme... I already tried to add TERM=xterm-256color ...

May someone point out the mistake I made? big_smile

Thank you!

Last edited by wucherpfennig (2014-08-25 20:38:43)

Offline

#2 2014-08-25 06:50:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] VIM and colorschemes


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-08-25 20:38:25

wucherpfennig
Member
From: Switzerland
Registered: 2013-06-02
Posts: 13

Re: [solved] VIM and colorschemes

Thanks for your quick answer

somehow I missed that...

#~/.bashrc
TERM=konsole-256color
#~/.vimrc
let g:solarized_termcolors=256                                                   
syntax enable                                                                    
set background=light                                                             
colorscheme solarized

Offline

#4 2014-08-25 20:40:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] VIM and colorschemes

wucherpfennig wrote:

Thanks for your quick answer

somehow I missed that...

#~/.bashrc
TERM=konsole-256color

Bear in mind that this will break the term setting if you use anything other than konsole: if just setting options in .vimrc works, you would be well advised to remove this line from your .bashrc.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB