源码如下:
Ubuntu下保存路径为 ”/usr/share/vim/vim74/colors“:
Windows下为 "D:Vimvim80colors" :
1 " local syntax file - set colors on a per-machine basis: 2 " vim: tw=0 ts=4 sw=4 3 " Vim color file 4 " Maintainer: Qiucz 5 " Last Change: 2017 Jan 15 6 7 hi clear 8 set background=dark 9 if exists("syntax_on") 10 syntax reset 11 endif 12 let g:colors_name = "qiucz" 13 14 hi Normal ctermbg=Black ctermfg=lightgreen guibg=Black guifg=#00FF00 15 hi Comment term=bold ctermfg=LightRed guifg=Orange 16 hi Constant term=underline ctermfg=LightGreen guifg=yellow gui=NONE 17 hi Identifier term=underline ctermfg=LightCyan guifg=#00FF00 18 hi Ignore ctermfg=black guifg=bg 19 hi PreProc term=underline ctermfg=LightBlue guifg=Wheat 20 hi Search term=reverse guifg=white guibg=Blue 21 hi Special term=bold ctermfg=LightRed guifg=magenta 22 hi Statement term=bold ctermfg=Yellow guifg=#00FF00 gui=NONE 23 hi Type ctermfg=LightGreen guifg=darkblue gui=none 24 hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White 25 hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow 26 " From the source: 27 hi Cursor guifg=white guibg=fg 28 hi Directory term=bold ctermfg=LightCyan guifg=Cyan 29 hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White 30 hi IncSearch term=reverse cterm=reverse gui=reverse 31 hi LineNr term=underline ctermfg=Yellow guifg=yellow 32 hi ModeMsg term=bold cterm=bold gui=bold 33 hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen 34 hi NonText term=bold ctermfg=Blue gui=bold guifg=Blue 35 hi Question term=standout ctermfg=LightGreen gui=bold guifg=Cyan 36 hi SpecialKey term=bold ctermfg=LightBlue guifg=Cyan 37 hi StatusLine term=reverse,bold cterm=reverse gui=NONE guifg=White guibg=darkblue 38 hi StatusLineNC term=reverse cterm=reverse gui=NONE guifg=white guibg=gray 39 hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Pink 40 hi WarningMsg term=standout ctermfg=LightRed guifg=Red 41 hi Visual term=reverse cterm=reverse gui=NONE guifg=#00FFFF guibg=darkgreen