vim colorschemes not changing background color

后端 未结 11 1846
北恋
北恋 2021-01-30 08:43

I try to apply various color schemes in vim that I have seen on the net. Whatever scheme I choose, the background remains white, even though screenshots of the applied scheme sh

11条回答
  •  故里飘歌
    2021-01-30 09:20

    In linux I had export TERM=xterm-256color in my .bashrc. That caused vim to look like this (after setting set t_Co=256):

    Vim looks with molokai theme before fixing TERM variable

    When I removed that line from my .bashrc and opened a new terminal (exec bash didn't do it) This is what I get:

    Vim looks with molokai theme after fixing TERM variable

提交回复
热议问题