自己习惯的vim颜色配置
1:将下面内容复制到文件wangcq327_20170620.vim中,然后将此文件放于vim color目录 如
.vim/colors/wangcq327_20170620.vim
2:然后在.vimrc中添加如下:
colorscheme wangcq327_20170620
Syntax enable
Syntax on
"------------------------------------------------------start
"%% SiSU Vim color file
" Slate Maintainer: Ralph Amissah <ralph@amissah.com>" (originally looked at desert Hans Fugal <hans@fugal.net> http://hans.fugal.net/vim/colors/desert.vim (2003/05/06)
:set background=dark
:highlight clear
if version > 580
hi clear
if exists("Syntax_on")
Syntax reset
endif
endif
let colors_name = "wangcq327_20170620"
:hi Normal guifg=#909090 guibg=grey15
:hi Comment term=bold ctermfg=11 guifg=#3A3A3A
:hi Constant guifg=red ctermfg=brown
:hi Operator guifg=red ctermfg=red
:hi Include guifg=#5555AA ctermfg=red
:hi PreProc guifg=#5555AA ctermfg=red
:hi LineNr guifg=#808080 ctermfg=3
:hi Type guifg=#00CC00 ctermfg=2
:hi Statement guifg=#00CC00 ctermfg=lightblue
:hi String guifg=red ctermfg=darkcyan
:hi Cursor guibg=khaki guifg=slategrey
:hi VertSplit guibg=#c2bfa5 guifg=grey40 gui=none cterm=reverse
:hi Folded guibg=black guifg=grey40 ctermfg=grey ctermbg=darkgrey
:hi FoldColumn guibg=black guifg=grey20 ctermfg=4 ctermbg=7
:hi IncSearch guifg=green guibg=black cterm=none ctermfg=yellow ctermbg=green
:hi ModeMsg guifg=goldenrod cterm=none ctermfg=brown
:hi MoreMsg guifg=SeaGreen ctermfg=darkgreen
:hi NonText guifg=RoyalBlue guibg=grey15 cterm=bold ctermfg=blue
:hi Question guifg=springgreen ctermfg=green
:hi Search guibg=peru guifg=wheat cterm=none ctermfg=grey ctermbg=blue
:hi SpecialKey guifg=yellowgreen ctermfg=darkgreen
:hi StatusLine guibg=#c2bfa5 guifg=black gui=none cterm=bold,reverse
:hi StatusLineNC guibg=#c2bfa5 guifg=grey40 gui=none cterm=reverse
:hi Title guifg=gold gui=bold cterm=bold ctermfg=yellow
:hi Visual gui=none guifg=khaki guibg=olivedrab cterm=reverse
:hi WarningMsg guifg=salmon ctermfg=1
:hi Special guifg=darkkhaki ctermfg=brown
:hi Identifier guifg=salmon ctermfg=red
:hi Define guifg=gold gui=bold ctermfg=yellow
:hi Function guifg=yellow ctermfg=brown
:hi Structure guifg=green ctermfg=green
:hi Ignore guifg=grey40 cterm=bold ctermfg=7
:hi Todo guifg=orangered guibg=yellow2
:hi Directory ctermfg=darkcyan
:hi ErrorMsg cterm=bold guifg=White guibg=Red cterm=bold ctermfg=7 ctermbg=1
:hi VisualNOS cterm=bold,underline
:hi WildMenu ctermfg=0 ctermbg=3
:hi DiffAdd ctermbg=4
:hi DiffChange ctermbg=5
:hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
:hi DiffText cterm=bold ctermbg=1
:hi Underlined cterm=underline ctermfg=5
:hi Error guifg=White guibg=Red cterm=bold ctermfg=7 ctermbg=1
:hi SpellErrors guifg=White guibg=Red cterm=bold ctermfg=7 ctermbg=1
"-------------------------------------------------end