共有几个指标:
set t_Co=256
set cursorline
if has("gui_running")
colorscheme desert
highlight LineNr guibg=black guifg=red
else
colorscheme torte
highlight LineNr term=NONE cterm=NONE ctermbg=235 ctermfg=green
highlight CursorLine term=NONE cterm=NONE ctermbg=235
highlight CursorLineNr term=NONE cterm=NONE ctermfg=red
endif
" 设置颜色主题
来源:CSDN
作者:xuyf
链接:https://blog.csdn.net/yavobo/article/details/104742793