vim配色文件

.vimrc文件如下

set t_Co=256
set tabstop=4
set shiftwidth=4
set hlsearch
syntax on
set nu
set autoindent
set cindent
set softtabstop=4
set smartindent
set fileencodings=ucs-bom,utf-8,gb2312,cp936,chinese
set guifont=YaHei\ Consolas\ Hybrid\ 14
colorscheme littley

littley.vim  放在/usr/share/vim/vim73/colors/目录下

" local syntax file - set colors on a per-machine basis:
" vim: tw=0 ts=4 sw=4
" Vim color file

set background=dark
hi clear
if exists("syntax_on")
  syntax reset
endif
let g:colors_name = "littley"
hi Normal							ctermfg=7
hi Comment							ctermfg=203
hi Constant							ctermfg=74
hi Special 							ctermfg=196
hi Identifier   cterm=bold			ctermfg=black
hi Statement	cterm=bold			ctermfg=112
hi PreProc		term=underline		ctermfg=208
hi Type			cterm=bold  term=underline		ctermfg=112
hi Function		cterm=bold  term=bold			ctermfg=112
hi Repeat		cterm=bold  term=underline		ctermfg=112
hi Operator		ctermfg=222	 
hi Ignore		ctermfg=Blue	 
hi Error		term=reverse		ctermfg=black  
hi Todo			term=standout	    ctermfg=Black

" Common groups that link to default highlighting.
" You can specify other highlighting easily.
hi link String		Special
hi link Character	Constant
hi link Number		Constant
hi link Boolean		Type
hi link Float		Number

hi link Conditional	Repeat
hi link Label		Statement
hi link Keyword		Statement
hi link Exception	Statement
hi link Include		PreProc
hi link Define		PreProc
hi link Macro		PreProc
hi link PreCondit	PreProc
hi link StorageClass	Type
hi link Structure		Type
hi link Typedef			Type
hi link Tag			Special
hi link SpecialChar	Special
hi link Delimiter	Special
hi link SpecialComment Special
hi link Debug		Constant

hi Normal	guifg=White guibg=grey20

" highlight groups
hi Cursor	guibg=khaki guifg=slategrey
"hi CursorIM
"hi Directory
"hi DiffAdd
"hi DiffChange
"hi DiffDelete
"hi DiffText
"hi ErrorMsg
hi VertSplit	guibg=#c2bfa5 guifg=grey50 gui=none
hi Folded	guibg=grey30 guifg=gold
hi FoldColumn	guibg=grey30 guifg=tan
hi IncSearch	guifg=slategrey guibg=khaki
"hi LineNr
hi ModeMsg	guifg=goldenrod
hi MoreMsg	guifg=SeaGreen
hi NonText	guifg=LightBlue guibg=grey30
hi Question	guifg=springgreen
hi Search	guibg=peru guifg=wheat
hi SpecialKey	guifg=yellowgreen
hi StatusLine	guibg=#c2bfa5 guifg=black gui=none
hi StatusLineNC	guibg=#c2bfa5 guifg=grey50 gui=none
hi Title	guifg=indianred
hi Visual	gui=none guifg=khaki guibg=olivedrab
"hi VisualNOS
hi WarningMsg	guifg=salmon
"hi WildMenu
"hi Menu
"hi Scrollbar
"hi Tooltip

" syntax highlighting groups
hi Comment	guifg=SkyBlue
hi Constant	guifg=#ffa0a0
hi Identifier	guifg=palegreen
hi Statement	guifg=khaki
hi PreProc	guifg=indianred
hi Type		guifg=darkkhaki
hi Special	guifg=navajowhite
"hi Underlined
hi Ignore	guifg=grey40
"hi Error
hi Todo		guifg=orangered guibg=yellow2


你可能感兴趣的:(vim配色文件)