I've installed MacVim using Brew: brew cask install neovim
I'm using the macOS's Terminal.app to run MacVim in Terminal mode.
I've experimented with :colorscheme peachpuff
, since many recommends that color scheme, which comes with MacVim by default.
In the picture below shows how peachbuff
looks, when running using mvim
in Terminal mode (left) and GUI mode (right).
Why does the peachbuff
color scheme looks so different in the two modes? Not even the background colors are identical.
I'm aware that GUI mode probably has full "truecolor" support, while the Terminal mode uses 256-colors. Is that the reason?
if has('gui_running')
set background=light
colorscheme macvim
else
" set termguicolors
set t_Co=256
set background=light
colorscheme peachpuff
endif
set termguicolors
fixed the issue