Incorrect colors with vim in iTerm2 using Solarized

后端 未结 11 1096
傲寒
傲寒 2020-12-07 07:43

I am having a strange issue with iTerm2, in terminal vim (non-gui) and the solarized color scheme. First, I have set iTerm2 to use the dark solarized colour scheme.

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-07 08:16

    I tried all of the previous suggestions. I just added set t_Co=256 to .vimrc and it was fixed. I didn't need to create a tmux alias or change my config file.

提交回复
热议问题