Open yhcao6 opened 6 years ago
The default vim colorscheme uses cterm colors which roughly configures vim to look like seoul256. You'll need to make vim use the gui colorscheme:
set termguicolors
Note that the colours in seoul256 originally fit into the terminal 256 colour palette, but then iTerm changed the way it rendered colours (it actually changed to how almost all other terminals do it), making it display the colours on the 256 palette too dark. This means that you need to use hex colours to get Vim to display the ‘correct’ colours (which means that the original 256 colours are only available in old versions of iTerm). This is achievable through two methods:
set termguicolors
, as @yiyangc91 mentioned, tells Vim to attempt to display hex colours in the terminal (this is not necessary for a GUI, like MacVim). Some terminals do not have this ability, most notably Terminal.app (which seems to be the one @yhcao6 is using in the screenshot)
Using a GUI, e.g. MacVim
All this means that you cannot display seoul256 as it was intended in any terminal that does not support termguicolors
.
This topic has already been discussed in #50 and #32
Can I ask if there is a theme for zsh? when I load the theme in zsh and open vim, I found the color is different from the screenshot? Here is my screenshot: