Chinaunix首页 | 论坛 | 博客
  • 博客访问: 72036
  • 博文数量: 21
  • 博客积分: 1478
  • 博客等级: 上尉
  • 技术积分: 220
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-22 20:41
文章分类

全部博文(21)

文章存档

2011年(1)

2010年(2)

2009年(18)

我的朋友

分类: LINUX

2009-10-14 18:38:48

文件:vim_config.zip
大小:7KB
下载:下载

" Vim color file
"

" * Nothing should be bold unless it’s very important and should stand out above
"
all other things. Functions/classes are good for this. (I’m actually using a
" font/size now that does not support bold.)
"
* Colors should be easy on eyes to stare at for many hours. The background
" should be extremely comfortable for your eyes, so not white, and probably not
"
even black.
" * Todos should stand out just a little (underline looks nice).
"
* Inline comments should stand out less than anything else.
" * Code “commented out” should be nearly invisible.
"
* But real in-code documentation should have strong emphasis and beauty.
" * Everything should be differentiated, including identifiers, keywords, 3-4 types
"
of comments, strings, types, constants, conditionals, control structures, and
" more.
"
* Strings should be a nice color since much documentation should exist in source
" code as strings (think “”" comments in python or /** in java).
" * Normal text should be colored either black or white so it is obvious if
"
something is not recognized syntax.
" * No two used colors should be highly similar. Beauty is secondary to contrast.
"
* Each language will have some special syntaxes that need specific attention.
" E.g., py, pl, sh, html, vim, rst, moin, mail, etc. It’s helpful to have a
"
variety of file types hanging around and fire up your editor on each of them for
" the scheme you’re developing/modifying.
"
* The scheme should look nearly identical whether being used in an xterm or in a
" GUI. E.g., looks the same in vim as gvim.
"
* Really needs to support 256-colors. There are just too many different
" highlights to try and cover in 16 colors.
"

set background=dark
hi clear
if exists("syntax_on")
   syntax reset
endif
let g:colors_name = "mycolor"

hi Normal guibg=#b0b087 ctermfg=black
hi Cursor guibg=Yellow guifg=NONE ctermfg=white ctermbg=none
hi lCursor guifg=Yellow guibg=NONE ctermfg=white ctermbg=yellow
hi Search guifg=#90fff0 guibg=#2050d0 ctermfg=yellow ctermbg=magenta cterm=underline term=underline
hi Folded guibg=#a0a087 ctermfg=Cyan ctermbg=black cterm=bold term=bold
hi StatusLine gui=reverse guibg=white ctermfg=gray ctermbg=black
hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=gray ctermbg=black
hi ModeMsg gui=none ctermfg=lightblue
hi MoreMsg gui=reverse ctermfg=magenta
hi Question gui=NONE guifg=#ffff60 guibg=NONE ctermfg=green
hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=Yellow
hi NonText guifg=blue ctermfg=darkblue
hi VisualNOS gui=underline ctermfg=lightblue ctermbg=white
hi Title guifg=magenta gui=none ctermfg=magenta cterm=bold
hi SpellBad ctermfg=245
hi ErrorMsg guifg=#ffffff guibg=#287eff ctermfg=white ctermbg=lightblue
hi Visual guifg=#8080ff guibg=fg gui=reverse ctermfg=darkblue ctermbg=white
hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray
hi SpecialKey guifg=cyan ctermfg=darkcyan
hi Directory guifg=cyan ctermfg=cyan
hi WarningMsg guifg=red ctermfg=darkred
hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black
hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray

hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
hi LineNr guifg=#90f020 ctermfg=green

" Diff
hi DiffAdd guibg=lightblue ctermbg=lightblue ctermfg=white
hi DiffChange guibg=darkmagenta ctermbg=darkmagenta ctermfg=white
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red ctermfg=white

hi Comment guifg=#80817c ctermfg=darkgray
hi Constant guifg=red4 ctermfg=124
hi Special guifg=purple3 ctermfg=lightblue
hi Identifier guifg=darkblue ctermfg=lightgreen
hi Statement guifg=orange4 gui=none ctermfg=darkyellow
hi SpecialStatement guifg=purple2 ctermfg=cyan
hi PreProc guifg=#0066ff ctermfg=192
hi type ctermfg=green guifg=#60ff60 gui=none
hi Underlined guifg=yellow ctermfg=192

"
suggested by tigmoid, 2008 Jul 18
hi Pmenu guifg=#c0c0c0 guibg=#404080 ctermbg=magenta ctermfg=white
hi PmenuSel guifg=#c0c0c0 guibg=#2050d0 ctermfg=yellow ctermbg=lightblue
hi PmenuSbar guifg=blue guibg=darkgray
hi PmenuThumb guifg=#c0c0c0

" Html
hi htmlBoldUnderline gui=underline
hi htmlBold gui=none
hi htmlBoldItalic gui=none
hi htmlBoldUnderlineItalic gui=underline

hi Number ctermfg=darkred
hi pythonCommentedCode guifg=#80817c ctermfg=red
hi pythonKingComment guifg=#d9d6d8 ctermfg=253
hi pythonSmartComment guifg=#9b7d93 ctermfg=138
hi pythonJavadoc guifg=#80817c ctermfg=yellow
hi pythonEpydoc guifg=#80817c ctermfg=brown
hi pythonMajorSection guifg=white ctermfg=white
hi pythonMinorSection guifg=white ctermfg=white
hi pythonInfoComment guifg=#80817c ctermfg=217
hi pythonDisabledComment guifg=#9d979c ctermfg=247
hi pythonEolComment guifg=#80817c ctermfg=blue
hi pythonTripleDirkString guifg=#056f7f ctermfg=23
hi pythonTripleTickString guifg=#9d979c ctermfg=247

"
General Programming
hi Type guifg=#626b3e gui=none cterm=bold ctermfg=darkgreen
hi String guifg=#0a1b98 ctermfg=darkblue
hi Function guifg=#99ff99 gui=bold ctermfg=darkgreen
hi Builtin_Function guifg=#b9dad9 gui=bold ctermfg=darkgreen
hi Conditional guifg=#1596bb ctermfg=lightblue
hi Repeat guifg=green4 ctermfg=cyan
hi Operator guifg=#c2f555 ctermfg=magenta
hi Include guifg=yellow1 ctermfg=136
hi Keyword guifg=yellow guibg=blue ctermfg=yellow
hi Exception guifg=yellow ctermfg=yellow
hi Define guifg=yellow ctermfg=yellow
hi Macro guifg=yellow ctermfg=yellow
hi PreCondit guifg=brown guibg=yellow
hi StorageClass guifg=yellow ctermfg=yellow
hi Structure guifg=yellow ctermfg=yellow
hi Typedef guifg=yellow ctermfg=yellow
hi Tag guifg=yellow ctermfg=yellow
hi SpecialChar guifg=yellow ctermfg=yellow
hi Delimiter guifg=pink ctermfg=yellow
hi SpecialComment guifg=yellow ctermfg=yellow
hi Debug guifg=yellow ctermfg=yellow


阅读(1156) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~