Eu tenho uma configuração do gvim no Windows e também estou executando uma instalação do vim no CentOS em uma VM do VirtualBox.
Estou tentando chegar onde ambos compartilham o mesmo esquema de cores.
Eu acredito nos arquivos .vim do Linux, eu deveria usar os termos termfg, termbg e term enquanto estiver nos arquivos .vim do gvim, eu deveria usar guifg, guibg e gui.
Isso está correto? Pergunto isso porque peguei o mesmo arquivo .vim do Windows gvim, copiei para a VM CentOs, mudei os termos acima e não obtenho o mesmo visual ao abrir o arquivo mostrado nas imagens abaixo.
VIM,nemperto
colorschemevs
,meu'tema'échamado'vs'.Seeuusaromesmoarquivo.vim,receboasaídaacima.Seeualterarostermos,comoobserveiacima,obtenhoerrosaolongodaslinhasdeColornameornumbernotrecognized:ctermfg=#c0d0e0
Alguémpodeajudaraqui?
Aquiestáoconteúdodomeuarquivo.vimparaogvim;noLinux,removiaúltimalinha:
setbackground=lighthiclearifexists("syntax_on")
syntax reset
endif
let colors_name = "vs"
" Taglist colors
hi MyTagListFileName guifg=black guibg=#c0d0e0
hi MyTagListTagName guifg=black guibg=#00ff00
hi CursorLine guibg=#f6f6f6
hi CursorColumn guibg=#f6f6f6 guibg=white
hi MatchParen guifg=black guibg=#CCE0DB
hi TabLine guifg=black guibg=#b0b8c0
hi TabLineFill guifg=#9098a0
hi TabLineSel guifg=black guibg=#f0f0f0 gui=bold
hi Pmenu guifg=white guibg=#808080
hi PmenuSel guifg=black guibg=#ffbc29
hi Title guifg=#202020 gui=none
hi Underlined guifg=#202020 gui=underline
hi Normal guifg=black guibg=white
hi ModeMsg guifg=black guibg=white
hi Cursor guifg=black guibg=white gui=underline
hi LineNr guifg=#ffffff guibg=#c0d0e0
hi Visual guibg=#8ABDF0
hi WildMenu guifg=black guibg=#ffbc29
hi IncSearch guibg=black guifg=#ffbc29
hi Question guifg=black guibg=#ffbc29
hi StatusLine guifg=white guibg=black gui=bold
hi StatusLineNC guifg=white guibg=#8090a0 gui=bold
hi VertSplit guifg=#a0b0c0 guibg=#a0b0c0 gui=none
hi NonText guifg=black guibg=#ffffff
hi Comment guifg=#008000 gui=none
hi Folded guifg=#E8DDD7 guibg=#FAF7F6
hi Folded guifg=#708090 guibg=#c0d0e0
hi FoldColumn guifg=#708090 guibg=#c0d0e0
hi Constant guifg=#6f008a gui=none
hi Number guifg=blue
hi Float guifg=blue
hi Boolean guifg=black gui=none
hi String guifg=red gui=none
hi Statement guifg=blue gui=none
hi StorageClass guifg=blue gui=none
hi Type guifg=blue gui=none
hi Typedef guifg=blue gui=none
hi Structure guifg=blue gui=none
hi Identifier guifg=black gui=none
hi Function guifg=blue gui=none
hi Repeat guifg=blue gui=none
hi Conditional guifg=black gui=none
hi Operator guifg=black gui=none
hi PreProc guifg=blue gui=none
hi Define guifg=blue gui=none
hi Include guifg=blue gui=none
hi Error guifg=red guibg=#f2f2f2 gui=bold,underline
hi Todo guifg=yellow guibg=yellow gui=none
hi Search guifg=black guibg=yellow gui=none
hi SpecialKey guifg=#1060a0 guibg=#f2f2f2
hi Special guifg=black guibg=#ffffff
" Diff
hi DiffChange guifg=NONE guibg=#e0e0e0 gui=bold
hi DiffText guifg=NONE guibg=#f0c8c8 gui=bold
hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=bold
hi DiffDelete guifg=NONE guibg=#f0e0b0 gui=bold
set guifont="Consolas for Powerline":h10