Incorrect colors with vim in iTerm2 using Solarized

后端 未结 11 1108
傲寒
傲寒 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 07:53

    A simple way to solve this problem is:

    In colors dir on vim-color-solarized exist an arquive named 'solarozed.vim'

    Open this file and search:
    exe "let s:bg_back = ' ".s:vmode."bg=".s:back ."'"

    replace to:
    exe "let s:bg_back = ' ".s:vmode."bg=".s:none ."'"

提交回复
热议问题