Incorrect colors with vim in iTerm2 using Solarized

后端 未结 11 1132
傲寒
傲寒 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:57

    The above answers didn't work for me.

    I'm using iTerm2 with vim 7.3 on OS X 10.7.4.

    If the above solutions didn't work for you too, try this

    syntax on
    set background=dark
    let g:solarized_termtrans = 1
    colorscheme solarized
    

    Update: According to Jim Stewart, this works on Kitty too.

提交回复
热议问题