From 1e2061952df01fe87209156062e060fb69e19ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 26 Mar 2012 08:16:00 +0200 Subject: install colorscheme void --- colors/void.vim | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ vimrc | 2 ++ 2 files changed, 112 insertions(+) create mode 100644 colors/void.vim diff --git a/colors/void.vim b/colors/void.vim new file mode 100644 index 0000000..9e7e3c1 --- /dev/null +++ b/colors/void.vim @@ -0,0 +1,110 @@ +" Vim color file +" Maintainer: Andrew Lyon +" Last Change: 2012-03-21 06:01:00 PST +" Version: 2.1 + +" Note that this color scheme is loosely based off of desert.vim (Hans Fugal +" ) mixed with some of slate.vim (Ralph Amissah +" ) but with much of my own modification. + +set background=dark +if version > 580 + " no guarantees for version 5.8 and below, but this makes it stop + " complaining + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="void" + +hi Normal guifg=#e0e0e0 guibg=grey15 + +" 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=black guifg=black 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=black guifg=#cccccc gui=none +hi StatusLineNC guibg=black guifg=grey40 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=grey50 ctermfg=darkcyan +hi Comment guifg=darkgrey gui=reverse ctermfg=darkgrey +hi Constant guifg=#e09085 ctermfg=brown +hi Identifier guifg=#d0d0b0 +hi Statement guifg=#ccaa88 gui=bold cterm=bold term=bold +"hi Statement guifg=darkkhaki +hi PreProc guifg=#c8e0b0 +hi Type guifg=#99cccc term=NONE cterm=NONE gui=NONE +hi Special guifg=#bbccee cterm=bold term=bold +hi Operator guifg=navajowhite cterm=NONE +"hi Underlined +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=orangered guibg=yellow2 +hi Todo guifg=orange guibg=gray40 + +" Fuf/menu stuff +hi Pmenu guifg=#aadddd guibg=#333333 +hi PmenuSel guifg=#ddeeee guibg=#335533 + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText guibg=grey15 cterm=bold ctermfg=darkblue +hi Directory ctermfg=brown guifg=#ddbb66 +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr guifg=grey50 ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + diff --git a/vimrc b/vimrc index 66f0277..9ac1d15 100644 --- a/vimrc +++ b/vimrc @@ -2,7 +2,9 @@ call pathogen#infect() +" color scheme map :let &background = ( &background == "dark" ? "light" : "dark" ) +colorscheme void " Switch syntax highlighting on, when the terminal has colors " Also switch on highlighting the last used search pattern. -- cgit v1.1-2-g2b99