sonph / onehalf

Clean, vibrant and pleasing color schemes for Vim, Sublime Text, iTerm, gnome-terminal and more.
MIT License
1.79k stars 235 forks source link

Background color in VIM not matching iTerm #71

Open knuti opened 4 years ago

knuti commented 4 years ago

Theoretically re-opening this one here.

I would like to match the colors between VIM and iTerm as well.

Played a bit around and found inside "../../onehalf/vim/colors/onehalfdark.vim" let s:black = { "gui": "#282c34", "cterm": "236" }

I changed it to let s:black = { "gui": "#000000", "cterm": "0" } and it seems to work. Might not be the correct color like defined for iterm colors, but would be lovely to see it match by default.

Appreciate your great efforts in that project and really like the theme. Thanks

sonph commented 4 years ago

Hey glad you like the colors!

I haven't really had time to revisit these issues, but just want to leave a clarifying comment here for posterity.

For vim, you need to have these things setup:

It was a long time ago, but I remember that iTerm was kinda quirky that the colors somehow got slightly adjusted after setting them and never match 100%...

I have some plans to revisit these issues though, will dig back into these when I have time :)

talbii commented 1 year ago

For anyone coming around this issue, adding set termguicolors in my vimrc seemed to fix this.