2018-10-23 commit, with vim-pathogen

This commit is contained in:
trey 2018-10-23 19:13:25 -04:00
parent 1d67b40d1c
commit 7193782b0f
214 changed files with 44511 additions and 0 deletions

921
CSApprox.vim Executable file
View File

@ -0,0 +1,921 @@
" CSApprox: Make gvim-only colorschemes Just Work terminal vim
" Maintainer: Matthew Wozniski (godlygeek@gmail.com)
" Date: Fri, 14 Sep 2012 01:12:13 -0400
" Version: 4.00
" History: :help csapprox-changelog
"
" Long Description:
" It's hard to find colorschemes for terminal Vim. Most colorschemes are
" written to only support GVim, and don't work at all in terminal Vim.
"
" This plugin makes GVim-only colorschemes Just Work in terminal Vim, as long
" as the terminal supports 88 or 256 colors - and most do these days. This
" usually requires no user interaction (but see below for what to do if things
" don't Just Work). After getting this plugin happily installed, any time you
" use :colorscheme it will do its magic and make the colorscheme Just Work.
"
" Whenever you change colorschemes using the :colorscheme command this script
" will be executed. It will take the colors that the scheme specified for use
" in the GUI and use an approximation algorithm to try to gracefully degrade
" them to the closest color available in your terminal. If you are running in
" a GUI or if your terminal doesn't support 88 or 256 colors, no changes are
" made. Also, no changes will be made if the colorscheme seems to have been
" high color already.
"
" License:
" Copyright (c) 2012, Matthew J. Wozniski
" All rights reserved.
"
" Redistribution and use in source and binary forms, with or without
" modification, are permitted provided that the following conditions are met:
" * Redistributions of source code must retain the above copyright
" notice, this list of conditions and the following disclaimer.
" * Redistributions in binary form must reproduce the above copyright
" notice, this list of conditions and the following disclaimer in the
" documentation and/or other materials provided with the distribution.
" * The names of the contributors may not be used to endorse or promote
" products derived from this software without specific prior written
" permission.
"
" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY
" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
" {>1} Basic plugin setup
" {>2} Check preconditions
" Quit if the user doesn't want or need us or is missing the gui feature. We
" need +gui to be able to check the gui color settings; vim doesn't bother to
" store them if it is not built with +gui.
if exists('g:CSApprox_loaded')
finish
elseif !has('gui') && v:version < 703
" Vim versions less than < 7.3.0 need +gui.
" Warn unless the user set g:CSApprox_verbose_level to zero.
if get(g:, 'CSApprox_verbose_level', 1)
echomsg "CSApprox needs gui support - not loading."
echomsg " See :help |csapprox-+gui| for possible workarounds."
endif
finish
endif
" {1} Mark us as loaded, and disable all compatibility options for now.
let g:CSApprox_loaded = 1
let s:savecpo = &cpo
set cpo&vim
" {>1} Collect info for the set highlights
" {>2} Determine if synIDattr is usable
" synIDattr() couldn't support 'guisp' until 7.2.052. This function returns
" true if :redir is needed to find the 'guisp' attribute, false if synIDattr()
" is functional. This test can be overridden by setting the global variable
" g:CSApprox_redirfallback to 1 (to force use of :redir) or to 0 (to force use
" of synIDattr()).
function! s:NeedRedirFallback()
if !exists("g:CSApprox_redirfallback")
let g:CSApprox_redirfallback = (v:version == 702 && !has('patch52'))
\ || v:version < 702
endif
return g:CSApprox_redirfallback
endfunction
" {>2} Collect and store the highlights
" Get a dictionary containing information for every highlight group not merely
" linked to another group. Return value is a dictionary, with highlight group
" numbers for keys and values that are dictionaries with four keys each,
" 'name', 'term', 'cterm', and 'gui'. 'name' holds the group name, and each
" of the others holds highlight information for that particular mode.
function! s:Highlights(modes)
let rv = {}
let i = 0
while 1
let i += 1
" Only interested in groups that exist and aren't linked
if synIDtrans(i) == 0
break
endif
" Handle vim bug allowing groups with name == "" to be created
if synIDtrans(i) != i || len(synIDattr(i, "name")) == 0
continue
endif
let rv[i] = {}
let rv[i].name = synIDattr(i, "name")
for where in a:modes
let rv[i][where] = {}
for attr in s:PossibleAttributes()
let rv[i][where][attr] = synIDattr(i, attr, where)
endfor
for attr in [ "fg", "bg" ]
let rv[i][where][attr] = synIDattr(i, attr.'#', where)
endfor
if where == "gui"
let rv[i][where]["sp"] = s:SynGuiSp(i, rv[i].name)
else
let rv[i][where]["sp"] = -1
endif
for attr in [ "fg", "bg", "sp" ]
if rv[i][where][attr] == -1
let rv[i][where][attr] = ''
endif
endfor
endfor
endwhile
return rv
endfunction
" {>2} Retrieve guisp
" Get guisp using whichever method is specified by _redir_fallback
function! s:SynGuiSp(idx, name)
if !s:NeedRedirFallback()
return s:SynGuiSpAttr(a:idx)
else
return s:SynGuiSpRedir(a:name)
endif
endfunction
" {>3} Implementation for retrieving guisp with redir hack
function! s:SynGuiSpRedir(name)
redir => temp
exe 'sil hi ' . a:name
redir END
let temp = matchstr(temp, 'guisp=\zs.*')
if len(temp) == 0 || temp[0] =~ '\s'
let temp = ""
else
" Make sure we can handle guisp='dark red'
let temp = substitute(temp, '[\x00].*', '', '')
let temp = substitute(temp, '\s*\(c\=term\|gui\).*', '', '')
let temp = substitute(temp, '\s*$', '', '')
endif
return temp
endfunction
" {>3} Implementation for retrieving guisp with synIDattr()
function! s:SynGuiSpAttr(idx)
return synIDattr(a:idx, 'sp#', 'gui')
endfunction
" {>1} Handle color names
" Place to store rgb.txt name to color mappings - lazy loaded if needed
let s:rgb = {}
" {>2} Builtin gui color names
" gui_x11.c and gui_gtk_x11.c have some default colors names that are searched
" if the x server doesn't know about a color. If 'showrgb' is available,
" we'll default to using these color names and values, and overwrite them with
" other values if 'showrgb' tells us about those colors.
let s:rgb_defaults = { "lightred" : "#FFBBBB",
\ "lightgreen" : "#88FF88",
\ "lightmagenta" : "#FFBBFF",
\ "darkcyan" : "#008888",
\ "darkblue" : "#0000BB",
\ "darkred" : "#BB0000",
\ "darkmagenta" : "#BB00BB",
\ "darkgrey" : "#BBBBBB",
\ "darkyellow" : "#BBBB00",
\ "gray10" : "#1A1A1A",
\ "grey10" : "#1A1A1A",
\ "gray20" : "#333333",
\ "grey20" : "#333333",
\ "gray30" : "#4D4D4D",
\ "grey30" : "#4D4D4D",
\ "gray40" : "#666666",
\ "grey40" : "#666666",
\ "gray50" : "#7F7F7F",
\ "grey50" : "#7F7F7F",
\ "gray60" : "#999999",
\ "grey60" : "#999999",
\ "gray70" : "#B3B3B3",
\ "grey70" : "#B3B3B3",
\ "gray80" : "#CCCCCC",
\ "grey80" : "#CCCCCC",
\ "gray90" : "#E5E5E5",
\ "grey90" : "#E5E5E5" }
" {>2} Colors that vim will use by name in one of the default schemes, either
" for bg=light or for bg=dark. This lets us avoid loading the entire rgb.txt
" database when the scheme itself doesn't ask for colors by name.
let s:rgb_presets = { "black" : "#000000",
\ "blue" : "#0000ff",
\ "brown" : "#a52a2a",
\ "cyan" : "#00ffff",
\ "darkblue" : "#00008b",
\ "darkcyan" : "#008b8b",
\ "darkgrey" : "#a9a9a9",
\ "darkmagenta" : "#8b008b",
\ "green" : "#00ff00",
\ "grey" : "#bebebe",
\ "grey40" : "#666666",
\ "grey90" : "#e5e5e5",
\ "lightblue" : "#add8e6",
\ "lightcyan" : "#e0ffff",
\ "lightgrey" : "#d3d3d3",
\ "lightmagenta" : "#ffbbff",
\ "magenta" : "#ff00ff",
\ "red" : "#ff0000",
\ "seagreen" : "#2e8b57",
\ "white" : "#ffffff",
\ "yellow" : "#ffff00" }
" {>2} Find available color names
" Find the valid named colors. By default, use our own rgb list, but try to
" retrieve the system's list if g:CSApprox_use_showrgb is set to true. Store
" the color names and color values to the dictionary s:rgb - the keys are
" color names (in lowercase), the values are strings representing color values
" (as '#rrggbb').
function! s:UpdateRgbHash()
try
if !exists("g:CSApprox_use_showrgb") || !g:CSApprox_use_showrgb
throw "Not using showrgb"
endif
" We want to use the 'showrgb' program, if it's around
let lines = split(system('showrgb'), '\n')
if v:shell_error || !exists('lines') || empty(lines)
throw "'showrgb' didn't give us an rgb.txt"
endif
let s:rgb = copy(s:rgb_defaults)
" fmt is (blanks?)(red)(blanks)(green)(blanks)(blue)(blanks)(name)
let parsepat = '^\s*\(\d\+\)\s\+\(\d\+\)\s\+\(\d\+\)\s\+\(.*\)$'
for line in lines
let v = matchlist(line, parsepat)
if len(v) < 0
throw "CSApprox: Bad RGB line: " . string(line)
endif
let s:rgb[tolower(v[4])] = printf("#%02x%02x%02x", v[1], v[2], v[3])
endfor
catch
try
let s:rgb = csapprox#rgb()
catch
echohl ErrorMsg
echomsg "Can't call rgb() from autoload/csapprox.vim"
echomsg "Named colors will not be available!"
echohl None
endtry
endtry
return 0
endfunction
" {>1} Derive and set cterm attributes
" {>2} List of all possible attributes
function! s:PossibleAttributes()
return [ "bold", "italic", "reverse", "underline", "undercurl" ]
endfunction
" {>2} Attribute overrides
" Allow the user to override a specified attribute with another attribute.
" For example, the default is to map 'italic' to 'underline' (since many
" terminals cannot display italic text, and gvim itself will replace italics
" with underlines where italicizing is impossible), and to replace 'sp' with
" 'fg' (since terminals can't use one color for the underline and another for
" the foreground, we color the entire word). This default can of course be
" overridden by the user, by setting g:CSApprox_attr_map. This map must be
" a dictionary of string keys, representing the same attributes that synIDattr
" can look up, to string values, representing the attribute mapped to or an
" empty string to disable the given attribute entirely.
function! s:attr_map(attr)
let rv = get(g:CSApprox_attr_map, a:attr, a:attr)
return rv
endfunction
function! s:NormalizeAttrMap(map)
let old = copy(a:map)
let new = filter(a:map, '0')
let valid_attrs = [ 'bg', 'fg', 'sp' ] + s:PossibleAttributes()
let colorattrs = [ 'fg', 'bg', 'sp' ]
for olhs in keys(old)
if olhs ==? 'inverse'
let nlhs = 'reverse'
endif
let orhs = old[olhs]
if orhs ==? 'inverse'
let nrhs = 'reverse'
endif
let nlhs = tolower(olhs)
let nrhs = tolower(orhs)
try
if index(valid_attrs, nlhs) == -1
echomsg "CSApprox: Bad attr map (removing unrecognized attribute " . olhs . ")"
elseif nrhs != '' && index(valid_attrs, nrhs) == -1
echomsg "CSApprox: Bad attr map (removing unrecognized attribute " . orhs . ")"
elseif nrhs != '' && !!(index(colorattrs, nlhs)+1) != !!(index(colorattrs, nrhs)+1)
echomsg "CSApprox: Bad attr map (removing " . olhs . "; type mismatch with " . orhs . ")"
elseif nrhs == 'sp'
echomsg "CSApprox: Bad attr map (removing " . olhs . "; can't map to 'sp')"
else
let new[nlhs] = nrhs
endif
catch
echo v:exception
endtry
endfor
endfunction
" {>2} Normalize the GUI settings of a highlight group
" If the Normal group is cleared, set it to gvim's default, black on white
" Though this would be a really weird thing for a scheme to do... *shrug*
function! s:FixupGuiInfo(highlights)
if a:highlights[s:hlid_normal].gui.bg == ''
let a:highlights[s:hlid_normal].gui.bg = 'white'
endif
if a:highlights[s:hlid_normal].gui.fg == ''
let a:highlights[s:hlid_normal].gui.fg = 'black'
endif
endfunction
" {>2} Map gui settings to cterm settings
" Given information about a highlight group, replace the cterm settings with
" the mapped gui settings, applying any attribute overrides along the way. In
" particular, this gives special treatment to the 'reverse' attribute and the
" 'guisp' attribute. In particular, if the 'reverse' attribute is set for
" gvim, we unset it for the terminal and instead set ctermfg to match guibg
" and vice versa, since terminals can consider a 'reverse' flag to mean using
" default-bg-on-default-fg instead of current-bg-on-current-fg. We also
" ensure that the 'sp' attribute is never set for cterm, since no terminal can
" handle that particular highlight. If the user wants to display the guisp
" color, he should map it to either 'fg' or 'bg' using g:CSApprox_attr_map.
function! s:FixupCtermInfo(highlights)
for hl in values(a:highlights)
if !has_key(hl, 'cterm')
let hl["cterm"] = {}
endif
" Find attributes to be set in the terminal
for attr in s:PossibleAttributes()
let hl.cterm[attr] = ''
if hl.gui[attr] == 1
if s:attr_map(attr) != ''
let hl.cterm[ s:attr_map(attr) ] = 1
endif
endif
endfor
for color in [ "bg", "fg" ]
let eff_color = color
if hl.cterm['reverse']
let eff_color = (color == 'bg' ? 'fg' : 'bg')
endif
let hl.cterm[color] = get(hl.gui, s:attr_map(eff_color), '')
endfor
if hl.gui['sp'] != '' && s:attr_map('sp') != ''
let hl.cterm[s:attr_map('sp')] = hl.gui['sp']
endif
if exists("g:CSApprox_fake_reverse") && g:CSApprox_fake_reverse
if hl.cterm['reverse'] && hl.cterm.bg == ''
let hl.cterm.bg = 'fg'
endif
if hl.cterm['reverse'] && hl.cterm.fg == ''
let hl.cterm.fg = 'bg'
endif
if hl.cterm['reverse']
let hl.cterm.reverse = ''
endif
endif
endfor
endfunction
" {>2} Kludge around inability to reference autoload functions
function! s:DefaultApproximator(...)
return call('csapprox#per_component#Approximate', a:000)
endfunction
" {>2} Set cterm colors for a highlight group
" Given the information for a single highlight group (ie, the value of
" one of the items in s:Highlights() already normalized with s:FixupCtermInfo
" and s:FixupGuiInfo), handle matching the gvim colors to the closest cterm
" colors by calling the appropriate approximator as specified with the
" g:CSApprox_approximator_function variable and set the colors and attributes
" appropriately to match the gui.
function! s:SetCtermFromGui(hl)
let hl = a:hl
" Set up the default approximator function, if needed
if !exists("g:CSApprox_approximator_function")
let g:CSApprox_approximator_function = function("s:DefaultApproximator")
endif
" Clear existing highlights
exe 'hi ' . hl.name . ' cterm=NONE ctermbg=NONE ctermfg=NONE'
for which in [ 'bg', 'fg' ]
let val = hl.cterm[which]
" Skip unset colors
if val == -1 || val == ""
continue
endif
" Try translating anything but 'fg', 'bg', #rrggbb, and rrggbb from an
" rgb.txt color to a #rrggbb color
if val !~? '^[fb]g$' && val !~ '^#\=\x\{6}$'
try
" First see if it is in our preset-by-vim rgb list
let val = s:rgb_presets[tolower(val)]
catch
" Then try loading and checking our real rgb list
if empty(s:rgb)
call s:UpdateRgbHash()
endif
try
let val = s:rgb[tolower(val)]
catch
" And then barf if we still haven't found it
if &verbose
echomsg "CSApprox: Colorscheme uses unknown color \"" . val . "\""
endif
continue
endtry
endtry
endif
if val =~? '^[fb]g$'
exe 'hi ' . hl.name . ' cterm' . which . '=' . val
let hl.cterm[which] = val
elseif val =~ '^#\=\x\{6}$'
let val = substitute(val, '^#', '', '')
let r = str2nr(val[0:1], 16)
let g = str2nr(val[2:3], 16)
let b = str2nr(val[4:5], 16)
let hl.cterm[which] = g:CSApprox_approximator_function(r, g, b)
exe 'hi ' . hl.name . ' cterm' . which . '=' . hl.cterm[which]
else
throw "Internal error handling color: " . val
endif
endfor
" Finally, set the attributes
let attrs = s:PossibleAttributes()
call filter(attrs, 'hl.cterm[v:val] == 1')
if !empty(attrs)
exe 'hi ' . hl.name . ' cterm=' . join(attrs, ',')
endif
endfunction
" {>1} Top-level control
" Cache the highlight ID of the normal group; it's used often and won't change
let s:hlid_normal = hlID('Normal')
" {>2} Builtin cterm color names above 15
" Vim defines some color name to high color mappings internally (see
" syntax.c:do_highlight). Since we don't want to overwrite a colorscheme that
" was actually written for a high color terminal with our choices, but have no
" way to tell if a colorscheme was written for a high color terminal, we fall
" back on guessing. If any highlight group has a cterm color set to 16 or
" higher, we assume that the user has used a high color colorscheme - unless
" that color is one of the below, which vim can set internally when a color is
" requested by name.
let s:presets_88 = []
let s:presets_88 += [32] " Brown
let s:presets_88 += [72] " DarkYellow
let s:presets_88 += [84] " Gray
let s:presets_88 += [84] " Grey
let s:presets_88 += [82] " DarkGray
let s:presets_88 += [82] " DarkGrey
let s:presets_88 += [43] " LightBlue
let s:presets_88 += [61] " LightGreen
let s:presets_88 += [63] " LightCyan
let s:presets_88 += [74] " LightRed
let s:presets_88 += [75] " LightMagenta
let s:presets_88 += [78] " LightYellow
let s:presets_256 = []
let s:presets_256 += [130] " Brown
let s:presets_256 += [130] " DarkYellow
let s:presets_256 += [248] " Gray
let s:presets_256 += [248] " Grey
let s:presets_256 += [242] " DarkGray
let s:presets_256 += [242] " DarkGrey
let s:presets_256 += [ 81] " LightBlue
let s:presets_256 += [121] " LightGreen
let s:presets_256 += [159] " LightCyan
let s:presets_256 += [224] " LightRed
let s:presets_256 += [225] " LightMagenta
let s:presets_256 += [229] " LightYellow
" {>2} Wrapper around :exe to allow :executing multiple commands.
" "cmd" is the command to be :executed.
" If the variable is a String, it is :executed.
" If the variable is a List, each element is :executed.
function! s:exe(cmd)
if type(a:cmd) == type('')
exe a:cmd
else
for cmd in a:cmd
call s:exe(cmd)
endfor
endif
endfunction
" {>2} Function to handle hooks
" Prototype: HandleHooks(type [, scheme])
" "type" is the type of hook to be executed, ie. "pre" or "post"
" "scheme" is the name of the colorscheme that is currently active, if known
"
" If the variables g:CSApprox_hook_{type} and g:CSApprox_hook_{scheme}_{type}
" exist, this will :execute them in that order. If one does not exist, it
" will silently be ignored.
"
" If the scheme name contains characters that are invalid in a variable name,
" they will simply be removed. Ie, g:colors_name = "123 foo_bar-baz456"
" becomes "foo_barbaz456"
"
" NOTE: Exceptions will be printed out, rather than end processing early. The
" rationale is that it is worse for the user to fix the hook in an editor with
" broken colors. :)
function! s:HandleHooks(type, ...)
let type = a:type
let scheme = (a:0 == 1 ? a:1 : "")
let scheme = substitute(scheme, '[^[:alnum:]_]', '', 'g')
let scheme = substitute(scheme, '^\d\+', '', '')
for cmd in [ 'g:CSApprox_hook_' . type,
\ 'g:CSApprox_' . scheme . '_hook_' . type,
\ 'g:CSApprox_hook_' . scheme . '_' . type ]
if exists(cmd)
try
call s:exe(eval(cmd))
catch
echomsg "Error processing " . cmd . ":"
echomsg v:exception
endtry
endif
endfor
endfunction
" {>2} Main function
" Wrapper around the actual implementation to make it easier to ensure that
" all temporary settings are restored by the time we return, whether or not
" something was thrown. Additionally, sets the 'verbose' option to the max of
" g:CSApprox_verbose_level (default 1) and &verbose for the duration of the
" main function. This allows us to default to a message whenever any error,
" even a recoverable one, occurs, meaning the user quickly finds out when
" something's wrong, but makes it very easy for the user to make us silent.
function! s:CSApprox(...)
try
if a:0 == 1 && a:1
if !exists('s:inhibit_hicolor_test')
let s:inhibit_hicolor_test = 0
endif
let s:inhibit_hicolor_test += 1
endif
let savelz = &lz
set lz
if exists("g:CSApprox_attr_map") && type(g:CSApprox_attr_map) == type({})
call s:NormalizeAttrMap(g:CSApprox_attr_map)
else
let g:CSApprox_attr_map = { 'italic' : 'underline', 'sp' : 'fg' }
endif
" colors_name must be unset and reset, or vim will helpfully reload the
" colorscheme when we set the background for the Normal group.
" See the help entries ':hi-normal-cterm' and 'g:colors_name'
if exists("g:colors_name")
let colors_name = g:colors_name
unlet g:colors_name
endif
" Similarly, the global variable "syntax_cmd" must be set to something vim
" doesn't recognize, lest vim helpfully switch all colors back to the
" default whenever the Normal group is changed (in syncolor.vim)...
if exists("g:syntax_cmd")
let syntax_cmd = g:syntax_cmd
endif
let g:syntax_cmd = "PLEASE DON'T CHANGE ANY COLORS!!!"
" Set up our verbosity level, if needed.
" Default to 1, so the user can know if something's wrong.
if !exists("g:CSApprox_verbose_level")
let g:CSApprox_verbose_level = 1
endif
call s:HandleHooks("pre", (exists("colors_name") ? colors_name : ""))
let old_bg = &bg
" Set 'verbose' set to the maximum of &verbose and CSApprox_verbose_level
exe max([&vbs, g:CSApprox_verbose_level]) 'verbose call s:CSApproxImpl()'
let &bg = old_bg
call s:HandleHooks("post", (exists("colors_name") ? colors_name : ""))
finally
if exists("colors_name")
let g:colors_name = colors_name
endif
unlet g:syntax_cmd
if exists("syntax_cmd")
let g:syntax_cmd = syntax_cmd
endif
let &lz = savelz
if a:0 == 1 && a:1
let s:inhibit_hicolor_test -= 1
if s:inhibit_hicolor_test == 0
unlet s:inhibit_hicolor_test
endif
endif
endtry
endfunction
" {>2} CSApprox implementation
" Verifies that the user has not started the gui, and that vim recognizes his
" terminal as having enough colors for us to go on, then gathers the existing
" highlights and sets the cterm colors to match the gui colors for all those
" highlights (unless the colorscheme was already high-color).
function! s:CSApproxImpl()
" Return if not running in an 88/256 color terminal
if &t_Co != 256 && &t_Co != 88
if &verbose && &t_Co != ''
echomsg "CSApprox skipped; terminal only has" &t_Co "colors, not 88/256"
echomsg "Try checking :help csapprox-terminal for workarounds"
endif
return
endif
" Get the current highlight colors
let highlights = s:Highlights(["gui"])
let hinums = keys(highlights)
" Make sure that the script is not already 256 color by checking to make
" sure that no groups are set to a value above 256, unless the color they're
" set to can be set internally by vim (gotten by scraping
" color_numbers_{88,256} in syntax.c:do_highlight)
"
" XXX: s:inhibit_hicolor_test allows this test to be skipped for snapshots
if !exists("s:inhibit_hicolor_test") || !s:inhibit_hicolor_test
for hlid in hinums
for type in [ 'bg', 'fg' ]
let color = synIDattr(hlid, type, 'cterm')
if color > 15 && index(s:presets_{&t_Co}, str2nr(color)) < 0
" The value is set above 15, and wasn't set by vim.
if &verbose >= 2
echomsg 'CSApprox: Exiting - high' type 'color found for' highlights[hlid].name
endif
return
endif
endfor
endfor
endif
call s:FixupGuiInfo(highlights)
call s:FixupCtermInfo(highlights)
" We need to set the Normal group first so 'bg' and 'fg' work as colors
call insert(hinums, remove(hinums, index(hinums, string(s:hlid_normal))))
" then set each color's cterm attributes to match gui
for hlid in hinums
call s:SetCtermFromGui(highlights[hlid])
endfor
endfunction
" {>2} Write out the current colors to an 88/256 color colorscheme file.
" "file" - destination filename
" "overwrite" - overwrite an existing file
function! s:CSApproxSnapshot(file, overwrite)
let force = a:overwrite
let file = fnamemodify(a:file, ":p")
if empty(file)
throw "Bad file name: \"" . file . "\""
elseif (filewritable(fnamemodify(file, ':h')) != 2)
throw "Cannot write to directory \"" . fnamemodify(file, ':h') . "\""
elseif (glob(file) || filereadable(file)) && !force
" TODO - respect 'confirm' here and prompt if it's set.
echohl ErrorMsg
echomsg "E13: File exists (add ! to override)"
echohl None
return
endif
" Sigh... This is basically a bug, but one that I have no chance of fixing.
" Vim decides that Pmenu should be highlighted in 'LightMagenta' in terminal
" vim and as 'Magenta' in gvim... And I can't ask it what color it actually
" *wants*. As far as I can see, there's no way for me to learn that
" I should output 'Magenta' when 'LightMagenta' is provided by vim for the
" terminal.
if !has('gui_running')
echohl WarningMsg
echomsg "Warning: The written colorscheme may have incorrect colors"
echomsg " when CSApproxSnapshot is used in terminal vim!"
echohl None
endif
let save_t_Co = &t_Co
let s:inhibit_hicolor_test = 1
if exists("g:CSApprox_konsole")
let save_CSApprox_konsole = g:CSApprox_konsole
endif
if exists("g:CSApprox_eterm")
let save_CSApprox_eterm = g:CSApprox_eterm
endif
" Needed just like in CSApprox()
if exists("g:colors_name")
let colors_name = g:colors_name
unlet g:colors_name
endif
" Needed just like in CSApprox()
if exists("g:syntax_cmd")
let syntax_cmd = g:syntax_cmd
endif
let g:syntax_cmd = "PLEASE DON'T CHANGE ANY COLORS!!!"
try
let lines = []
let lines += [ '" This scheme was created by CSApproxSnapshot' ]
let lines += [ '" on ' . strftime("%a, %d %b %Y") ]
let lines += [ '' ]
let lines += [ 'hi clear' ]
let lines += [ 'if exists("syntax_on")' ]
let lines += [ ' syntax reset' ]
let lines += [ 'endif' ]
let lines += [ '' ]
let lines += [ 'if v:version < 700' ]
let lines += [ ' let g:colors_name = expand("<sfile>:t:r")' ]
let lines += [ ' command! -nargs=+ CSAHi exe "hi" substitute(substitute(<q-args>, "undercurl", "underline", "g"), "guisp\\S\\+", "", "g")' ]
let lines += [ 'else' ]
let lines += [ ' let g:colors_name = expand("<sfile>:t:r")' ]
let lines += [ ' command! -nargs=+ CSAHi exe "hi" <q-args>' ]
let lines += [ 'endif' ]
let lines += [ '' ]
let lines += [ 'function! s:old_kde()' ]
let lines += [ ' " Konsole only used its own palette up til KDE 4.2.0' ]
let lines += [ " if executable('kde4-config') && system('kde4-config --kde-version') =~ '^4\.[10]\.'" ]
let lines += [ ' return 1' ]
let lines += [ " elseif executable('kde-config') && system('kde-config --version') =~# 'KDE: 3\.'" ]
let lines += [ ' return 1' ]
let lines += [ ' else' ]
let lines += [ ' return 0' ]
let lines += [ ' endif' ]
let lines += [ 'endfunction' ]
let lines += [ '' ]
let lines += [ 'if 0' ]
for round in [ 'konsole', 'eterm', 'xterm', 'urxvt' ]
sil! unlet g:CSApprox_eterm
sil! unlet g:CSApprox_konsole
if round == 'konsole'
let g:CSApprox_konsole = 1
elseif round == 'eterm'
let g:CSApprox_eterm = 1
endif
if round == 'urxvt'
set t_Co=88
else
set t_Co=256
endif
call s:CSApprox()
let highlights = s:Highlights(["term", "cterm", "gui"])
call s:FixupGuiInfo(highlights)
if round == 'konsole' || round == 'eterm'
if round == 'konsole'
let term_matches_round = '(&term =~? "^konsole" && s:old_kde())'
else
let term_matches_round = '&term =~? "^' . round . '"'
endif
let lines += [ 'elseif has("gui_running") || (&t_Co == ' . &t_Co
\ . ' && (&term ==# "xterm" || &term =~# "^screen")'
\ . ' && exists("g:CSApprox_' . round . '")'
\ . ' && g:CSApprox_' . round . ')'
\ . ' || ' . term_matches_round ]
else
let lines += [ 'elseif has("gui_running") || &t_Co == ' . &t_Co ]
endif
let hinums = keys(highlights)
call insert(hinums, remove(hinums, index(hinums, string(s:hlid_normal))))
for hlnum in hinums
let hl = highlights[hlnum]
let line = ' CSAHi ' . hl.name
for type in [ 'term', 'cterm', 'gui' ]
let attrs = s:PossibleAttributes()
call filter(attrs, 'hl[type][v:val] == 1')
let line .= ' ' . type . '=' . (empty(attrs) ? 'NONE' : join(attrs, ','))
if type != 'term'
let line .= ' ' . type . 'bg=' . (len(hl[type].bg) ? hl[type].bg : 'bg')
let line .= ' ' . type . 'fg=' . (len(hl[type].fg) ? hl[type].fg : 'fg')
if type == 'gui' && hl.gui.sp !~ '^\s*$'
let line .= ' ' . type . 'sp=' . hl[type].sp
endif
endif
endfor
let lines += [ line ]
endfor
endfor
let lines += [ 'endif' ]
let lines += [ '' ]
let lines += [ 'if 1' ]
let lines += [ ' delcommand CSAHi' ]
let lines += [ 'endif' ]
call writefile(lines, file)
finally
let &t_Co = save_t_Co
if exists("save_CSApprox_konsole")
let g:CSApprox_konsole = save_CSApprox_konsole
endif
if exists("save_CSApprox_eterm")
let g:CSApprox_eterm = save_CSApprox_eterm
endif
if exists("colors_name")
let g:colors_name = colors_name
endif
unlet g:syntax_cmd
if exists("syntax_cmd")
let g:syntax_cmd = syntax_cmd
endif
call s:CSApprox()
unlet s:inhibit_hicolor_test
endtry
endfunction
" {>2} Snapshot user command
command! -bang -nargs=1 -complete=file -bar CSApproxSnapshot
\ call s:CSApproxSnapshot(<f-args>, strlen("<bang>"))
" {>2} Manual updates
command -bang -bar CSApprox call s:CSApprox(strlen("<bang>"))
" {>1} Autocmds
" Set up an autogroup to hook us on the completion of any :colorscheme command
augroup CSApprox
au!
au ColorScheme * call s:CSApprox()
"au User CSApproxPost highlight Normal ctermbg=none | highlight NonText ctermbg=None
augroup END
" {>1} Restore compatibility options
let &cpo = s:savecpo
unlet s:savecpo
" {0} vim:sw=2:sts=2:et:fdm=expr:fde=substitute(matchstr(getline(v\:lnum),'^\\s*"\\s*{\\zs.\\{-}\\ze}'),'^$','=','')

835
CSApprox/autoload/csapprox.vim Executable file
View File

@ -0,0 +1,835 @@
" Copyright (c) 2012, Matthew J. Wozniski
" All rights reserved.
"
" Redistribution and use in source and binary forms, with or without
" modification, are permitted provided that the following conditions are met:
" * Redistributions of source code must retain the above copyright
" notice, this list of conditions and the following disclaimer.
" * Redistributions in binary form must reproduce the above copyright
" notice, this list of conditions and the following disclaimer in the
" documentation and/or other materials provided with the distribution.
" * The names of the contributors may not be used to endorse or promote
" products derived from this software without specific prior written
" permission.
"
" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY
" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
let s:rgb = {}
let s:rgb["alice blue"] = "#f0f8ff"
let s:rgb["aliceblue"] = "#f0f8ff"
let s:rgb["antique white"] = "#faebd7"
let s:rgb["antiquewhite"] = "#faebd7"
let s:rgb["antiquewhite1"] = "#ffefdb"
let s:rgb["antiquewhite2"] = "#eedfcc"
let s:rgb["antiquewhite3"] = "#cdc0b0"
let s:rgb["antiquewhite4"] = "#8b8378"
let s:rgb["aquamarine"] = "#7fffd4"
let s:rgb["aquamarine1"] = "#7fffd4"
let s:rgb["aquamarine2"] = "#76eec6"
let s:rgb["aquamarine3"] = "#66cdaa"
let s:rgb["aquamarine4"] = "#458b74"
let s:rgb["azure"] = "#f0ffff"
let s:rgb["azure1"] = "#f0ffff"
let s:rgb["azure2"] = "#e0eeee"
let s:rgb["azure3"] = "#c1cdcd"
let s:rgb["azure4"] = "#838b8b"
let s:rgb["beige"] = "#f5f5dc"
let s:rgb["bisque"] = "#ffe4c4"
let s:rgb["bisque1"] = "#ffe4c4"
let s:rgb["bisque2"] = "#eed5b7"
let s:rgb["bisque3"] = "#cdb79e"
let s:rgb["bisque4"] = "#8b7d6b"
let s:rgb["black"] = "#000000"
let s:rgb["blanched almond"] = "#ffebcd"
let s:rgb["blanchedalmond"] = "#ffebcd"
let s:rgb["blue violet"] = "#8a2be2"
let s:rgb["blue"] = "#0000ff"
let s:rgb["blue1"] = "#0000ff"
let s:rgb["blue2"] = "#0000ee"
let s:rgb["blue3"] = "#0000cd"
let s:rgb["blue4"] = "#00008b"
let s:rgb["blueviolet"] = "#8a2be2"
let s:rgb["brown"] = "#a52a2a"
let s:rgb["brown1"] = "#ff4040"
let s:rgb["brown2"] = "#ee3b3b"
let s:rgb["brown3"] = "#cd3333"
let s:rgb["brown4"] = "#8b2323"
let s:rgb["burlywood"] = "#deb887"
let s:rgb["burlywood1"] = "#ffd39b"
let s:rgb["burlywood2"] = "#eec591"
let s:rgb["burlywood3"] = "#cdaa7d"
let s:rgb["burlywood4"] = "#8b7355"
let s:rgb["cadet blue"] = "#5f9ea0"
let s:rgb["cadetblue"] = "#5f9ea0"
let s:rgb["cadetblue1"] = "#98f5ff"
let s:rgb["cadetblue2"] = "#8ee5ee"
let s:rgb["cadetblue3"] = "#7ac5cd"
let s:rgb["cadetblue4"] = "#53868b"
let s:rgb["chartreuse"] = "#7fff00"
let s:rgb["chartreuse1"] = "#7fff00"
let s:rgb["chartreuse2"] = "#76ee00"
let s:rgb["chartreuse3"] = "#66cd00"
let s:rgb["chartreuse4"] = "#458b00"
let s:rgb["chocolate"] = "#d2691e"
let s:rgb["chocolate1"] = "#ff7f24"
let s:rgb["chocolate2"] = "#ee7621"
let s:rgb["chocolate3"] = "#cd661d"
let s:rgb["chocolate4"] = "#8b4513"
let s:rgb["coral"] = "#ff7f50"
let s:rgb["coral1"] = "#ff7256"
let s:rgb["coral2"] = "#ee6a50"
let s:rgb["coral3"] = "#cd5b45"
let s:rgb["coral4"] = "#8b3e2f"
let s:rgb["cornflower blue"] = "#6495ed"
let s:rgb["cornflowerblue"] = "#6495ed"
let s:rgb["cornsilk"] = "#fff8dc"
let s:rgb["cornsilk1"] = "#fff8dc"
let s:rgb["cornsilk2"] = "#eee8cd"
let s:rgb["cornsilk3"] = "#cdc8b1"
let s:rgb["cornsilk4"] = "#8b8878"
let s:rgb["cyan"] = "#00ffff"
let s:rgb["cyan1"] = "#00ffff"
let s:rgb["cyan2"] = "#00eeee"
let s:rgb["cyan3"] = "#00cdcd"
let s:rgb["cyan4"] = "#008b8b"
let s:rgb["dark blue"] = "#00008b"
let s:rgb["dark cyan"] = "#008b8b"
let s:rgb["dark goldenrod"] = "#b8860b"
let s:rgb["dark gray"] = "#a9a9a9"
let s:rgb["dark green"] = "#006400"
let s:rgb["dark grey"] = "#a9a9a9"
let s:rgb["dark khaki"] = "#bdb76b"
let s:rgb["dark magenta"] = "#8b008b"
let s:rgb["dark olive green"] = "#556b2f"
let s:rgb["dark orange"] = "#ff8c00"
let s:rgb["dark orchid"] = "#9932cc"
let s:rgb["dark red"] = "#8b0000"
let s:rgb["dark salmon"] = "#e9967a"
let s:rgb["dark sea green"] = "#8fbc8f"
let s:rgb["dark slate blue"] = "#483d8b"
let s:rgb["dark slate gray"] = "#2f4f4f"
let s:rgb["dark slate grey"] = "#2f4f4f"
let s:rgb["dark turquoise"] = "#00ced1"
let s:rgb["dark violet"] = "#9400d3"
let s:rgb["dark yellow"] = "#bbbb00"
let s:rgb["darkblue"] = "#00008b"
let s:rgb["darkcyan"] = "#008b8b"
let s:rgb["darkgoldenrod"] = "#b8860b"
let s:rgb["darkgoldenrod1"] = "#ffb90f"
let s:rgb["darkgoldenrod2"] = "#eead0e"
let s:rgb["darkgoldenrod3"] = "#cd950c"
let s:rgb["darkgoldenrod4"] = "#8b6508"
let s:rgb["darkgray"] = "#a9a9a9"
let s:rgb["darkgreen"] = "#006400"
let s:rgb["darkgrey"] = "#a9a9a9"
let s:rgb["darkkhaki"] = "#bdb76b"
let s:rgb["darkmagenta"] = "#8b008b"
let s:rgb["darkolivegreen"] = "#556b2f"
let s:rgb["darkolivegreen1"] = "#caff70"
let s:rgb["darkolivegreen2"] = "#bcee68"
let s:rgb["darkolivegreen3"] = "#a2cd5a"
let s:rgb["darkolivegreen4"] = "#6e8b3d"
let s:rgb["darkorange"] = "#ff8c00"
let s:rgb["darkorange1"] = "#ff7f00"
let s:rgb["darkorange2"] = "#ee7600"
let s:rgb["darkorange3"] = "#cd6600"
let s:rgb["darkorange4"] = "#8b4500"
let s:rgb["darkorchid"] = "#9932cc"
let s:rgb["darkorchid1"] = "#bf3eff"
let s:rgb["darkorchid2"] = "#b23aee"
let s:rgb["darkorchid3"] = "#9a32cd"
let s:rgb["darkorchid4"] = "#68228b"
let s:rgb["darkred"] = "#8b0000"
let s:rgb["darksalmon"] = "#e9967a"
let s:rgb["darkseagreen"] = "#8fbc8f"
let s:rgb["darkseagreen1"] = "#c1ffc1"
let s:rgb["darkseagreen2"] = "#b4eeb4"
let s:rgb["darkseagreen3"] = "#9bcd9b"
let s:rgb["darkseagreen4"] = "#698b69"
let s:rgb["darkslateblue"] = "#483d8b"
let s:rgb["darkslategray"] = "#2f4f4f"
let s:rgb["darkslategray1"] = "#97ffff"
let s:rgb["darkslategray2"] = "#8deeee"
let s:rgb["darkslategray3"] = "#79cdcd"
let s:rgb["darkslategray4"] = "#528b8b"
let s:rgb["darkslategrey"] = "#2f4f4f"
let s:rgb["darkturquoise"] = "#00ced1"
let s:rgb["darkviolet"] = "#9400d3"
let s:rgb["darkyellow"] = "#bbbb00"
let s:rgb["deep pink"] = "#ff1493"
let s:rgb["deep sky blue"] = "#00bfff"
let s:rgb["deeppink"] = "#ff1493"
let s:rgb["deeppink1"] = "#ff1493"
let s:rgb["deeppink2"] = "#ee1289"
let s:rgb["deeppink3"] = "#cd1076"
let s:rgb["deeppink4"] = "#8b0a50"
let s:rgb["deepskyblue"] = "#00bfff"
let s:rgb["deepskyblue1"] = "#00bfff"
let s:rgb["deepskyblue2"] = "#00b2ee"
let s:rgb["deepskyblue3"] = "#009acd"
let s:rgb["deepskyblue4"] = "#00688b"
let s:rgb["dim gray"] = "#696969"
let s:rgb["dim grey"] = "#696969"
let s:rgb["dimgray"] = "#696969"
let s:rgb["dimgrey"] = "#696969"
let s:rgb["dodger blue"] = "#1e90ff"
let s:rgb["dodgerblue"] = "#1e90ff"
let s:rgb["dodgerblue1"] = "#1e90ff"
let s:rgb["dodgerblue2"] = "#1c86ee"
let s:rgb["dodgerblue3"] = "#1874cd"
let s:rgb["dodgerblue4"] = "#104e8b"
let s:rgb["firebrick"] = "#b22222"
let s:rgb["firebrick1"] = "#ff3030"
let s:rgb["firebrick2"] = "#ee2c2c"
let s:rgb["firebrick3"] = "#cd2626"
let s:rgb["firebrick4"] = "#8b1a1a"
let s:rgb["floral white"] = "#fffaf0"
let s:rgb["floralwhite"] = "#fffaf0"
let s:rgb["forest green"] = "#228b22"
let s:rgb["forestgreen"] = "#228b22"
let s:rgb["gainsboro"] = "#dcdcdc"
let s:rgb["ghost white"] = "#f8f8ff"
let s:rgb["ghostwhite"] = "#f8f8ff"
let s:rgb["gold"] = "#ffd700"
let s:rgb["gold1"] = "#ffd700"
let s:rgb["gold2"] = "#eec900"
let s:rgb["gold3"] = "#cdad00"
let s:rgb["gold4"] = "#8b7500"
let s:rgb["goldenrod"] = "#daa520"
let s:rgb["goldenrod1"] = "#ffc125"
let s:rgb["goldenrod2"] = "#eeb422"
let s:rgb["goldenrod3"] = "#cd9b1d"
let s:rgb["goldenrod4"] = "#8b6914"
let s:rgb["gray"] = "#bebebe"
let s:rgb["gray0"] = "#000000"
let s:rgb["gray1"] = "#030303"
let s:rgb["gray10"] = "#1a1a1a"
let s:rgb["gray100"] = "#ffffff"
let s:rgb["gray11"] = "#1c1c1c"
let s:rgb["gray12"] = "#1f1f1f"
let s:rgb["gray13"] = "#212121"
let s:rgb["gray14"] = "#242424"
let s:rgb["gray15"] = "#262626"
let s:rgb["gray16"] = "#292929"
let s:rgb["gray17"] = "#2b2b2b"
let s:rgb["gray18"] = "#2e2e2e"
let s:rgb["gray19"] = "#303030"
let s:rgb["gray2"] = "#050505"
let s:rgb["gray20"] = "#333333"
let s:rgb["gray21"] = "#363636"
let s:rgb["gray22"] = "#383838"
let s:rgb["gray23"] = "#3b3b3b"
let s:rgb["gray24"] = "#3d3d3d"
let s:rgb["gray25"] = "#404040"
let s:rgb["gray26"] = "#424242"
let s:rgb["gray27"] = "#454545"
let s:rgb["gray28"] = "#474747"
let s:rgb["gray29"] = "#4a4a4a"
let s:rgb["gray3"] = "#080808"
let s:rgb["gray30"] = "#4d4d4d"
let s:rgb["gray31"] = "#4f4f4f"
let s:rgb["gray32"] = "#525252"
let s:rgb["gray33"] = "#545454"
let s:rgb["gray34"] = "#575757"
let s:rgb["gray35"] = "#595959"
let s:rgb["gray36"] = "#5c5c5c"
let s:rgb["gray37"] = "#5e5e5e"
let s:rgb["gray38"] = "#616161"
let s:rgb["gray39"] = "#636363"
let s:rgb["gray4"] = "#0a0a0a"
let s:rgb["gray40"] = "#666666"
let s:rgb["gray41"] = "#696969"
let s:rgb["gray42"] = "#6b6b6b"
let s:rgb["gray43"] = "#6e6e6e"
let s:rgb["gray44"] = "#707070"
let s:rgb["gray45"] = "#737373"
let s:rgb["gray46"] = "#757575"
let s:rgb["gray47"] = "#787878"
let s:rgb["gray48"] = "#7a7a7a"
let s:rgb["gray49"] = "#7d7d7d"
let s:rgb["gray5"] = "#0d0d0d"
let s:rgb["gray50"] = "#7f7f7f"
let s:rgb["gray51"] = "#828282"
let s:rgb["gray52"] = "#858585"
let s:rgb["gray53"] = "#878787"
let s:rgb["gray54"] = "#8a8a8a"
let s:rgb["gray55"] = "#8c8c8c"
let s:rgb["gray56"] = "#8f8f8f"
let s:rgb["gray57"] = "#919191"
let s:rgb["gray58"] = "#949494"
let s:rgb["gray59"] = "#969696"
let s:rgb["gray6"] = "#0f0f0f"
let s:rgb["gray60"] = "#999999"
let s:rgb["gray61"] = "#9c9c9c"
let s:rgb["gray62"] = "#9e9e9e"
let s:rgb["gray63"] = "#a1a1a1"
let s:rgb["gray64"] = "#a3a3a3"
let s:rgb["gray65"] = "#a6a6a6"
let s:rgb["gray66"] = "#a8a8a8"
let s:rgb["gray67"] = "#ababab"
let s:rgb["gray68"] = "#adadad"
let s:rgb["gray69"] = "#b0b0b0"
let s:rgb["gray7"] = "#121212"
let s:rgb["gray70"] = "#b3b3b3"
let s:rgb["gray71"] = "#b5b5b5"
let s:rgb["gray72"] = "#b8b8b8"
let s:rgb["gray73"] = "#bababa"
let s:rgb["gray74"] = "#bdbdbd"
let s:rgb["gray75"] = "#bfbfbf"
let s:rgb["gray76"] = "#c2c2c2"
let s:rgb["gray77"] = "#c4c4c4"
let s:rgb["gray78"] = "#c7c7c7"
let s:rgb["gray79"] = "#c9c9c9"
let s:rgb["gray8"] = "#141414"
let s:rgb["gray80"] = "#cccccc"
let s:rgb["gray81"] = "#cfcfcf"
let s:rgb["gray82"] = "#d1d1d1"
let s:rgb["gray83"] = "#d4d4d4"
let s:rgb["gray84"] = "#d6d6d6"
let s:rgb["gray85"] = "#d9d9d9"
let s:rgb["gray86"] = "#dbdbdb"
let s:rgb["gray87"] = "#dedede"
let s:rgb["gray88"] = "#e0e0e0"
let s:rgb["gray89"] = "#e3e3e3"
let s:rgb["gray9"] = "#171717"
let s:rgb["gray90"] = "#e5e5e5"
let s:rgb["gray91"] = "#e8e8e8"
let s:rgb["gray92"] = "#ebebeb"
let s:rgb["gray93"] = "#ededed"
let s:rgb["gray94"] = "#f0f0f0"
let s:rgb["gray95"] = "#f2f2f2"
let s:rgb["gray96"] = "#f5f5f5"
let s:rgb["gray97"] = "#f7f7f7"
let s:rgb["gray98"] = "#fafafa"
let s:rgb["gray99"] = "#fcfcfc"
let s:rgb["green yellow"] = "#adff2f"
let s:rgb["green"] = "#00ff00"
let s:rgb["green1"] = "#00ff00"
let s:rgb["green2"] = "#00ee00"
let s:rgb["green3"] = "#00cd00"
let s:rgb["green4"] = "#008b00"
let s:rgb["greenyellow"] = "#adff2f"
let s:rgb["grey"] = "#bebebe"
let s:rgb["grey0"] = "#000000"
let s:rgb["grey1"] = "#030303"
let s:rgb["grey10"] = "#1a1a1a"
let s:rgb["grey100"] = "#ffffff"
let s:rgb["grey11"] = "#1c1c1c"
let s:rgb["grey12"] = "#1f1f1f"
let s:rgb["grey13"] = "#212121"
let s:rgb["grey14"] = "#242424"
let s:rgb["grey15"] = "#262626"
let s:rgb["grey16"] = "#292929"
let s:rgb["grey17"] = "#2b2b2b"
let s:rgb["grey18"] = "#2e2e2e"
let s:rgb["grey19"] = "#303030"
let s:rgb["grey2"] = "#050505"
let s:rgb["grey20"] = "#333333"
let s:rgb["grey21"] = "#363636"
let s:rgb["grey22"] = "#383838"
let s:rgb["grey23"] = "#3b3b3b"
let s:rgb["grey24"] = "#3d3d3d"
let s:rgb["grey25"] = "#404040"
let s:rgb["grey26"] = "#424242"
let s:rgb["grey27"] = "#454545"
let s:rgb["grey28"] = "#474747"
let s:rgb["grey29"] = "#4a4a4a"
let s:rgb["grey3"] = "#080808"
let s:rgb["grey30"] = "#4d4d4d"
let s:rgb["grey31"] = "#4f4f4f"
let s:rgb["grey32"] = "#525252"
let s:rgb["grey33"] = "#545454"
let s:rgb["grey34"] = "#575757"
let s:rgb["grey35"] = "#595959"
let s:rgb["grey36"] = "#5c5c5c"
let s:rgb["grey37"] = "#5e5e5e"
let s:rgb["grey38"] = "#616161"
let s:rgb["grey39"] = "#636363"
let s:rgb["grey4"] = "#0a0a0a"
let s:rgb["grey40"] = "#666666"
let s:rgb["grey41"] = "#696969"
let s:rgb["grey42"] = "#6b6b6b"
let s:rgb["grey43"] = "#6e6e6e"
let s:rgb["grey44"] = "#707070"
let s:rgb["grey45"] = "#737373"
let s:rgb["grey46"] = "#757575"
let s:rgb["grey47"] = "#787878"
let s:rgb["grey48"] = "#7a7a7a"
let s:rgb["grey49"] = "#7d7d7d"
let s:rgb["grey5"] = "#0d0d0d"
let s:rgb["grey50"] = "#7f7f7f"
let s:rgb["grey51"] = "#828282"
let s:rgb["grey52"] = "#858585"
let s:rgb["grey53"] = "#878787"
let s:rgb["grey54"] = "#8a8a8a"
let s:rgb["grey55"] = "#8c8c8c"
let s:rgb["grey56"] = "#8f8f8f"
let s:rgb["grey57"] = "#919191"
let s:rgb["grey58"] = "#949494"
let s:rgb["grey59"] = "#969696"
let s:rgb["grey6"] = "#0f0f0f"
let s:rgb["grey60"] = "#999999"
let s:rgb["grey61"] = "#9c9c9c"
let s:rgb["grey62"] = "#9e9e9e"
let s:rgb["grey63"] = "#a1a1a1"
let s:rgb["grey64"] = "#a3a3a3"
let s:rgb["grey65"] = "#a6a6a6"
let s:rgb["grey66"] = "#a8a8a8"
let s:rgb["grey67"] = "#ababab"
let s:rgb["grey68"] = "#adadad"
let s:rgb["grey69"] = "#b0b0b0"
let s:rgb["grey7"] = "#121212"
let s:rgb["grey70"] = "#b3b3b3"
let s:rgb["grey71"] = "#b5b5b5"
let s:rgb["grey72"] = "#b8b8b8"
let s:rgb["grey73"] = "#bababa"
let s:rgb["grey74"] = "#bdbdbd"
let s:rgb["grey75"] = "#bfbfbf"
let s:rgb["grey76"] = "#c2c2c2"
let s:rgb["grey77"] = "#c4c4c4"
let s:rgb["grey78"] = "#c7c7c7"
let s:rgb["grey79"] = "#c9c9c9"
let s:rgb["grey8"] = "#141414"
let s:rgb["grey80"] = "#cccccc"
let s:rgb["grey81"] = "#cfcfcf"
let s:rgb["grey82"] = "#d1d1d1"
let s:rgb["grey83"] = "#d4d4d4"
let s:rgb["grey84"] = "#d6d6d6"
let s:rgb["grey85"] = "#d9d9d9"
let s:rgb["grey86"] = "#dbdbdb"
let s:rgb["grey87"] = "#dedede"
let s:rgb["grey88"] = "#e0e0e0"
let s:rgb["grey89"] = "#e3e3e3"
let s:rgb["grey9"] = "#171717"
let s:rgb["grey90"] = "#e5e5e5"
let s:rgb["grey91"] = "#e8e8e8"
let s:rgb["grey92"] = "#ebebeb"
let s:rgb["grey93"] = "#ededed"
let s:rgb["grey94"] = "#f0f0f0"
let s:rgb["grey95"] = "#f2f2f2"
let s:rgb["grey96"] = "#f5f5f5"
let s:rgb["grey97"] = "#f7f7f7"
let s:rgb["grey98"] = "#fafafa"
let s:rgb["grey99"] = "#fcfcfc"
let s:rgb["honeydew"] = "#f0fff0"
let s:rgb["honeydew1"] = "#f0fff0"
let s:rgb["honeydew2"] = "#e0eee0"
let s:rgb["honeydew3"] = "#c1cdc1"
let s:rgb["honeydew4"] = "#838b83"
let s:rgb["hot pink"] = "#ff69b4"
let s:rgb["hotpink"] = "#ff69b4"
let s:rgb["hotpink1"] = "#ff6eb4"
let s:rgb["hotpink2"] = "#ee6aa7"
let s:rgb["hotpink3"] = "#cd6090"
let s:rgb["hotpink4"] = "#8b3a62"
let s:rgb["indian red"] = "#cd5c5c"
let s:rgb["indianred"] = "#cd5c5c"
let s:rgb["indianred1"] = "#ff6a6a"
let s:rgb["indianred2"] = "#ee6363"
let s:rgb["indianred3"] = "#cd5555"
let s:rgb["indianred4"] = "#8b3a3a"
let s:rgb["ivory"] = "#fffff0"
let s:rgb["ivory1"] = "#fffff0"
let s:rgb["ivory2"] = "#eeeee0"
let s:rgb["ivory3"] = "#cdcdc1"
let s:rgb["ivory4"] = "#8b8b83"
let s:rgb["khaki"] = "#f0e68c"
let s:rgb["khaki1"] = "#fff68f"
let s:rgb["khaki2"] = "#eee685"
let s:rgb["khaki3"] = "#cdc673"
let s:rgb["khaki4"] = "#8b864e"
let s:rgb["lavender blush"] = "#fff0f5"
let s:rgb["lavender"] = "#e6e6fa"
let s:rgb["lavenderblush"] = "#fff0f5"
let s:rgb["lavenderblush1"] = "#fff0f5"
let s:rgb["lavenderblush2"] = "#eee0e5"
let s:rgb["lavenderblush3"] = "#cdc1c5"
let s:rgb["lavenderblush4"] = "#8b8386"
let s:rgb["lawn green"] = "#7cfc00"
let s:rgb["lawngreen"] = "#7cfc00"
let s:rgb["lemon chiffon"] = "#fffacd"
let s:rgb["lemonchiffon"] = "#fffacd"
let s:rgb["lemonchiffon1"] = "#fffacd"
let s:rgb["lemonchiffon2"] = "#eee9bf"
let s:rgb["lemonchiffon3"] = "#cdc9a5"
let s:rgb["lemonchiffon4"] = "#8b8970"
let s:rgb["light blue"] = "#add8e6"
let s:rgb["light coral"] = "#f08080"
let s:rgb["light cyan"] = "#e0ffff"
let s:rgb["light goldenrod yellow"] = "#fafad2"
let s:rgb["light goldenrod"] = "#eedd82"
let s:rgb["light gray"] = "#d3d3d3"
let s:rgb["light green"] = "#90ee90"
let s:rgb["light grey"] = "#d3d3d3"
let s:rgb["light magenta"] = "#ffbbff"
let s:rgb["light pink"] = "#ffb6c1"
let s:rgb["light red"] = "#ffbbbb"
let s:rgb["light salmon"] = "#ffa07a"
let s:rgb["light sea green"] = "#20b2aa"
let s:rgb["light sky blue"] = "#87cefa"
let s:rgb["light slate blue"] = "#8470ff"
let s:rgb["light slate gray"] = "#778899"
let s:rgb["light slate grey"] = "#778899"
let s:rgb["light steel blue"] = "#b0c4de"
let s:rgb["light yellow"] = "#ffffe0"
let s:rgb["lightblue"] = "#add8e6"
let s:rgb["lightblue1"] = "#bfefff"
let s:rgb["lightblue2"] = "#b2dfee"
let s:rgb["lightblue3"] = "#9ac0cd"
let s:rgb["lightblue4"] = "#68838b"
let s:rgb["lightcoral"] = "#f08080"
let s:rgb["lightcyan"] = "#e0ffff"
let s:rgb["lightcyan1"] = "#e0ffff"
let s:rgb["lightcyan2"] = "#d1eeee"
let s:rgb["lightcyan3"] = "#b4cdcd"
let s:rgb["lightcyan4"] = "#7a8b8b"
let s:rgb["lightgoldenrod"] = "#eedd82"
let s:rgb["lightgoldenrod1"] = "#ffec8b"
let s:rgb["lightgoldenrod2"] = "#eedc82"
let s:rgb["lightgoldenrod3"] = "#cdbe70"
let s:rgb["lightgoldenrod4"] = "#8b814c"
let s:rgb["lightgoldenrodyellow"] = "#fafad2"
let s:rgb["lightgray"] = "#d3d3d3"
let s:rgb["lightgreen"] = "#90ee90"
let s:rgb["lightgrey"] = "#d3d3d3"
let s:rgb["lightmagenta"] = "#ffbbff"
let s:rgb["lightpink"] = "#ffb6c1"
let s:rgb["lightpink1"] = "#ffaeb9"
let s:rgb["lightpink2"] = "#eea2ad"
let s:rgb["lightpink3"] = "#cd8c95"
let s:rgb["lightpink4"] = "#8b5f65"
let s:rgb["lightred"] = "#ffbbbb"
let s:rgb["lightsalmon"] = "#ffa07a"
let s:rgb["lightsalmon1"] = "#ffa07a"
let s:rgb["lightsalmon2"] = "#ee9572"
let s:rgb["lightsalmon3"] = "#cd8162"
let s:rgb["lightsalmon4"] = "#8b5742"
let s:rgb["lightseagreen"] = "#20b2aa"
let s:rgb["lightskyblue"] = "#87cefa"
let s:rgb["lightskyblue1"] = "#b0e2ff"
let s:rgb["lightskyblue2"] = "#a4d3ee"
let s:rgb["lightskyblue3"] = "#8db6cd"
let s:rgb["lightskyblue4"] = "#607b8b"
let s:rgb["lightslateblue"] = "#8470ff"
let s:rgb["lightslategray"] = "#778899"
let s:rgb["lightslategrey"] = "#778899"
let s:rgb["lightsteelblue"] = "#b0c4de"
let s:rgb["lightsteelblue1"] = "#cae1ff"
let s:rgb["lightsteelblue2"] = "#bcd2ee"
let s:rgb["lightsteelblue3"] = "#a2b5cd"
let s:rgb["lightsteelblue4"] = "#6e7b8b"
let s:rgb["lightyellow"] = "#ffffe0"
let s:rgb["lightyellow1"] = "#ffffe0"
let s:rgb["lightyellow2"] = "#eeeed1"
let s:rgb["lightyellow3"] = "#cdcdb4"
let s:rgb["lightyellow4"] = "#8b8b7a"
let s:rgb["lime green"] = "#32cd32"
let s:rgb["limegreen"] = "#32cd32"
let s:rgb["linen"] = "#faf0e6"
let s:rgb["magenta"] = "#ff00ff"
let s:rgb["magenta1"] = "#ff00ff"
let s:rgb["magenta2"] = "#ee00ee"
let s:rgb["magenta3"] = "#cd00cd"
let s:rgb["magenta4"] = "#8b008b"
let s:rgb["maroon"] = "#b03060"
let s:rgb["maroon1"] = "#ff34b3"
let s:rgb["maroon2"] = "#ee30a7"
let s:rgb["maroon3"] = "#cd2990"
let s:rgb["maroon4"] = "#8b1c62"
let s:rgb["medium aquamarine"] = "#66cdaa"
let s:rgb["medium blue"] = "#0000cd"
let s:rgb["medium orchid"] = "#ba55d3"
let s:rgb["medium purple"] = "#9370db"
let s:rgb["medium sea green"] = "#3cb371"
let s:rgb["medium slate blue"] = "#7b68ee"
let s:rgb["medium spring green"] = "#00fa9a"
let s:rgb["medium turquoise"] = "#48d1cc"
let s:rgb["medium violet red"] = "#c71585"
let s:rgb["mediumaquamarine"] = "#66cdaa"
let s:rgb["mediumblue"] = "#0000cd"
let s:rgb["mediumorchid"] = "#ba55d3"
let s:rgb["mediumorchid1"] = "#e066ff"
let s:rgb["mediumorchid2"] = "#d15fee"
let s:rgb["mediumorchid3"] = "#b452cd"
let s:rgb["mediumorchid4"] = "#7a378b"
let s:rgb["mediumpurple"] = "#9370db"
let s:rgb["mediumpurple1"] = "#ab82ff"
let s:rgb["mediumpurple2"] = "#9f79ee"
let s:rgb["mediumpurple3"] = "#8968cd"
let s:rgb["mediumpurple4"] = "#5d478b"
let s:rgb["mediumseagreen"] = "#3cb371"
let s:rgb["mediumslateblue"] = "#7b68ee"
let s:rgb["mediumspringgreen"] = "#00fa9a"
let s:rgb["mediumturquoise"] = "#48d1cc"
let s:rgb["mediumvioletred"] = "#c71585"
let s:rgb["midnight blue"] = "#191970"
let s:rgb["midnightblue"] = "#191970"
let s:rgb["mint cream"] = "#f5fffa"
let s:rgb["mintcream"] = "#f5fffa"
let s:rgb["misty rose"] = "#ffe4e1"
let s:rgb["mistyrose"] = "#ffe4e1"
let s:rgb["mistyrose1"] = "#ffe4e1"
let s:rgb["mistyrose2"] = "#eed5d2"
let s:rgb["mistyrose3"] = "#cdb7b5"
let s:rgb["mistyrose4"] = "#8b7d7b"
let s:rgb["moccasin"] = "#ffe4b5"
let s:rgb["navajo white"] = "#ffdead"
let s:rgb["navajowhite"] = "#ffdead"
let s:rgb["navajowhite1"] = "#ffdead"
let s:rgb["navajowhite2"] = "#eecfa1"
let s:rgb["navajowhite3"] = "#cdb38b"
let s:rgb["navajowhite4"] = "#8b795e"
let s:rgb["navy blue"] = "#000080"
let s:rgb["navy"] = "#000080"
let s:rgb["navyblue"] = "#000080"
let s:rgb["old lace"] = "#fdf5e6"
let s:rgb["oldlace"] = "#fdf5e6"
let s:rgb["olive drab"] = "#6b8e23"
let s:rgb["olivedrab"] = "#6b8e23"
let s:rgb["olivedrab1"] = "#c0ff3e"
let s:rgb["olivedrab2"] = "#b3ee3a"
let s:rgb["olivedrab3"] = "#9acd32"
let s:rgb["olivedrab4"] = "#698b22"
let s:rgb["orange red"] = "#ff4500"
let s:rgb["orange"] = "#ffa500"
let s:rgb["orange1"] = "#ffa500"
let s:rgb["orange2"] = "#ee9a00"
let s:rgb["orange3"] = "#cd8500"
let s:rgb["orange4"] = "#8b5a00"
let s:rgb["orangered"] = "#ff4500"
let s:rgb["orangered1"] = "#ff4500"
let s:rgb["orangered2"] = "#ee4000"
let s:rgb["orangered3"] = "#cd3700"
let s:rgb["orangered4"] = "#8b2500"
let s:rgb["orchid"] = "#da70d6"
let s:rgb["orchid1"] = "#ff83fa"
let s:rgb["orchid2"] = "#ee7ae9"
let s:rgb["orchid3"] = "#cd69c9"
let s:rgb["orchid4"] = "#8b4789"
let s:rgb["pale goldenrod"] = "#eee8aa"
let s:rgb["pale green"] = "#98fb98"
let s:rgb["pale turquoise"] = "#afeeee"
let s:rgb["pale violet red"] = "#db7093"
let s:rgb["palegoldenrod"] = "#eee8aa"
let s:rgb["palegreen"] = "#98fb98"
let s:rgb["palegreen1"] = "#9aff9a"
let s:rgb["palegreen2"] = "#90ee90"
let s:rgb["palegreen3"] = "#7ccd7c"
let s:rgb["palegreen4"] = "#548b54"
let s:rgb["paleturquoise"] = "#afeeee"
let s:rgb["paleturquoise1"] = "#bbffff"
let s:rgb["paleturquoise2"] = "#aeeeee"
let s:rgb["paleturquoise3"] = "#96cdcd"
let s:rgb["paleturquoise4"] = "#668b8b"
let s:rgb["palevioletred"] = "#db7093"
let s:rgb["palevioletred1"] = "#ff82ab"
let s:rgb["palevioletred2"] = "#ee799f"
let s:rgb["palevioletred3"] = "#cd6889"
let s:rgb["palevioletred4"] = "#8b475d"
let s:rgb["papaya whip"] = "#ffefd5"
let s:rgb["papayawhip"] = "#ffefd5"
let s:rgb["peach puff"] = "#ffdab9"
let s:rgb["peachpuff"] = "#ffdab9"
let s:rgb["peachpuff1"] = "#ffdab9"
let s:rgb["peachpuff2"] = "#eecbad"
let s:rgb["peachpuff3"] = "#cdaf95"
let s:rgb["peachpuff4"] = "#8b7765"
let s:rgb["peru"] = "#cd853f"
let s:rgb["pink"] = "#ffc0cb"
let s:rgb["pink1"] = "#ffb5c5"
let s:rgb["pink2"] = "#eea9b8"
let s:rgb["pink3"] = "#cd919e"
let s:rgb["pink4"] = "#8b636c"
let s:rgb["plum"] = "#dda0dd"
let s:rgb["plum1"] = "#ffbbff"
let s:rgb["plum2"] = "#eeaeee"
let s:rgb["plum3"] = "#cd96cd"
let s:rgb["plum4"] = "#8b668b"
let s:rgb["powder blue"] = "#b0e0e6"
let s:rgb["powderblue"] = "#b0e0e6"
let s:rgb["purple"] = "#a020f0"
let s:rgb["purple1"] = "#9b30ff"
let s:rgb["purple2"] = "#912cee"
let s:rgb["purple3"] = "#7d26cd"
let s:rgb["purple4"] = "#551a8b"
let s:rgb["red"] = "#ff0000"
let s:rgb["red1"] = "#ff0000"
let s:rgb["red2"] = "#ee0000"
let s:rgb["red3"] = "#cd0000"
let s:rgb["red4"] = "#8b0000"
let s:rgb["rosy brown"] = "#bc8f8f"
let s:rgb["rosybrown"] = "#bc8f8f"
let s:rgb["rosybrown1"] = "#ffc1c1"
let s:rgb["rosybrown2"] = "#eeb4b4"
let s:rgb["rosybrown3"] = "#cd9b9b"
let s:rgb["rosybrown4"] = "#8b6969"
let s:rgb["royal blue"] = "#4169e1"
let s:rgb["royalblue"] = "#4169e1"
let s:rgb["royalblue1"] = "#4876ff"
let s:rgb["royalblue2"] = "#436eee"
let s:rgb["royalblue3"] = "#3a5fcd"
let s:rgb["royalblue4"] = "#27408b"
let s:rgb["saddle brown"] = "#8b4513"
let s:rgb["saddlebrown"] = "#8b4513"
let s:rgb["salmon"] = "#fa8072"
let s:rgb["salmon1"] = "#ff8c69"
let s:rgb["salmon2"] = "#ee8262"
let s:rgb["salmon3"] = "#cd7054"
let s:rgb["salmon4"] = "#8b4c39"
let s:rgb["sandy brown"] = "#f4a460"
let s:rgb["sandybrown"] = "#f4a460"
let s:rgb["sea green"] = "#2e8b57"
let s:rgb["seagreen"] = "#2e8b57"
let s:rgb["seagreen1"] = "#54ff9f"
let s:rgb["seagreen2"] = "#4eee94"
let s:rgb["seagreen3"] = "#43cd80"
let s:rgb["seagreen4"] = "#2e8b57"
let s:rgb["seashell"] = "#fff5ee"
let s:rgb["seashell1"] = "#fff5ee"
let s:rgb["seashell2"] = "#eee5de"
let s:rgb["seashell3"] = "#cdc5bf"
let s:rgb["seashell4"] = "#8b8682"
let s:rgb["sienna"] = "#a0522d"
let s:rgb["sienna1"] = "#ff8247"
let s:rgb["sienna2"] = "#ee7942"
let s:rgb["sienna3"] = "#cd6839"
let s:rgb["sienna4"] = "#8b4726"
let s:rgb["sky blue"] = "#87ceeb"
let s:rgb["skyblue"] = "#87ceeb"
let s:rgb["skyblue1"] = "#87ceff"
let s:rgb["skyblue2"] = "#7ec0ee"
let s:rgb["skyblue3"] = "#6ca6cd"
let s:rgb["skyblue4"] = "#4a708b"
let s:rgb["slate blue"] = "#6a5acd"
let s:rgb["slate gray"] = "#708090"
let s:rgb["slate grey"] = "#708090"
let s:rgb["slateblue"] = "#6a5acd"
let s:rgb["slateblue1"] = "#836fff"
let s:rgb["slateblue2"] = "#7a67ee"
let s:rgb["slateblue3"] = "#6959cd"
let s:rgb["slateblue4"] = "#473c8b"
let s:rgb["slategray"] = "#708090"
let s:rgb["slategray1"] = "#c6e2ff"
let s:rgb["slategray2"] = "#b9d3ee"
let s:rgb["slategray3"] = "#9fb6cd"
let s:rgb["slategray4"] = "#6c7b8b"
let s:rgb["slategrey"] = "#708090"
let s:rgb["snow"] = "#fffafa"
let s:rgb["snow1"] = "#fffafa"
let s:rgb["snow2"] = "#eee9e9"
let s:rgb["snow3"] = "#cdc9c9"
let s:rgb["snow4"] = "#8b8989"
let s:rgb["spring green"] = "#00ff7f"
let s:rgb["springgreen"] = "#00ff7f"
let s:rgb["springgreen1"] = "#00ff7f"
let s:rgb["springgreen2"] = "#00ee76"
let s:rgb["springgreen3"] = "#00cd66"
let s:rgb["springgreen4"] = "#008b45"
let s:rgb["steel blue"] = "#4682b4"
let s:rgb["steelblue"] = "#4682b4"
let s:rgb["steelblue1"] = "#63b8ff"
let s:rgb["steelblue2"] = "#5cacee"
let s:rgb["steelblue3"] = "#4f94cd"
let s:rgb["steelblue4"] = "#36648b"
let s:rgb["tan"] = "#d2b48c"
let s:rgb["tan1"] = "#ffa54f"
let s:rgb["tan2"] = "#ee9a49"
let s:rgb["tan3"] = "#cd853f"
let s:rgb["tan4"] = "#8b5a2b"
let s:rgb["thistle"] = "#d8bfd8"
let s:rgb["thistle1"] = "#ffe1ff"
let s:rgb["thistle2"] = "#eed2ee"
let s:rgb["thistle3"] = "#cdb5cd"
let s:rgb["thistle4"] = "#8b7b8b"
let s:rgb["tomato"] = "#ff6347"
let s:rgb["tomato1"] = "#ff6347"
let s:rgb["tomato2"] = "#ee5c42"
let s:rgb["tomato3"] = "#cd4f39"
let s:rgb["tomato4"] = "#8b3626"
let s:rgb["turquoise"] = "#40e0d0"
let s:rgb["turquoise1"] = "#00f5ff"
let s:rgb["turquoise2"] = "#00e5ee"
let s:rgb["turquoise3"] = "#00c5cd"
let s:rgb["turquoise4"] = "#00868b"
let s:rgb["violet red"] = "#d02090"
let s:rgb["violet"] = "#ee82ee"
let s:rgb["violetred"] = "#d02090"
let s:rgb["violetred1"] = "#ff3e96"
let s:rgb["violetred2"] = "#ee3a8c"
let s:rgb["violetred3"] = "#cd3278"
let s:rgb["violetred4"] = "#8b2252"
let s:rgb["wheat"] = "#f5deb3"
let s:rgb["wheat1"] = "#ffe7ba"
let s:rgb["wheat2"] = "#eed8ae"
let s:rgb["wheat3"] = "#cdba96"
let s:rgb["wheat4"] = "#8b7e66"
let s:rgb["white smoke"] = "#f5f5f5"
let s:rgb["white"] = "#ffffff"
let s:rgb["whitesmoke"] = "#f5f5f5"
let s:rgb["yellow green"] = "#9acd32"
let s:rgb["yellow"] = "#ffff00"
let s:rgb["yellow1"] = "#ffff00"
let s:rgb["yellow2"] = "#eeee00"
let s:rgb["yellow3"] = "#cdcd00"
let s:rgb["yellow4"] = "#8b8b00"
let s:rgb["yellowgreen"] = "#9acd32"
if has('mac') && !has('macunix')
let s:rgb["dark gray"] = "0x808080"
let s:rgb["darkgray"] = "0x808080"
let s:rgb["dark grey"] = "0x808080"
let s:rgb["darkgrey"] = "0x808080"
let s:rgb["gray"] = "0xc0c0c0"
let s:rgb["grey"] = "0xc0c0c0"
let s:rgb["light gray"] = "0xe0e0e0"
let s:rgb["lightgray"] = "0xe0e0e0"
let s:rgb["light grey"] = "0xe0e0e0"
let s:rgb["lightgrey"] = "0xe0e0e0"
let s:rgb["dark red"] = "0x800000"
let s:rgb["darkred"] = "0x800000"
let s:rgb["red"] = "0xdd0806"
let s:rgb["light red"] = "0xffa0a0"
let s:rgb["lightred"] = "0xffa0a0"
let s:rgb["dark blue"] = "0x000080"
let s:rgb["darkblue"] = "0x000080"
let s:rgb["blue"] = "0x0000d4"
let s:rgb["light blue"] = "0xa0a0ff"
let s:rgb["lightblue"] = "0xa0a0ff"
let s:rgb["dark green"] = "0x008000"
let s:rgb["darkgreen"] = "0x008000"
let s:rgb["green"] = "0x006411"
let s:rgb["light green"] = "0xa0ffa0"
let s:rgb["lightgreen"] = "0xa0ffa0"
let s:rgb["dark cyan"] = "0x008080"
let s:rgb["darkcyan"] = "0x008080"
let s:rgb["cyan"] = "0x02abea"
let s:rgb["light cyan"] = "0xa0ffff"
let s:rgb["lightcyan"] = "0xa0ffff"
let s:rgb["dark magenta"] = "0x800080"
let s:rgb["darkmagenta"] = "0x800080"
let s:rgb["magenta"] = "0xf20884"
let s:rgb["light magenta"] = "0xf0a0f0"
let s:rgb["lightmagenta"] = "0xf0a0f0"
let s:rgb["brown"] = "0x804040"
let s:rgb["yellow"] = "0xfcf305"
let s:rgb["light yellow"] = "0xffffa0"
let s:rgb["lightyellow"] = "0xffffa0"
let s:rgb["orange"] = "0xfc8000"
let s:rgb["purple"] = "0xa020f0"
let s:rgb["slateblue"] = "0x6a5acd"
let s:rgb["violet"] = "0x8d38c9"
endif
function! csapprox#rgb()
return s:rgb
endfunction

View File

@ -0,0 +1,78 @@
" Copyright (c) 2012, Matthew J. Wozniski
" All rights reserved.
"
" Redistribution and use in source and binary forms, with or without
" modification, are permitted provided that the following conditions are met:
" * Redistributions of source code must retain the above copyright
" notice, this list of conditions and the following disclaimer.
" * Redistributions in binary form must reproduce the above copyright
" notice, this list of conditions and the following disclaimer in the
" documentation and/or other materials provided with the distribution.
" * The names of the contributors may not be used to endorse or promote
" products derived from this software without specific prior written
" permission.
"
" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY
" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
let s:xterm_colors = [ 0x00, 0x5F, 0x87, 0xAF, 0xD7, 0xFF ]
let s:eterm_colors = [ 0x00, 0x2A, 0x55, 0x7F, 0xAA, 0xD4 ]
let s:konsole_colors = [ 0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF ]
let s:xterm_greys = [ 0x08, 0x12, 0x1C, 0x26, 0x30, 0x3A,
\ 0x44, 0x4E, 0x58, 0x62, 0x6C, 0x76,
\ 0x80, 0x8A, 0x94, 0x9E, 0xA8, 0xB2,
\ 0xBC, 0xC6, 0xD0, 0xDA, 0xE4, 0xEE ]
let s:urxvt_colors = [ 0x00, 0x8B, 0xCD, 0xFF ]
let s:urxvt_greys = [ 0x2E, 0x5C, 0x73, 0x8B,
\ 0xA2, 0xB9, 0xD0, 0xE7 ]
" Uses &term to determine which cube should be use. If &term is set to
" "xterm" or begins with "screen", the variables g:CSApprox_eterm and
" g:CSApprox_konsole can be used to select a different palette.
function! csapprox#common#PaletteType()
if &t_Co == 88
let type = 'urxvt'
elseif &term ==# 'xterm' || &term =~# '^screen' || &term==# 'builtin_gui'
if exists('g:CSApprox_konsole') && g:CSApprox_konsole
let type = 'konsole'
elseif exists('g:CSApprox_eterm') && g:CSApprox_eterm
let type = 'eterm'
else
let type = 'xterm'
endif
elseif &term =~? '^konsole'
" Konsole only used its own palette up til KDE 4.2.0
if executable('kde4-config') && system('kde4-config --kde-version') =~ '^4\.[10]\.'
let type = 'konsole'
elseif executable('kde-config') && system('kde-config --version') =~# 'KDE: 3\.'
let type = 'konsole'
else
let type = 'xterm'
endif
elseif &term =~? '^eterm'
let type = 'eterm'
else
let type = 'xterm'
endif
return type
endfunction
" Retrieve the list of greyscale ramp colors for the current palette
function! csapprox#common#Greys()
return (&t_Co == 88 ? s:urxvt_greys : s:xterm_greys)
endfunction
" Retrieve the list of non-greyscale ramp colors for the current palette
function! csapprox#common#Colors()
return s:{csapprox#common#PaletteType()}_colors
endfunction

View File

@ -0,0 +1,91 @@
" Copyright (c) 2012, Matthew J. Wozniski
" All rights reserved.
"
" Redistribution and use in source and binary forms, with or without
" modification, are permitted provided that the following conditions are met:
" * Redistributions of source code must retain the above copyright
" notice, this list of conditions and the following disclaimer.
" * Redistributions in binary form must reproduce the above copyright
" notice, this list of conditions and the following disclaimer in the
" documentation and/or other materials provided with the distribution.
" * The names of the contributors may not be used to endorse or promote
" products derived from this software without specific prior written
" permission.
"
" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY
" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
" Integer comparator used to sort the complete list of possible colors
function! s:IntCompare(i1, i2)
return a:i1 == a:i2 ? 0 : a:i1 > a:i2 ? 1 : -1
endfunc
" Color comparator to find the nearest element to a given one in a given list
function! s:NearestElemInList(elem, list)
let len = len(a:list)
for i in range(len-1)
if (a:elem <= (a:list[i] + a:list[i+1]) / 2)
return a:list[i]
endif
endfor
return a:list[len-1]
endfunction
" Takes 3 decimal values for r, g, and b, and returns the closest cube number.
"
" This approximator considers closeness based upon the individiual components.
" For each of r, g, and b, it finds the closest cube component available on
" the cube. If the three closest matches can combine to form a valid color,
" this color is used, otherwise we repeat the search with the greys removed,
" meaning that the three new matches must make a valid color when combined.
function! csapprox#per_component#Approximate(r,g,b)
let hex = printf("%02x%02x%02x", a:r, a:g, a:b)
let colors = csapprox#common#Colors()
let greys = csapprox#common#Greys()
let type = csapprox#common#PaletteType()
if !exists('s:approximator_cache_'.type)
let s:approximator_cache_{type} = {}
endif
let rv = get(s:approximator_cache_{type}, hex, -1)
if rv != -1
return rv
endif
" Only obtain sorted list once
if !exists("s:".type."_greys_colors")
let s:{type}_greys_colors = sort(greys + colors, "s:IntCompare")
endif
let greys_colors = s:{type}_greys_colors
let r = s:NearestElemInList(a:r, greys_colors)
let g = s:NearestElemInList(a:g, greys_colors)
let b = s:NearestElemInList(a:b, greys_colors)
let len = len(colors)
if (r == g && g == b && index(greys, r) != -1)
let rv = 16 + len * len * len + index(greys, r)
else
let r = s:NearestElemInList(a:r, colors)
let g = s:NearestElemInList(a:g, colors)
let b = s:NearestElemInList(a:b, colors)
let rv = index(colors, r) * len * len
\ + index(colors, g) * len
\ + index(colors, b)
\ + 16
endif
let s:approximator_cache_{type}[hex] = rv
return rv
endfunction

921
CSApprox/plugin/CSApprox.vim Executable file
View File

@ -0,0 +1,921 @@
" CSApprox: Make gvim-only colorschemes Just Work terminal vim
" Maintainer: Matthew Wozniski (godlygeek@gmail.com)
" Date: Fri, 14 Sep 2012 01:12:13 -0400
" Version: 4.00
" History: :help csapprox-changelog
"
" Long Description:
" It's hard to find colorschemes for terminal Vim. Most colorschemes are
" written to only support GVim, and don't work at all in terminal Vim.
"
" This plugin makes GVim-only colorschemes Just Work in terminal Vim, as long
" as the terminal supports 88 or 256 colors - and most do these days. This
" usually requires no user interaction (but see below for what to do if things
" don't Just Work). After getting this plugin happily installed, any time you
" use :colorscheme it will do its magic and make the colorscheme Just Work.
"
" Whenever you change colorschemes using the :colorscheme command this script
" will be executed. It will take the colors that the scheme specified for use
" in the GUI and use an approximation algorithm to try to gracefully degrade
" them to the closest color available in your terminal. If you are running in
" a GUI or if your terminal doesn't support 88 or 256 colors, no changes are
" made. Also, no changes will be made if the colorscheme seems to have been
" high color already.
"
" License:
" Copyright (c) 2012, Matthew J. Wozniski
" All rights reserved.
"
" Redistribution and use in source and binary forms, with or without
" modification, are permitted provided that the following conditions are met:
" * Redistributions of source code must retain the above copyright
" notice, this list of conditions and the following disclaimer.
" * Redistributions in binary form must reproduce the above copyright
" notice, this list of conditions and the following disclaimer in the
" documentation and/or other materials provided with the distribution.
" * The names of the contributors may not be used to endorse or promote
" products derived from this software without specific prior written
" permission.
"
" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY
" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
" {>1} Basic plugin setup
" {>2} Check preconditions
" Quit if the user doesn't want or need us or is missing the gui feature. We
" need +gui to be able to check the gui color settings; vim doesn't bother to
" store them if it is not built with +gui.
if exists('g:CSApprox_loaded')
finish
elseif !has('gui') && v:version < 703
" Vim versions less than < 7.3.0 need +gui.
" Warn unless the user set g:CSApprox_verbose_level to zero.
if get(g:, 'CSApprox_verbose_level', 1)
echomsg "CSApprox needs gui support - not loading."
echomsg " See :help |csapprox-+gui| for possible workarounds."
endif
finish
endif
" {1} Mark us as loaded, and disable all compatibility options for now.
let g:CSApprox_loaded = 1
let s:savecpo = &cpo
set cpo&vim
" {>1} Collect info for the set highlights
" {>2} Determine if synIDattr is usable
" synIDattr() couldn't support 'guisp' until 7.2.052. This function returns
" true if :redir is needed to find the 'guisp' attribute, false if synIDattr()
" is functional. This test can be overridden by setting the global variable
" g:CSApprox_redirfallback to 1 (to force use of :redir) or to 0 (to force use
" of synIDattr()).
function! s:NeedRedirFallback()
if !exists("g:CSApprox_redirfallback")
let g:CSApprox_redirfallback = (v:version == 702 && !has('patch52'))
\ || v:version < 702
endif
return g:CSApprox_redirfallback
endfunction
" {>2} Collect and store the highlights
" Get a dictionary containing information for every highlight group not merely
" linked to another group. Return value is a dictionary, with highlight group
" numbers for keys and values that are dictionaries with four keys each,
" 'name', 'term', 'cterm', and 'gui'. 'name' holds the group name, and each
" of the others holds highlight information for that particular mode.
function! s:Highlights(modes)
let rv = {}
let i = 0
while 1
let i += 1
" Only interested in groups that exist and aren't linked
if synIDtrans(i) == 0
break
endif
" Handle vim bug allowing groups with name == "" to be created
if synIDtrans(i) != i || len(synIDattr(i, "name")) == 0
continue
endif
let rv[i] = {}
let rv[i].name = synIDattr(i, "name")
for where in a:modes
let rv[i][where] = {}
for attr in s:PossibleAttributes()
let rv[i][where][attr] = synIDattr(i, attr, where)
endfor
for attr in [ "fg", "bg" ]
let rv[i][where][attr] = synIDattr(i, attr.'#', where)
endfor
if where == "gui"
let rv[i][where]["sp"] = s:SynGuiSp(i, rv[i].name)
else
let rv[i][where]["sp"] = -1
endif
for attr in [ "fg", "bg", "sp" ]
if rv[i][where][attr] == -1
let rv[i][where][attr] = ''
endif
endfor
endfor
endwhile
return rv
endfunction
" {>2} Retrieve guisp
" Get guisp using whichever method is specified by _redir_fallback
function! s:SynGuiSp(idx, name)
if !s:NeedRedirFallback()
return s:SynGuiSpAttr(a:idx)
else
return s:SynGuiSpRedir(a:name)
endif
endfunction
" {>3} Implementation for retrieving guisp with redir hack
function! s:SynGuiSpRedir(name)
redir => temp
exe 'sil hi ' . a:name
redir END
let temp = matchstr(temp, 'guisp=\zs.*')
if len(temp) == 0 || temp[0] =~ '\s'
let temp = ""
else
" Make sure we can handle guisp='dark red'
let temp = substitute(temp, '[\x00].*', '', '')
let temp = substitute(temp, '\s*\(c\=term\|gui\).*', '', '')
let temp = substitute(temp, '\s*$', '', '')
endif
return temp
endfunction
" {>3} Implementation for retrieving guisp with synIDattr()
function! s:SynGuiSpAttr(idx)
return synIDattr(a:idx, 'sp#', 'gui')
endfunction
" {>1} Handle color names
" Place to store rgb.txt name to color mappings - lazy loaded if needed
let s:rgb = {}
" {>2} Builtin gui color names
" gui_x11.c and gui_gtk_x11.c have some default colors names that are searched
" if the x server doesn't know about a color. If 'showrgb' is available,
" we'll default to using these color names and values, and overwrite them with
" other values if 'showrgb' tells us about those colors.
let s:rgb_defaults = { "lightred" : "#FFBBBB",
\ "lightgreen" : "#88FF88",
\ "lightmagenta" : "#FFBBFF",
\ "darkcyan" : "#008888",
\ "darkblue" : "#0000BB",
\ "darkred" : "#BB0000",
\ "darkmagenta" : "#BB00BB",
\ "darkgrey" : "#BBBBBB",
\ "darkyellow" : "#BBBB00",
\ "gray10" : "#1A1A1A",
\ "grey10" : "#1A1A1A",
\ "gray20" : "#333333",
\ "grey20" : "#333333",
\ "gray30" : "#4D4D4D",
\ "grey30" : "#4D4D4D",
\ "gray40" : "#666666",
\ "grey40" : "#666666",
\ "gray50" : "#7F7F7F",
\ "grey50" : "#7F7F7F",
\ "gray60" : "#999999",
\ "grey60" : "#999999",
\ "gray70" : "#B3B3B3",
\ "grey70" : "#B3B3B3",
\ "gray80" : "#CCCCCC",
\ "grey80" : "#CCCCCC",
\ "gray90" : "#E5E5E5",
\ "grey90" : "#E5E5E5" }
" {>2} Colors that vim will use by name in one of the default schemes, either
" for bg=light or for bg=dark. This lets us avoid loading the entire rgb.txt
" database when the scheme itself doesn't ask for colors by name.
let s:rgb_presets = { "black" : "#000000",
\ "blue" : "#0000ff",
\ "brown" : "#a52a2a",
\ "cyan" : "#00ffff",
\ "darkblue" : "#00008b",
\ "darkcyan" : "#008b8b",
\ "darkgrey" : "#a9a9a9",
\ "darkmagenta" : "#8b008b",
\ "green" : "#00ff00",
\ "grey" : "#bebebe",
\ "grey40" : "#666666",
\ "grey90" : "#e5e5e5",
\ "lightblue" : "#add8e6",
\ "lightcyan" : "#e0ffff",
\ "lightgrey" : "#d3d3d3",
\ "lightmagenta" : "#ffbbff",
\ "magenta" : "#ff00ff",
\ "red" : "#ff0000",
\ "seagreen" : "#2e8b57",
\ "white" : "#ffffff",
\ "yellow" : "#ffff00" }
" {>2} Find available color names
" Find the valid named colors. By default, use our own rgb list, but try to
" retrieve the system's list if g:CSApprox_use_showrgb is set to true. Store
" the color names and color values to the dictionary s:rgb - the keys are
" color names (in lowercase), the values are strings representing color values
" (as '#rrggbb').
function! s:UpdateRgbHash()
try
if !exists("g:CSApprox_use_showrgb") || !g:CSApprox_use_showrgb
throw "Not using showrgb"
endif
" We want to use the 'showrgb' program, if it's around
let lines = split(system('showrgb'), '\n')
if v:shell_error || !exists('lines') || empty(lines)
throw "'showrgb' didn't give us an rgb.txt"
endif
let s:rgb = copy(s:rgb_defaults)
" fmt is (blanks?)(red)(blanks)(green)(blanks)(blue)(blanks)(name)
let parsepat = '^\s*\(\d\+\)\s\+\(\d\+\)\s\+\(\d\+\)\s\+\(.*\)$'
for line in lines
let v = matchlist(line, parsepat)
if len(v) < 0
throw "CSApprox: Bad RGB line: " . string(line)
endif
let s:rgb[tolower(v[4])] = printf("#%02x%02x%02x", v[1], v[2], v[3])
endfor
catch
try
let s:rgb = csapprox#rgb()
catch
echohl ErrorMsg
echomsg "Can't call rgb() from autoload/csapprox.vim"
echomsg "Named colors will not be available!"
echohl None
endtry
endtry
return 0
endfunction
" {>1} Derive and set cterm attributes
" {>2} List of all possible attributes
function! s:PossibleAttributes()
return [ "bold", "italic", "reverse", "underline", "undercurl" ]
endfunction
" {>2} Attribute overrides
" Allow the user to override a specified attribute with another attribute.
" For example, the default is to map 'italic' to 'underline' (since many
" terminals cannot display italic text, and gvim itself will replace italics
" with underlines where italicizing is impossible), and to replace 'sp' with
" 'fg' (since terminals can't use one color for the underline and another for
" the foreground, we color the entire word). This default can of course be
" overridden by the user, by setting g:CSApprox_attr_map. This map must be
" a dictionary of string keys, representing the same attributes that synIDattr
" can look up, to string values, representing the attribute mapped to or an
" empty string to disable the given attribute entirely.
function! s:attr_map(attr)
let rv = get(g:CSApprox_attr_map, a:attr, a:attr)
return rv
endfunction
function! s:NormalizeAttrMap(map)
let old = copy(a:map)
let new = filter(a:map, '0')
let valid_attrs = [ 'bg', 'fg', 'sp' ] + s:PossibleAttributes()
let colorattrs = [ 'fg', 'bg', 'sp' ]
for olhs in keys(old)
if olhs ==? 'inverse'
let nlhs = 'reverse'
endif
let orhs = old[olhs]
if orhs ==? 'inverse'
let nrhs = 'reverse'
endif
let nlhs = tolower(olhs)
let nrhs = tolower(orhs)
try
if index(valid_attrs, nlhs) == -1
echomsg "CSApprox: Bad attr map (removing unrecognized attribute " . olhs . ")"
elseif nrhs != '' && index(valid_attrs, nrhs) == -1
echomsg "CSApprox: Bad attr map (removing unrecognized attribute " . orhs . ")"
elseif nrhs != '' && !!(index(colorattrs, nlhs)+1) != !!(index(colorattrs, nrhs)+1)
echomsg "CSApprox: Bad attr map (removing " . olhs . "; type mismatch with " . orhs . ")"
elseif nrhs == 'sp'
echomsg "CSApprox: Bad attr map (removing " . olhs . "; can't map to 'sp')"
else
let new[nlhs] = nrhs
endif
catch
echo v:exception
endtry
endfor
endfunction
" {>2} Normalize the GUI settings of a highlight group
" If the Normal group is cleared, set it to gvim's default, black on white
" Though this would be a really weird thing for a scheme to do... *shrug*
function! s:FixupGuiInfo(highlights)
if a:highlights[s:hlid_normal].gui.bg == ''
let a:highlights[s:hlid_normal].gui.bg = 'white'
endif
if a:highlights[s:hlid_normal].gui.fg == ''
let a:highlights[s:hlid_normal].gui.fg = 'black'
endif
endfunction
" {>2} Map gui settings to cterm settings
" Given information about a highlight group, replace the cterm settings with
" the mapped gui settings, applying any attribute overrides along the way. In
" particular, this gives special treatment to the 'reverse' attribute and the
" 'guisp' attribute. In particular, if the 'reverse' attribute is set for
" gvim, we unset it for the terminal and instead set ctermfg to match guibg
" and vice versa, since terminals can consider a 'reverse' flag to mean using
" default-bg-on-default-fg instead of current-bg-on-current-fg. We also
" ensure that the 'sp' attribute is never set for cterm, since no terminal can
" handle that particular highlight. If the user wants to display the guisp
" color, he should map it to either 'fg' or 'bg' using g:CSApprox_attr_map.
function! s:FixupCtermInfo(highlights)
for hl in values(a:highlights)
if !has_key(hl, 'cterm')
let hl["cterm"] = {}
endif
" Find attributes to be set in the terminal
for attr in s:PossibleAttributes()
let hl.cterm[attr] = ''
if hl.gui[attr] == 1
if s:attr_map(attr) != ''
let hl.cterm[ s:attr_map(attr) ] = 1
endif
endif
endfor
for color in [ "bg", "fg" ]
let eff_color = color
if hl.cterm['reverse']
let eff_color = (color == 'bg' ? 'fg' : 'bg')
endif
let hl.cterm[color] = get(hl.gui, s:attr_map(eff_color), '')
endfor
if hl.gui['sp'] != '' && s:attr_map('sp') != ''
let hl.cterm[s:attr_map('sp')] = hl.gui['sp']
endif
if exists("g:CSApprox_fake_reverse") && g:CSApprox_fake_reverse
if hl.cterm['reverse'] && hl.cterm.bg == ''
let hl.cterm.bg = 'fg'
endif
if hl.cterm['reverse'] && hl.cterm.fg == ''
let hl.cterm.fg = 'bg'
endif
if hl.cterm['reverse']
let hl.cterm.reverse = ''
endif
endif
endfor
endfunction
" {>2} Kludge around inability to reference autoload functions
function! s:DefaultApproximator(...)
return call('csapprox#per_component#Approximate', a:000)
endfunction
" {>2} Set cterm colors for a highlight group
" Given the information for a single highlight group (ie, the value of
" one of the items in s:Highlights() already normalized with s:FixupCtermInfo
" and s:FixupGuiInfo), handle matching the gvim colors to the closest cterm
" colors by calling the appropriate approximator as specified with the
" g:CSApprox_approximator_function variable and set the colors and attributes
" appropriately to match the gui.
function! s:SetCtermFromGui(hl)
let hl = a:hl
" Set up the default approximator function, if needed
if !exists("g:CSApprox_approximator_function")
let g:CSApprox_approximator_function = function("s:DefaultApproximator")
endif
" Clear existing highlights
exe 'hi ' . hl.name . ' cterm=NONE ctermbg=NONE ctermfg=NONE'
for which in [ 'bg', 'fg' ]
let val = hl.cterm[which]
" Skip unset colors
if val == -1 || val == ""
continue
endif
" Try translating anything but 'fg', 'bg', #rrggbb, and rrggbb from an
" rgb.txt color to a #rrggbb color
if val !~? '^[fb]g$' && val !~ '^#\=\x\{6}$'
try
" First see if it is in our preset-by-vim rgb list
let val = s:rgb_presets[tolower(val)]
catch
" Then try loading and checking our real rgb list
if empty(s:rgb)
call s:UpdateRgbHash()
endif
try
let val = s:rgb[tolower(val)]
catch
" And then barf if we still haven't found it
if &verbose
echomsg "CSApprox: Colorscheme uses unknown color \"" . val . "\""
endif
continue
endtry
endtry
endif
if val =~? '^[fb]g$'
exe 'hi ' . hl.name . ' cterm' . which . '=' . val
let hl.cterm[which] = val
elseif val =~ '^#\=\x\{6}$'
let val = substitute(val, '^#', '', '')
let r = str2nr(val[0:1], 16)
let g = str2nr(val[2:3], 16)
let b = str2nr(val[4:5], 16)
let hl.cterm[which] = g:CSApprox_approximator_function(r, g, b)
exe 'hi ' . hl.name . ' cterm' . which . '=' . hl.cterm[which]
else
throw "Internal error handling color: " . val
endif
endfor
" Finally, set the attributes
let attrs = s:PossibleAttributes()
call filter(attrs, 'hl.cterm[v:val] == 1')
if !empty(attrs)
exe 'hi ' . hl.name . ' cterm=' . join(attrs, ',')
endif
endfunction
" {>1} Top-level control
" Cache the highlight ID of the normal group; it's used often and won't change
let s:hlid_normal = hlID('Normal')
" {>2} Builtin cterm color names above 15
" Vim defines some color name to high color mappings internally (see
" syntax.c:do_highlight). Since we don't want to overwrite a colorscheme that
" was actually written for a high color terminal with our choices, but have no
" way to tell if a colorscheme was written for a high color terminal, we fall
" back on guessing. If any highlight group has a cterm color set to 16 or
" higher, we assume that the user has used a high color colorscheme - unless
" that color is one of the below, which vim can set internally when a color is
" requested by name.
let s:presets_88 = []
let s:presets_88 += [32] " Brown
let s:presets_88 += [72] " DarkYellow
let s:presets_88 += [84] " Gray
let s:presets_88 += [84] " Grey
let s:presets_88 += [82] " DarkGray
let s:presets_88 += [82] " DarkGrey
let s:presets_88 += [43] " LightBlue
let s:presets_88 += [61] " LightGreen
let s:presets_88 += [63] " LightCyan
let s:presets_88 += [74] " LightRed
let s:presets_88 += [75] " LightMagenta
let s:presets_88 += [78] " LightYellow
let s:presets_256 = []
let s:presets_256 += [130] " Brown
let s:presets_256 += [130] " DarkYellow
let s:presets_256 += [248] " Gray
let s:presets_256 += [248] " Grey
let s:presets_256 += [242] " DarkGray
let s:presets_256 += [242] " DarkGrey
let s:presets_256 += [ 81] " LightBlue
let s:presets_256 += [121] " LightGreen
let s:presets_256 += [159] " LightCyan
let s:presets_256 += [224] " LightRed
let s:presets_256 += [225] " LightMagenta
let s:presets_256 += [229] " LightYellow
" {>2} Wrapper around :exe to allow :executing multiple commands.
" "cmd" is the command to be :executed.
" If the variable is a String, it is :executed.
" If the variable is a List, each element is :executed.
function! s:exe(cmd)
if type(a:cmd) == type('')
exe a:cmd
else
for cmd in a:cmd
call s:exe(cmd)
endfor
endif
endfunction
" {>2} Function to handle hooks
" Prototype: HandleHooks(type [, scheme])
" "type" is the type of hook to be executed, ie. "pre" or "post"
" "scheme" is the name of the colorscheme that is currently active, if known
"
" If the variables g:CSApprox_hook_{type} and g:CSApprox_hook_{scheme}_{type}
" exist, this will :execute them in that order. If one does not exist, it
" will silently be ignored.
"
" If the scheme name contains characters that are invalid in a variable name,
" they will simply be removed. Ie, g:colors_name = "123 foo_bar-baz456"
" becomes "foo_barbaz456"
"
" NOTE: Exceptions will be printed out, rather than end processing early. The
" rationale is that it is worse for the user to fix the hook in an editor with
" broken colors. :)
function! s:HandleHooks(type, ...)
let type = a:type
let scheme = (a:0 == 1 ? a:1 : "")
let scheme = substitute(scheme, '[^[:alnum:]_]', '', 'g')
let scheme = substitute(scheme, '^\d\+', '', '')
for cmd in [ 'g:CSApprox_hook_' . type,
\ 'g:CSApprox_' . scheme . '_hook_' . type,
\ 'g:CSApprox_hook_' . scheme . '_' . type ]
if exists(cmd)
try
call s:exe(eval(cmd))
catch
echomsg "Error processing " . cmd . ":"
echomsg v:exception
endtry
endif
endfor
endfunction
" {>2} Main function
" Wrapper around the actual implementation to make it easier to ensure that
" all temporary settings are restored by the time we return, whether or not
" something was thrown. Additionally, sets the 'verbose' option to the max of
" g:CSApprox_verbose_level (default 1) and &verbose for the duration of the
" main function. This allows us to default to a message whenever any error,
" even a recoverable one, occurs, meaning the user quickly finds out when
" something's wrong, but makes it very easy for the user to make us silent.
function! s:CSApprox(...)
try
if a:0 == 1 && a:1
if !exists('s:inhibit_hicolor_test')
let s:inhibit_hicolor_test = 0
endif
let s:inhibit_hicolor_test += 1
endif
let savelz = &lz
set lz
if exists("g:CSApprox_attr_map") && type(g:CSApprox_attr_map) == type({})
call s:NormalizeAttrMap(g:CSApprox_attr_map)
else
let g:CSApprox_attr_map = { 'italic' : 'underline', 'sp' : 'fg' }
endif
" colors_name must be unset and reset, or vim will helpfully reload the
" colorscheme when we set the background for the Normal group.
" See the help entries ':hi-normal-cterm' and 'g:colors_name'
if exists("g:colors_name")
let colors_name = g:colors_name
unlet g:colors_name
endif
" Similarly, the global variable "syntax_cmd" must be set to something vim
" doesn't recognize, lest vim helpfully switch all colors back to the
" default whenever the Normal group is changed (in syncolor.vim)...
if exists("g:syntax_cmd")
let syntax_cmd = g:syntax_cmd
endif
let g:syntax_cmd = "PLEASE DON'T CHANGE ANY COLORS!!!"
" Set up our verbosity level, if needed.
" Default to 1, so the user can know if something's wrong.
if !exists("g:CSApprox_verbose_level")
let g:CSApprox_verbose_level = 1
endif
call s:HandleHooks("pre", (exists("colors_name") ? colors_name : ""))
let old_bg = &bg
" Set 'verbose' set to the maximum of &verbose and CSApprox_verbose_level
exe max([&vbs, g:CSApprox_verbose_level]) 'verbose call s:CSApproxImpl()'
let &bg = old_bg
call s:HandleHooks("post", (exists("colors_name") ? colors_name : ""))
finally
if exists("colors_name")
let g:colors_name = colors_name
endif
unlet g:syntax_cmd
if exists("syntax_cmd")
let g:syntax_cmd = syntax_cmd
endif
let &lz = savelz
if a:0 == 1 && a:1
let s:inhibit_hicolor_test -= 1
if s:inhibit_hicolor_test == 0
unlet s:inhibit_hicolor_test
endif
endif
endtry
endfunction
" {>2} CSApprox implementation
" Verifies that the user has not started the gui, and that vim recognizes his
" terminal as having enough colors for us to go on, then gathers the existing
" highlights and sets the cterm colors to match the gui colors for all those
" highlights (unless the colorscheme was already high-color).
function! s:CSApproxImpl()
" Return if not running in an 88/256 color terminal
if &t_Co != 256 && &t_Co != 88
if &verbose && &t_Co != ''
echomsg "CSApprox skipped; terminal only has" &t_Co "colors, not 88/256"
echomsg "Try checking :help csapprox-terminal for workarounds"
endif
return
endif
" Get the current highlight colors
let highlights = s:Highlights(["gui"])
let hinums = keys(highlights)
" Make sure that the script is not already 256 color by checking to make
" sure that no groups are set to a value above 256, unless the color they're
" set to can be set internally by vim (gotten by scraping
" color_numbers_{88,256} in syntax.c:do_highlight)
"
" XXX: s:inhibit_hicolor_test allows this test to be skipped for snapshots
if !exists("s:inhibit_hicolor_test") || !s:inhibit_hicolor_test
for hlid in hinums
for type in [ 'bg', 'fg' ]
let color = synIDattr(hlid, type, 'cterm')
if color > 15 && index(s:presets_{&t_Co}, str2nr(color)) < 0
" The value is set above 15, and wasn't set by vim.
if &verbose >= 2
echomsg 'CSApprox: Exiting - high' type 'color found for' highlights[hlid].name
endif
return
endif
endfor
endfor
endif
call s:FixupGuiInfo(highlights)
call s:FixupCtermInfo(highlights)
" We need to set the Normal group first so 'bg' and 'fg' work as colors
call insert(hinums, remove(hinums, index(hinums, string(s:hlid_normal))))
" then set each color's cterm attributes to match gui
for hlid in hinums
call s:SetCtermFromGui(highlights[hlid])
endfor
endfunction
" {>2} Write out the current colors to an 88/256 color colorscheme file.
" "file" - destination filename
" "overwrite" - overwrite an existing file
function! s:CSApproxSnapshot(file, overwrite)
let force = a:overwrite
let file = fnamemodify(a:file, ":p")
if empty(file)
throw "Bad file name: \"" . file . "\""
elseif (filewritable(fnamemodify(file, ':h')) != 2)
throw "Cannot write to directory \"" . fnamemodify(file, ':h') . "\""
elseif (glob(file) || filereadable(file)) && !force
" TODO - respect 'confirm' here and prompt if it's set.
echohl ErrorMsg
echomsg "E13: File exists (add ! to override)"
echohl None
return
endif
" Sigh... This is basically a bug, but one that I have no chance of fixing.
" Vim decides that Pmenu should be highlighted in 'LightMagenta' in terminal
" vim and as 'Magenta' in gvim... And I can't ask it what color it actually
" *wants*. As far as I can see, there's no way for me to learn that
" I should output 'Magenta' when 'LightMagenta' is provided by vim for the
" terminal.
if !has('gui_running')
echohl WarningMsg
echomsg "Warning: The written colorscheme may have incorrect colors"
echomsg " when CSApproxSnapshot is used in terminal vim!"
echohl None
endif
let save_t_Co = &t_Co
let s:inhibit_hicolor_test = 1
if exists("g:CSApprox_konsole")
let save_CSApprox_konsole = g:CSApprox_konsole
endif
if exists("g:CSApprox_eterm")
let save_CSApprox_eterm = g:CSApprox_eterm
endif
" Needed just like in CSApprox()
if exists("g:colors_name")
let colors_name = g:colors_name
unlet g:colors_name
endif
" Needed just like in CSApprox()
if exists("g:syntax_cmd")
let syntax_cmd = g:syntax_cmd
endif
let g:syntax_cmd = "PLEASE DON'T CHANGE ANY COLORS!!!"
try
let lines = []
let lines += [ '" This scheme was created by CSApproxSnapshot' ]
let lines += [ '" on ' . strftime("%a, %d %b %Y") ]
let lines += [ '' ]
let lines += [ 'hi clear' ]
let lines += [ 'if exists("syntax_on")' ]
let lines += [ ' syntax reset' ]
let lines += [ 'endif' ]
let lines += [ '' ]
let lines += [ 'if v:version < 700' ]
let lines += [ ' let g:colors_name = expand("<sfile>:t:r")' ]
let lines += [ ' command! -nargs=+ CSAHi exe "hi" substitute(substitute(<q-args>, "undercurl", "underline", "g"), "guisp\\S\\+", "", "g")' ]
let lines += [ 'else' ]
let lines += [ ' let g:colors_name = expand("<sfile>:t:r")' ]
let lines += [ ' command! -nargs=+ CSAHi exe "hi" <q-args>' ]
let lines += [ 'endif' ]
let lines += [ '' ]
let lines += [ 'function! s:old_kde()' ]
let lines += [ ' " Konsole only used its own palette up til KDE 4.2.0' ]
let lines += [ " if executable('kde4-config') && system('kde4-config --kde-version') =~ '^4\.[10]\.'" ]
let lines += [ ' return 1' ]
let lines += [ " elseif executable('kde-config') && system('kde-config --version') =~# 'KDE: 3\.'" ]
let lines += [ ' return 1' ]
let lines += [ ' else' ]
let lines += [ ' return 0' ]
let lines += [ ' endif' ]
let lines += [ 'endfunction' ]
let lines += [ '' ]
let lines += [ 'if 0' ]
for round in [ 'konsole', 'eterm', 'xterm', 'urxvt' ]
sil! unlet g:CSApprox_eterm
sil! unlet g:CSApprox_konsole
if round == 'konsole'
let g:CSApprox_konsole = 1
elseif round == 'eterm'
let g:CSApprox_eterm = 1
endif
if round == 'urxvt'
set t_Co=88
else
set t_Co=256
endif
call s:CSApprox()
let highlights = s:Highlights(["term", "cterm", "gui"])
call s:FixupGuiInfo(highlights)
if round == 'konsole' || round == 'eterm'
if round == 'konsole'
let term_matches_round = '(&term =~? "^konsole" && s:old_kde())'
else
let term_matches_round = '&term =~? "^' . round . '"'
endif
let lines += [ 'elseif has("gui_running") || (&t_Co == ' . &t_Co
\ . ' && (&term ==# "xterm" || &term =~# "^screen")'
\ . ' && exists("g:CSApprox_' . round . '")'
\ . ' && g:CSApprox_' . round . ')'
\ . ' || ' . term_matches_round ]
else
let lines += [ 'elseif has("gui_running") || &t_Co == ' . &t_Co ]
endif
let hinums = keys(highlights)
call insert(hinums, remove(hinums, index(hinums, string(s:hlid_normal))))
for hlnum in hinums
let hl = highlights[hlnum]
let line = ' CSAHi ' . hl.name
for type in [ 'term', 'cterm', 'gui' ]
let attrs = s:PossibleAttributes()
call filter(attrs, 'hl[type][v:val] == 1')
let line .= ' ' . type . '=' . (empty(attrs) ? 'NONE' : join(attrs, ','))
if type != 'term'
let line .= ' ' . type . 'bg=' . (len(hl[type].bg) ? hl[type].bg : 'bg')
let line .= ' ' . type . 'fg=' . (len(hl[type].fg) ? hl[type].fg : 'fg')
if type == 'gui' && hl.gui.sp !~ '^\s*$'
let line .= ' ' . type . 'sp=' . hl[type].sp
endif
endif
endfor
let lines += [ line ]
endfor
endfor
let lines += [ 'endif' ]
let lines += [ '' ]
let lines += [ 'if 1' ]
let lines += [ ' delcommand CSAHi' ]
let lines += [ 'endif' ]
call writefile(lines, file)
finally
let &t_Co = save_t_Co
if exists("save_CSApprox_konsole")
let g:CSApprox_konsole = save_CSApprox_konsole
endif
if exists("save_CSApprox_eterm")
let g:CSApprox_eterm = save_CSApprox_eterm
endif
if exists("colors_name")
let g:colors_name = colors_name
endif
unlet g:syntax_cmd
if exists("syntax_cmd")
let g:syntax_cmd = syntax_cmd
endif
call s:CSApprox()
unlet s:inhibit_hicolor_test
endtry
endfunction
" {>2} Snapshot user command
command! -bang -nargs=1 -complete=file -bar CSApproxSnapshot
\ call s:CSApproxSnapshot(<f-args>, strlen("<bang>"))
" {>2} Manual updates
command -bang -bar CSApprox call s:CSApprox(strlen("<bang>"))
" {>1} Autocmds
" Set up an autogroup to hook us on the completion of any :colorscheme command
augroup CSApprox
au!
au ColorScheme * call s:CSApprox()
"au User CSApproxPost highlight Normal ctermbg=none | highlight NonText ctermbg=None
augroup END
" {>1} Restore compatibility options
let &cpo = s:savecpo
unlet s:savecpo
" {0} vim:sw=2:sts=2:et:fdm=expr:fde=substitute(matchstr(getline(v\:lnum),'^\\s*"\\s*{\\zs.\\{-}\\ze}'),'^$','=','')

41
Makefile Normal file
View File

@ -0,0 +1,41 @@
SCRIPT=ftplugin/csv.vim
DOC=doc/ft-csv.txt
PLUGIN=csv
VERSION=$(shell sed -n '/Version:/{s/^.*\(\S\.\S\+\)$$/\1/;p}' $(SCRIPT))
.PHONY : csv.vmb csv
all: vimball
release: $(PLUGIN) $(PLUGIN).vmb
clean:
find . -type f \( -name "*.vba" -o -name "*.vmb" -o -name "*.orig" \
-o -name "*.~*" -o -name ".VimballRecord" -o -name ".*.un~" \
-o -name "*.sw*" -o -name tags \) -delete
dist-clean: clean
vimball: $(PLUGIN).vmb install
install:
vim -N -u NONE -i NONE -c 'ru! plugin/vimballPlugin.vim' -c 'ru! vimballPlugin.vim' -c':so %' -c':q!' ${PLUGIN}.vmb
uninstall:
vim -N -u NONE -i NONE -c 'ru! plugin/vimballPlugin.vim' -c 'ru! vimballPlugin.vim' -c':RmVimball ${PLUGIN}.vmb'
undo:
for i in */*.orig; do mv -f "$$i" "$${i%.*}"; done
csv.vmb:
vim -N -u NONE -i NONE -c 'ru! plugin/vimballPlugin.vim' -c ':let g:vimball_home=getcwd()' -c ':call append("0", ["ftplugin/csv.vim", "doc/ft-csv.txt", "syntax/csv.vim", "ftdetect/csv.vim", "plugin/csv.vim"])' -c '$$d' -c ':%MkVimball! ${PLUGIN}' -c':q!'
ln -f $(PLUGIN).vmb $(PLUGIN)-$(VERSION).vmb
csv:
rm -f ${PLUGIN}.vmb
perl -i.orig -pne 'if (/Version:/) {s/\.(\d+)*/sprintf(".%d", 1+$$1)/e}' ${SCRIPT}
perl -i -pne 'if (/GetLatestVimScripts:/) {s/(\d+)\s+:AutoInstall:/sprintf("%d :AutoInstall:", 1+$$1)/e}' ${SCRIPT}
perl -i -pne 'if (/Last Change:/) {s/(:\s+).*\n$$/sprintf(": %s", `date -R`)/e}' ${SCRIPT}
perl -i -pne 'if (/Last Change:/) {s/(:\s+).*\n$$/sprintf(": %s", `LC_TIME=C date +"%a, %d %b %Y"`)/e}' ${DOC}
perl -i.orig -pne 'if (/Version:/) {s/\.(\d+).*/sprintf(".%d", 1+$$1)/e}' ${DOC}
cp -f $(DOC) README

1707
README Normal file

File diff suppressed because it is too large Load Diff

29
after/plugin/CSApprox.vim Executable file
View File

@ -0,0 +1,29 @@
" Copyright (c) 2012, Matthew J. Wozniski
" All rights reserved.
"
" Redistribution and use in source and binary forms, with or without
" modification, are permitted provided that the following conditions are met:
" * Redistributions of source code must retain the above copyright
" notice, this list of conditions and the following disclaimer.
" * Redistributions in binary form must reproduce the above copyright
" notice, this list of conditions and the following disclaimer in the
" documentation and/or other materials provided with the distribution.
" * The names of the contributors may not be used to endorse or promote
" products derived from this software without specific prior written
" permission.
"
" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY
" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
" The last thing to do when sourced is to run and actually fix up the colors.
if !has('gui_running') && exists(':CSApprox')
CSApprox
endif

255
autoload/pathogen.vim Executable file
View File

@ -0,0 +1,255 @@
" pathogen.vim - path option manipulation
" Maintainer: Tim Pope <http://tpo.pe/>
" Version: 2.0
" Install in ~/.vim/autoload (or ~\vimfiles\autoload).
"
" For management of individually installed plugins in ~/.vim/bundle (or
" ~\vimfiles\bundle), adding `call pathogen#infect()` to the top of your
" .vimrc is the only other setup necessary.
"
" The API is documented inline below. For maximum ease of reading,
" :set foldmethod=marker
if exists("g:loaded_pathogen") || &cp
finish
endif
let g:loaded_pathogen = 1
" Point of entry for basic default usage. Give a directory name to invoke
" pathogen#runtime_append_all_bundles() (defaults to "bundle"), or a full path
" to invoke pathogen#runtime_prepend_subdirectories(). Afterwards,
" pathogen#cycle_filetype() is invoked.
function! pathogen#infect(...) abort " {{{1
let source_path = a:0 ? a:1 : 'bundle'
if source_path =~# '[\\/]'
call pathogen#runtime_prepend_subdirectories(source_path)
else
call pathogen#runtime_append_all_bundles(source_path)
endif
call pathogen#cycle_filetype()
return ''
endfunction " }}}1
" Split a path into a list.
function! pathogen#split(path) abort " {{{1
if type(a:path) == type([]) | return a:path | endif
let split = split(a:path,'\\\@<!\%(\\\\\)*\zs,')
return map(split,'substitute(v:val,''\\\([\\,]\)'',''\1'',"g")')
endfunction " }}}1
" Convert a list to a path.
function! pathogen#join(...) abort " {{{1
if type(a:1) == type(1) && a:1
let i = 1
let space = ' '
else
let i = 0
let space = ''
endif
let path = ""
while i < a:0
if type(a:000[i]) == type([])
let list = a:000[i]
let j = 0
while j < len(list)
let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
let path .= ',' . escaped
let j += 1
endwhile
else
let path .= "," . a:000[i]
endif
let i += 1
endwhile
return substitute(path,'^,','','')
endfunction " }}}1
" Convert a list to a path with escaped spaces for 'path', 'tag', etc.
function! pathogen#legacyjoin(...) abort " {{{1
return call('pathogen#join',[1] + a:000)
endfunction " }}}1
" Remove duplicates from a list.
function! pathogen#uniq(list) abort " {{{1
let i = 0
let seen = {}
while i < len(a:list)
if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
call remove(a:list,i)
elseif a:list[i] ==# ''
let i += 1
let empty = 1
else
let seen[a:list[i]] = 1
let i += 1
endif
endwhile
return a:list
endfunction " }}}1
" \ on Windows unless shellslash is set, / everywhere else.
function! pathogen#separator() abort " {{{1
return !exists("+shellslash") || &shellslash ? '/' : '\'
endfunction " }}}1
" Convenience wrapper around glob() which returns a list.
function! pathogen#glob(pattern) abort " {{{1
let files = split(glob(a:pattern),"\n")
return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
endfunction "}}}1
" Like pathogen#glob(), only limit the results to directories.
function! pathogen#glob_directories(pattern) abort " {{{1
return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
endfunction "}}}1
" Turn filetype detection off and back on again if it was already enabled.
function! pathogen#cycle_filetype() " {{{1
if exists('g:did_load_filetypes')
filetype off
filetype on
endif
endfunction " }}}1
" Checks if a bundle is 'disabled'. A bundle is considered 'disabled' if
" its 'basename()' is included in g:pathogen_disabled[]' or ends in a tilde.
function! pathogen#is_disabled(path) " {{{1
if a:path =~# '\~$'
return 1
elseif !exists("g:pathogen_disabled")
return 0
endif
let sep = pathogen#separator()
return index(g:pathogen_disabled, strpart(a:path, strridx(a:path, sep)+1)) != -1
endfunction "}}}1
" Prepend all subdirectories of path to the rtp, and append all 'after'
" directories in those subdirectories.
function! pathogen#runtime_prepend_subdirectories(path) " {{{1
let sep = pathogen#separator()
let before = filter(pathogen#glob_directories(a:path.sep."*"), '!pathogen#is_disabled(v:val)')
let after = filter(pathogen#glob_directories(a:path.sep."*".sep."after"), '!pathogen#is_disabled(v:val[0:-7])')
let rtp = pathogen#split(&rtp)
let path = expand(a:path)
call filter(rtp,'v:val[0:strlen(path)-1] !=# path')
let &rtp = pathogen#join(pathogen#uniq(before + rtp + after))
return &rtp
endfunction " }}}1
" For each directory in rtp, check for a subdirectory named dir. If it
" exists, add all subdirectories of that subdirectory to the rtp, immediately
" after the original directory. If no argument is given, 'bundle' is used.
" Repeated calls with the same arguments are ignored.
function! pathogen#runtime_append_all_bundles(...) " {{{1
let sep = pathogen#separator()
let name = a:0 ? a:1 : 'bundle'
if "\n".s:done_bundles =~# "\\M\n".name."\n"
return ""
endif
let s:done_bundles .= name . "\n"
let list = []
for dir in pathogen#split(&rtp)
if dir =~# '\<after$'
let list += filter(pathogen#glob_directories(substitute(dir,'after$',name,'').sep.'*[^~]'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
else
let list += [dir] + filter(pathogen#glob_directories(dir.sep.name.sep.'*[^~]'), '!pathogen#is_disabled(v:val)')
endif
endfor
let &rtp = pathogen#join(pathogen#uniq(list))
return 1
endfunction
let s:done_bundles = ''
" }}}1
" Invoke :helptags on all non-$VIM doc directories in runtimepath.
function! pathogen#helptags() " {{{1
let sep = pathogen#separator()
for dir in pathogen#split(&rtp)
if (dir.sep)[0 : strlen($VIMRUNTIME)] !=# $VIMRUNTIME.sep && filewritable(dir.sep.'doc') == 2 && !empty(filter(split(glob(dir.sep.'doc'.sep.'*'),"\n>"),'!isdirectory(v:val)')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags'))
helptags `=dir.'/doc'`
endif
endfor
endfunction " }}}1
command! -bar Helptags :call pathogen#helptags()
" Like findfile(), but hardcoded to use the runtimepath.
function! pathogen#runtime_findfile(file,count) "{{{1
let rtp = pathogen#join(1,pathogen#split(&rtp))
let file = findfile(a:file,rtp,a:count)
if file ==# ''
return ''
else
return fnamemodify(file,':p')
endif
endfunction " }}}1
" Backport of fnameescape().
function! pathogen#fnameescape(string) " {{{1
if exists('*fnameescape')
return fnameescape(a:string)
elseif a:string ==# '-'
return '\-'
else
return substitute(escape(a:string," \t\n*?[{`$\\%#'\"|!<"),'^[+>]','\\&','')
endif
endfunction " }}}1
if exists(':Vedit')
finish
endif
function! s:find(count,cmd,file,lcd) " {{{1
let rtp = pathogen#join(1,pathogen#split(&runtimepath))
let file = pathogen#runtime_findfile(a:file,a:count)
if file ==# ''
return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'"
elseif a:lcd
let path = file[0:-strlen(a:file)-2]
execute 'lcd `=path`'
return a:cmd.' '.pathogen#fnameescape(a:file)
else
return a:cmd.' '.pathogen#fnameescape(file)
endif
endfunction " }}}1
function! s:Findcomplete(A,L,P) " {{{1
let sep = pathogen#separator()
let cheats = {
\'a': 'autoload',
\'d': 'doc',
\'f': 'ftplugin',
\'i': 'indent',
\'p': 'plugin',
\'s': 'syntax'}
if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0])
let request = cheats[a:A[0]].a:A[1:-1]
else
let request = a:A
endif
let pattern = substitute(request,'/\|\'.sep,'*'.sep,'g').'*'
let found = {}
for path in pathogen#split(&runtimepath)
let path = expand(path, ':p')
let matches = split(glob(path.sep.pattern),"\n")
call map(matches,'isdirectory(v:val) ? v:val.sep : v:val')
call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]')
for match in matches
let found[match] = 1
endfor
endfor
return sort(keys(found))
endfunction " }}}1
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(<count>,'edit<bang>',<q-args>,0)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(<count>,'edit<bang>',<q-args>,0)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(<count>,'edit<bang>',<q-args>,1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(<count>,'split',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(<count>,'vsplit',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(<count>,'tabedit',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(<count>,'pedit',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(<count>,'read',<q-args>,<bang>1)
" vim:set et sw=2:

1
autoload/vim-pathogen Submodule

@ -0,0 +1 @@
Subproject commit 06da921608b971fb47603671bcafdb2843992eb3

View File

@ -0,0 +1,207 @@
" Maintainer: Robert Melton ( robert -at- robertmelton -dot- com)
" Last Change: 2012 Oct 28th
" default schemes
amenu T&hemes.D&efault.Blue :colo blue<CR>
amenu T&hemes.D&efault.DarkBlue :colo darkblue<CR>
amenu T&hemes.D&efault.Default :colo default<CR>
amenu T&hemes.D&efault.Delek :colo delek<CR>
amenu T&hemes.D&efault.Desert :colo desert<CR>
amenu T&hemes.D&efault.ElfLord :colo elflord<CR>
amenu T&hemes.D&efault.Evening :colo evening<CR>
amenu T&hemes.D&efault.Koehler :colo koehler<CR>
amenu T&hemes.D&efault.Morning :colo morning<CR>
amenu T&hemes.D&efault.Murphy :colo murphy<CR>
amenu T&hemes.D&efault.Pablo :colo pablo<CR>
amenu T&hemes.D&efault.PeachPuff :colo peachpuff<CR>
amenu T&hemes.D&efault.Ron :colo ron<CR>
amenu T&hemes.D&efault.Shine :colo shine<CR>
amenu T&hemes.D&efault.Torte :colo torte<CR>
amenu T&hemes.-s1- :
" New
amenu T&hemes.&New.&Dark.Wombat256 :colo wombat256<CR>
amenu T&hemes.&New.&Dark.Wombat256mod :colo wombat256mod<CR>
amenu T&hemes.&New.&Dark.Zendnb :colo zendnb<CR>
amenu T&hemes.&New.&Dark.Vimhut :colo vimhut<CR>
amenu T&hemes.&New.&Dark.Sorcerer :colo sorcerer<CR>
amenu T&hemes.&New.&Dark.Mizore :colo mizore<CR>
amenu T&hemes.&New.&Dark.Midnight :colo midnight<CR>
amenu T&hemes.&New.&Dark.Midnight2 :colo midnight2<CR>
amenu T&hemes.&New.&Dark.Manuscript :colo manuscript<CR>
amenu T&hemes.&New.&Dark.Luinnar :colo luinnar<CR>
amenu T&hemes.&New.&Dark.LiquidCarbon :colo liquidcarbon<CR>
amenu T&hemes.&New.&Dark.Gentooish :colo gentooish<CR>
amenu T&hemes.&New.&Dark.FU :colo fu<CR>
amenu T&hemes.&New.&Dark.Dejavu :colo dejavu<CR>
amenu T&hemes.&New.&Dark.Blackbeauty :colo blackbeauty<CR>
amenu T&hemes.&New.&Other.Tesla :colo tesla<CR>
amenu T&hemes.&New.&Other.Solarized :colo solarized<CR>
amenu T&hemes.&New.&Other.PSClone :colo psclone<CR>
amenu T&hemes.&New.&Other.Paradox :colo paradox<CR>
amenu T&hemes.&New.&Other.Omen :colo omen<CR>
amenu T&hemes.&New.&Other.NightVision :colo nightvision<CR>
amenu T&hemes.&New.&Other.Masmed :colo masmed<CR>
amenu T&hemes.&New.&Other.Deepblue :colo deepblue<CR>
amenu T&hemes.&New.&Other.Darkburn :colo darkburn<CR>
amenu T&hemes.&New.&Other.Bigbang :colo bigbang<CR>
amenu T&hemes.&New.&Other.Astroboy :colo astroboy<CR>
amenu T&hemes.&New.&Other.Anokha :colo anokha<CR>
amenu T&hemes.&New.&Light.Zenesque :colo zenesque<CR>
amenu T&hemes.&New.&Light.Scame :colo scame<CR>
amenu T&hemes.&New.&Light.Newspaper :colo newspaper<CR>
amenu T&hemes.&New.&Light.Montz :colo montz<CR>
amenu T&hemes.&New.&Light.MickeySoft :colo mickeysoft<CR>
amenu T&hemes.&New.&Light.MayanSmoke :colo mayansmoke<CR>
amenu T&hemes.&New.&Light.IntelliJ :colo intellij<CR>
amenu T&hemes.&New.&Light.Imperial :colo imperial<CR>
amenu T&hemes.&New.&Light.Greyhouse :colo greyhouse<CR>
amenu T&hemes.&New.&Light.Github :colo github<CR>
amenu T&hemes.&New.&Light.Gaea :colo gaea<CR>
amenu T&hemes.&New.&Light.Calmbreeze :colo calmbreeze<CR>
" Updated
amenu T&hemes.&Updated.&Dark.DarkZ :colo darkz<CR>
amenu T&hemes.&Updated.&Dark.DesertEx :colo desertEx<CR>
amenu T&hemes.&Updated.&Dark.Earendel :colo earendel<CR>
amenu T&hemes.&Updated.&Dark.Fruity :colo fruity<CR>
amenu T&hemes.&Updated.&Dark.Jellybeans :colo jellybeans<CR>
amenu T&hemes.&Updated.&Dark.Leo :colo leo<CR>
amenu T&hemes.&Updated.&Dark.Lucius :colo lucius<CR>
amenu T&hemes.&Updated.&Dark.Matrix :colo matrix<CR>
amenu T&hemes.&Updated.&Dark.Metacosm :colo metacosm<CR>
amenu T&hemes.&Updated.&Dark.Moria :colo moria<CR>
amenu T&hemes.&Updated.&Dark.Neverness :colo neverness<CR>
amenu T&hemes.&Updated.&Dark.Railscasts :colo railscasts<CR>
amenu T&hemes.&Updated.&Dark.Synic :colo synic<CR>
amenu T&hemes.&Updated.&Dark.Vividchalk :colo vividchalk<CR>
amenu T&hemes.&Updated.&Dark.Xoria256 :colo xoria256<CR>
amenu T&hemes.&Updated.&Dark.Zenburn :colo zenburn<CR>
amenu T&hemes.&Updated.&Light.Biogoo :colo biogoo<CR>
amenu T&hemes.&Updated.&Light.Print_bw :colo print_bw<CR>
amenu T&hemes.&Updated.&Light.Pyte :colo pyte<CR>
amenu T&hemes.&Updated.&Light.VYLight :colo vylight<CR>
amenu T&hemes.&Updated.&Other.Moss :colo moss<CR>
amenu T&hemes.&Updated.&Other.Peaksea :colo peaksea<CR>
" Themepack Themes
amenu T&hemes.&Dark.Adaryn :colo adaryn<CR>
amenu T&hemes.&Dark.Adrian :colo adrian<CR>
amenu T&hemes.&Dark.Anotherdark :colo anotherdark<CR>
amenu T&hemes.&Dark.Asu1dark :colo asu1dark<CR>
amenu T&hemes.&Dark.BlackSea :colo blacksea<CR>
amenu T&hemes.&Dark.Brookstream :colo brookstream<CR>
amenu T&hemes.&Dark.Calmar256-dark :colo calmar256-dark<CR>
amenu T&hemes.&Dark.Camo :colo camo<CR>
amenu T&hemes.&Dark.Candy :colo candy<CR>
amenu T&hemes.&Dark.Candycode :colo candycode<CR>
amenu T&hemes.&Dark.Colorer :colo colorer<CR>
amenu T&hemes.&Dark.Dante :colo dante<CR>
amenu T&hemes.&Dark.Darkbone :colo darkbone<CR>
amenu T&hemes.&Dark.Darkspectrum :colo darkspectrum<CR>
amenu T&hemes.&Dark.Desert256 :colo desert256<CR>
amenu T&hemes.&Dark.Dusk :colo dusk<CR>
amenu T&hemes.&Dark.DwBlue :colo dw_blue<CR>
amenu T&hemes.&Dark.DwCyan :colo dw_cyan<CR>
amenu T&hemes.&Dark.DwGreen :colo dw_green<CR>
amenu T&hemes.&Dark.DwOrange :colo dw_orange<CR>
amenu T&hemes.&Dark.DwPurple :colo dw_purple<CR>
amenu T&hemes.&Dark.DwRed :colo dw_red<CR>
amenu T&hemes.&Dark.DwYellow :colo dw_yellow<CR>
amenu T&hemes.&Dark.Ekvoli :colo ekvoli<CR>
amenu T&hemes.&Dark.Fnaqevan :colo fnaqevan<CR>
amenu T&hemes.&Dark.Freya :colo freya<CR>
amenu T&hemes.&Dark.Golden :colo golden<CR>
amenu T&hemes.&Dark.Herald :colo herald<CR>
amenu T&hemes.&Dark.Inkpot :colo inkpot<CR>
amenu T&hemes.&Dark.Jammy :colo jammy<CR>
amenu T&hemes.&Dark.Kellys :colo kellys<CR>
amenu T&hemes.&Dark.Lettuce :colo lettuce<CR>
amenu T&hemes.&Dark.Manxome :colo manxome<CR>
amenu T&hemes.&Dark.Maroloccio :colo maroloccio<CR>
amenu T&hemes.&Dark.Molokai :colo molokai<CR>
amenu T&hemes.&Dark.Motus :colo motus<CR>
amenu T&hemes.&Dark.Mustang :colo mustang<CR>
amenu T&hemes.&Dark.Neon :colo neon<CR>
amenu T&hemes.&Dark.Northland :colo northland<CR>
amenu T&hemes.&Dark.Oceanblack :colo oceanblack<CR>
amenu T&hemes.&Dark.Railscasts2 :colo railscasts2<CR>
amenu T&hemes.&Dark.Rdark :colo rdark<CR>
amenu T&hemes.&Dark.Relaxedgreen :colo relaxedgreen<CR>
amenu T&hemes.&Dark.Rootwater :colo rootwater<CR>
amenu T&hemes.&Dark.Tango :colo tango<CR>
amenu T&hemes.&Dark.Tango2 :colo tango2<CR>
amenu T&hemes.&Dark.TIRBlack :colo tir_black<CR>
amenu T&hemes.&Dark.Twilight :colo twilight<CR>
amenu T&hemes.&Dark.Two2Tango :colo two2tango<CR>
amenu T&hemes.&Dark.Vibrantink :colo vibrantink<CR>
amenu T&hemes.&Dark.Wombat :colo wombat<CR>
amenu T&hemes.&Dark.Wuye :colo wuye<CR>
amenu T&hemes.&Dark.Zmrok :colo zmrok<CR>
amenu T&hemes.&Light.Autumn :colo autumn<CR>
amenu T&hemes.&Light.Autumn2 :colo autumn2<CR>
amenu T&hemes.&Light.Autumnleaf :colo autumnleaf<CR>
amenu T&hemes.&Light.Baycomb :colo baycomb<CR>
amenu T&hemes.&Light.BClear :colo bclear<CR>
amenu T&hemes.&Light.Buttercream :colo buttercream<CR>
amenu T&hemes.&Light.Calmar256-light :colo calmar256-light<CR>
amenu T&hemes.&Light.Chela_light :colo chela_light<CR>
amenu T&hemes.&Light.Dawn :colo dawn<CR>
amenu T&hemes.&Light.Eclipse :colo eclipse<CR>
amenu T&hemes.&Light.Fine_blue :colo fine_blue<CR>
amenu T&hemes.&Light.Fog :colo fog<CR>
amenu T&hemes.&Light.Fruit :colo fruit<CR>
amenu T&hemes.&Light.Habilight :colo habilight<CR>
amenu T&hemes.&Light.Impact :colo impact<CR>
amenu T&hemes.&Light.Ironman :colo ironman<CR>
amenu T&hemes.&Light.Martin_krischik :colo martin_krischik<CR>
amenu T&hemes.&Light.Nuvola :colo nuvola<CR>
amenu T&hemes.&Light.Oceanlight :colo oceanlight<CR>
amenu T&hemes.&Light.PapayaWhip :colo PapayaWhip<CR>
amenu T&hemes.&Light.Satori :colo satori<CR>
amenu T&hemes.&Light.Sienna :colo sienna<CR>
amenu T&hemes.&Light.Silent :colo silent<CR>
amenu T&hemes.&Light.Simpleandfriendly :colo simpleandfriendly<CR>
amenu T&hemes.&Light.SoSo :colo soso<CR>
amenu T&hemes.&Light.Spring :colo spring<CR>
amenu T&hemes.&Light.SummerFruit256 :colo summerfruit256<CR>
amenu T&hemes.&Light.TAqua :colo taqua<CR>
amenu T&hemes.&Light.TCSoft :colo tcsoft<CR>
amenu T&hemes.&Light.Tolerable :colo tolerable<CR>
amenu T&hemes.&Light.Vc :colo vc<CR>
amenu T&hemes.&Light.Winter :colo winter<CR>
amenu T&hemes.&Other.Aiseered :colo aiseered<CR>
amenu T&hemes.&Other.Aqua :colo aqua<CR>
amenu T&hemes.&Other.Astronaut :colo astronaut<CR>
amenu T&hemes.&Other.Bluegreen :colo bluegreen<CR>
amenu T&hemes.&Other.Borland :colo borland<CR>
amenu T&hemes.&Other.Breeze :colo breeze<CR>
amenu T&hemes.&Other.Chocolateliquor :colo chocolateliquor<CR>
amenu T&hemes.&Other.Clarity :colo clarity<CR>
amenu T&hemes.&Other.CleanPHP :colo cleanphp<CR>
amenu T&hemes.&Other.Darkblue2 :colo darkblue2<CR>
amenu T&hemes.&Other.Darkslategray :colo darkslategray<CR>
amenu T&hemes.&Other.Denim :colo denim<CR>
amenu T&hemes.&Other.Guardian :colo guardian<CR>
amenu T&hemes.&Other.Marklar :colo marklar<CR>
amenu T&hemes.&Other.Navajo-night :colo navajo-night<CR>
amenu T&hemes.&Other.Navajo :colo navajo<CR>
amenu T&hemes.&Other.Night :colo night<CR>
amenu T&hemes.&Other.Nightshimmer :colo nightshimmer<CR>
amenu T&hemes.&Other.NoQuarter :colo no_quarter<CR>
amenu T&hemes.&Other.Oceandeep :colo oceandeep<CR>
amenu T&hemes.&Other.Olive :colo olive<CR>
amenu T&hemes.&Other.RobinHood :colo robinhood<CR>
amenu T&hemes.&Other.Sea :colo sea<CR>
amenu T&hemes.&Other.Settlemyer :colo settlemyer<CR>
amenu T&hemes.&Other.SoftBlue :colo softblue<CR>
amenu T&hemes.&Other.Tabula :colo tabula<CR>
amenu T&hemes.&Other.Wood :colo wood<CR>
amenu T&hemes.&Other.Xemacs :colo xemacs<CR>

34
bundle/gundo/README.markdown Executable file
View File

@ -0,0 +1,34 @@
<a href="http://flattr.com/thing/74149/Gundo-vim" target="_blank">
<img src="http://api.flattr.com/button/button-compact-static-100x17.png" alt="Flattr this" title="Flattr this" border="0" /></a>
Gundo.vim is Vim plugin to visualize your Vim undo tree.
Preview
-------
Screencast:
### [http://screenr.com/M9l](http://screenr.com/M9l)
Screenshot:
<a href="http://www.flickr.com/photos/sjl7678/5093114605/" title="gundo by stevelosh, on Flickr"><img src="http://farm5.static.flickr.com/4113/5093114605_ebc46d6494.jpg" width="487" height="500" alt="gundo" /></a>
Requirements
------------
* Vim 7.3+
* Python support for Vim
* Python 2.4+
Installation and Usage
----------------------
Check out the [project site][] for installation instructions.
[project site]: http://sjl.bitbucket.org/gundo.vim/
License
-------
GPLv2+, just like Mercurial.

577
bundle/gundo/autoload/gundo.py Executable file
View File

@ -0,0 +1,577 @@
# ============================================================================
# File: gundo.py
# Description: vim global plugin to visualize your undo tree
# Maintainer: Steve Losh <steve@stevelosh.com>
# License: GPLv2+ -- look it up.
# Notes: Much of this code was thiefed from Mercurial, and the rest was
# heavily inspired by scratch.vim and histwin.vim.
#
# ============================================================================
import difflib
import itertools
import sys
import time
import vim
# Mercurial's graphlog code --------------------------------------------------------
def asciiedges(seen, rev, parents):
"""adds edge info to changelog DAG walk suitable for ascii()"""
if rev not in seen:
seen.append(rev)
nodeidx = seen.index(rev)
knownparents = []
newparents = []
for parent in parents:
if parent in seen:
knownparents.append(parent)
else:
newparents.append(parent)
ncols = len(seen)
seen[nodeidx:nodeidx + 1] = newparents
edges = [(nodeidx, seen.index(p)) for p in knownparents]
if len(newparents) > 0:
edges.append((nodeidx, nodeidx))
if len(newparents) > 1:
edges.append((nodeidx, nodeidx + 1))
nmorecols = len(seen) - ncols
return nodeidx, edges, ncols, nmorecols
def get_nodeline_edges_tail(
node_index, p_node_index, n_columns, n_columns_diff, p_diff, fix_tail):
if fix_tail and n_columns_diff == p_diff and n_columns_diff != 0:
# Still going in the same non-vertical direction.
if n_columns_diff == -1:
start = max(node_index + 1, p_node_index)
tail = ["|", " "] * (start - node_index - 1)
tail.extend(["/", " "] * (n_columns - start))
return tail
else:
return ["\\", " "] * (n_columns - node_index - 1)
else:
return ["|", " "] * (n_columns - node_index - 1)
def draw_edges(edges, nodeline, interline):
for (start, end) in edges:
if start == end + 1:
interline[2 * end + 1] = "/"
elif start == end - 1:
interline[2 * start + 1] = "\\"
elif start == end:
interline[2 * start] = "|"
else:
nodeline[2 * end] = "+"
if start > end:
(start, end) = (end, start)
for i in range(2 * start + 1, 2 * end):
if nodeline[i] != "+":
nodeline[i] = "-"
def fix_long_right_edges(edges):
for (i, (start, end)) in enumerate(edges):
if end > start:
edges[i] = (start, end + 1)
def ascii(buf, state, type, char, text, coldata):
"""prints an ASCII graph of the DAG
takes the following arguments (one call per node in the graph):
- Somewhere to keep the needed state in (init to asciistate())
- Column of the current node in the set of ongoing edges.
- Type indicator of node data == ASCIIDATA.
- Payload: (char, lines):
- Character to use as node's symbol.
- List of lines to display as the node's text.
- Edges; a list of (col, next_col) indicating the edges between
the current node and its parents.
- Number of columns (ongoing edges) in the current revision.
- The difference between the number of columns (ongoing edges)
in the next revision and the number of columns (ongoing edges)
in the current revision. That is: -1 means one column removed;
0 means no columns added or removed; 1 means one column added.
"""
idx, edges, ncols, coldiff = coldata
assert -2 < coldiff < 2
if coldiff == -1:
# Transform
#
# | | | | | |
# o | | into o---+
# |X / |/ /
# | | | |
fix_long_right_edges(edges)
# add_padding_line says whether to rewrite
#
# | | | | | | | |
# | o---+ into | o---+
# | / / | | | # <--- padding line
# o | | | / /
# o | |
add_padding_line = (len(text) > 2 and coldiff == -1 and
[x for (x, y) in edges if x + 1 < y])
# fix_nodeline_tail says whether to rewrite
#
# | | o | | | | o | |
# | | |/ / | | |/ /
# | o | | into | o / / # <--- fixed nodeline tail
# | |/ / | |/ /
# o | | o | |
fix_nodeline_tail = len(text) <= 2 and not add_padding_line
# nodeline is the line containing the node character (typically o)
nodeline = ["|", " "] * idx
nodeline.extend([char, " "])
nodeline.extend(
get_nodeline_edges_tail(idx, state[1], ncols, coldiff,
state[0], fix_nodeline_tail))
# shift_interline is the line containing the non-vertical
# edges between this entry and the next
shift_interline = ["|", " "] * idx
if coldiff == -1:
n_spaces = 1
edge_ch = "/"
elif coldiff == 0:
n_spaces = 2
edge_ch = "|"
else:
n_spaces = 3
edge_ch = "\\"
shift_interline.extend(n_spaces * [" "])
shift_interline.extend([edge_ch, " "] * (ncols - idx - 1))
# draw edges from the current node to its parents
draw_edges(edges, nodeline, shift_interline)
# lines is the list of all graph lines to print
lines = [nodeline]
if add_padding_line:
lines.append(get_padding_line(idx, ncols, edges))
lines.append(shift_interline)
# make sure that there are as many graph lines as there are
# log strings
while len(text) < len(lines):
text.append("")
if len(lines) < len(text):
extra_interline = ["|", " "] * (ncols + coldiff)
while len(lines) < len(text):
lines.append(extra_interline)
# print lines
indentation_level = max(ncols, ncols + coldiff)
for (line, logstr) in zip(lines, text):
ln = "%-*s %s" % (2 * indentation_level, "".join(line), logstr)
buf.write(ln.rstrip() + '\n')
# ... and start over
state[0] = coldiff
state[1] = idx
def generate(dag, edgefn, current):
seen, state = [], [0, 0]
buf = Buffer()
for node, parents in list(dag):
if node.time:
age_label = age(int(node.time))
else:
age_label = 'Original'
line = '[%s] %s' % (node.n, age_label)
if node.n == current:
char = '@'
else:
char = 'o'
ascii(buf, state, 'C', char, [line], edgefn(seen, node, parents))
return buf.b
# Mercurial age function -----------------------------------------------------------
agescales = [("year", 3600 * 24 * 365),
("month", 3600 * 24 * 30),
("week", 3600 * 24 * 7),
("day", 3600 * 24),
("hour", 3600),
("minute", 60),
("second", 1)]
def age(ts):
'''turn a timestamp into an age string.'''
def plural(t, c):
if c == 1:
return t
return t + "s"
def fmt(t, c):
return "%d %s" % (c, plural(t, c))
now = time.time()
then = ts
if then > now:
return 'in the future'
delta = max(1, int(now - then))
if delta > agescales[0][1] * 2:
return time.strftime('%Y-%m-%d', time.gmtime(float(ts)))
for t, s in agescales:
n = delta // s
if n >= 2 or s == 1:
return '%s ago' % fmt(t, n)
# Python Vim utility functions -----------------------------------------------------
normal = lambda s: vim.command('normal %s' % s)
MISSING_BUFFER = "Cannot find Gundo's target buffer (%s)"
MISSING_WINDOW = "Cannot find window (%s) for Gundo's target buffer (%s)"
def _check_sanity():
'''Check to make sure we're not crazy.
Does the following things:
* Make sure the target buffer still exists.
'''
b = int(vim.eval('g:gundo_target_n'))
if not vim.eval('bufloaded(%d)' % b):
vim.command('echo "%s"' % (MISSING_BUFFER % b))
return False
w = int(vim.eval('bufwinnr(%d)' % b))
if w == -1:
vim.command('echo "%s"' % (MISSING_WINDOW % (w, b)))
return False
return True
def _goto_window_for_buffer(b):
w = int(vim.eval('bufwinnr(%d)' % int(b)))
vim.command('%dwincmd w' % w)
def _goto_window_for_buffer_name(bn):
b = vim.eval('bufnr("%s")' % bn)
return _goto_window_for_buffer(b)
def _undo_to(n):
n = int(n)
if n == 0:
vim.command('silent earlier %s' % (int(vim.eval('&undolevels')) + 1))
else:
vim.command('silent undo %d' % n)
INLINE_HELP = '''\
" Gundo for %s (%d)
" j/k - move between undo states
" p - preview diff of selected and current states
" <cr> - revert to selected state
'''
# Python undo tree data structures and functions -----------------------------------
class Buffer(object):
def __init__(self):
self.b = ''
def write(self, s):
self.b += s
class Node(object):
def __init__(self, n, parent, time, curhead):
self.n = int(n)
self.parent = parent
self.children = []
self.curhead = curhead
self.time = time
def _make_nodes(alts, nodes, parent=None):
p = parent
for alt in alts:
curhead = 'curhead' in alt
node = Node(n=alt['seq'], parent=p, time=alt['time'], curhead=curhead)
nodes.append(node)
if alt.get('alt'):
_make_nodes(alt['alt'], nodes, p)
p = node
def make_nodes():
ut = vim.eval('undotree()')
entries = ut['entries']
root = Node(0, None, False, 0)
nodes = []
_make_nodes(entries, nodes, root)
nodes.append(root)
nmap = dict((node.n, node) for node in nodes)
return nodes, nmap
def changenr(nodes):
_curhead_l = list(itertools.dropwhile(lambda n: not n.curhead, nodes))
if _curhead_l:
current = _curhead_l[0].parent.n
else:
current = int(vim.eval('changenr()'))
return current
# Gundo rendering ------------------------------------------------------------------
# Rendering utility functions
def _fmt_time(t):
return time.strftime('%Y-%m-%d %I:%M:%S %p', time.localtime(float(t)))
def _output_preview_text(lines):
_goto_window_for_buffer_name('__Gundo_Preview__')
vim.command('setlocal modifiable')
vim.current.buffer[:] = lines
vim.command('setlocal nomodifiable')
def _generate_preview_diff(current, node_before, node_after):
_goto_window_for_buffer(vim.eval('g:gundo_target_n'))
if not node_after.n: # we're at the original file
before_lines = []
_undo_to(0)
after_lines = vim.current.buffer[:]
before_name = 'n/a'
before_time = ''
after_name = 'Original'
after_time = ''
elif not node_before.n: # we're at a pseudo-root state
_undo_to(0)
before_lines = vim.current.buffer[:]
_undo_to(node_after.n)
after_lines = vim.current.buffer[:]
before_name = 'Original'
before_time = ''
after_name = node_after.n
after_time = _fmt_time(node_after.time)
else:
_undo_to(node_before.n)
before_lines = vim.current.buffer[:]
_undo_to(node_after.n)
after_lines = vim.current.buffer[:]
before_name = node_before.n
before_time = _fmt_time(node_before.time)
after_name = node_after.n
after_time = _fmt_time(node_after.time)
_undo_to(current)
return list(difflib.unified_diff(before_lines, after_lines,
before_name, after_name,
before_time, after_time))
def _generate_change_preview_diff(current, node_before, node_after):
_goto_window_for_buffer(vim.eval('g:gundo_target_n'))
_undo_to(node_before.n)
before_lines = vim.current.buffer[:]
_undo_to(node_after.n)
after_lines = vim.current.buffer[:]
before_name = node_before.n or 'Original'
before_time = node_before.time and _fmt_time(node_before.time) or ''
after_name = node_after.n or 'Original'
after_time = node_after.time and _fmt_time(node_after.time) or ''
_undo_to(current)
return list(difflib.unified_diff(before_lines, after_lines,
before_name, after_name,
before_time, after_time))
def GundoRenderGraph():
if not _check_sanity():
return
nodes, nmap = make_nodes()
for node in nodes:
node.children = [n for n in nodes if n.parent == node]
def walk_nodes(nodes):
for node in nodes:
if node.parent:
yield (node, [node.parent])
else:
yield (node, [])
dag = sorted(nodes, key=lambda n: int(n.n), reverse=True)
current = changenr(nodes)
result = generate(walk_nodes(dag), asciiedges, current).rstrip().splitlines()
result = [' ' + l for l in result]
target = (vim.eval('g:gundo_target_f'), int(vim.eval('g:gundo_target_n')))
if int(vim.eval('g:gundo_help')):
header = (INLINE_HELP % target).splitlines()
else:
header = []
vim.command('call s:GundoOpenGraph()')
vim.command('setlocal modifiable')
vim.current.buffer[:] = (header + result)
vim.command('setlocal nomodifiable')
i = 1
for line in result:
try:
line.split('[')[0].index('@')
i += 1
break
except ValueError:
pass
i += 1
vim.command('%d' % (i+len(header)-1))
def GundoRenderPreview():
if not _check_sanity():
return
target_state = vim.eval('s:GundoGetTargetState()')
# Check that there's an undo state. There may not be if we're talking about
# a buffer with no changes yet.
if target_state == None:
_goto_window_for_buffer_name('__Gundo__')
return
else:
target_state = int(target_state)
_goto_window_for_buffer(vim.eval('g:gundo_target_n'))
nodes, nmap = make_nodes()
current = changenr(nodes)
node_after = nmap[target_state]
node_before = node_after.parent
vim.command('call s:GundoOpenPreview()')
_output_preview_text(_generate_preview_diff(current, node_before, node_after))
_goto_window_for_buffer_name('__Gundo__')
def GundoRenderChangePreview():
if not _check_sanity():
return
target_state = vim.eval('s:GundoGetTargetState()')
# Check that there's an undo state. There may not be if we're talking about
# a buffer with no changes yet.
if target_state == None:
_goto_window_for_buffer_name('__Gundo__')
return
else:
target_state = int(target_state)
_goto_window_for_buffer(vim.eval('g:gundo_target_n'))
nodes, nmap = make_nodes()
current = changenr(nodes)
node_after = nmap[target_state]
node_before = nmap[current]
vim.command('call s:GundoOpenPreview()')
_output_preview_text(_generate_change_preview_diff(current, node_before, node_after))
_goto_window_for_buffer_name('__Gundo__')
# Gundo undo/redo
def GundoRevert():
if not _check_sanity():
return
target_n = int(vim.eval('s:GundoGetTargetState()'))
back = vim.eval('g:gundo_target_n')
_goto_window_for_buffer(back)
_undo_to(target_n)
vim.command('GundoRenderGraph')
_goto_window_for_buffer(back)
if int(vim.eval('g:gundo_close_on_revert')):
vim.command('GundoToggle')
def GundoPlayTo():
if not _check_sanity():
return
target_n = int(vim.eval('s:GundoGetTargetState()'))
back = int(vim.eval('g:gundo_target_n'))
vim.command('echo "%s"' % back)
_goto_window_for_buffer(back)
normal('zR')
nodes, nmap = make_nodes()
start = nmap[changenr(nodes)]
end = nmap[target_n]
def _walk_branch(origin, dest):
rev = origin.n < dest.n
nodes = []
if origin.n > dest.n:
current, final = origin, dest
else:
current, final = dest, origin
while current.n >= final.n:
if current.n == final.n:
break
nodes.append(current)
current = current.parent
else:
return None
nodes.append(current)
if rev:
return reversed(nodes)
else:
return nodes
branch = _walk_branch(start, end)
if not branch:
vim.command('unsilent echo "No path to that node from here!"')
return
for node in branch:
_undo_to(node.n)
vim.command('GundoRenderGraph')
normal('zz')
_goto_window_for_buffer(back)
vim.command('redraw')
vim.command('sleep 60m')
def initPythonModule():
if sys.version_info[:2] < (2, 4):
vim.command('let s:has_supported_python = 0')

469
bundle/gundo/autoload/gundo.vim Executable file
View File

@ -0,0 +1,469 @@
" ============================================================================
" File: gundo.vim
" Description: vim global plugin to visualize your undo tree
" Maintainer: Steve Losh <steve@stevelosh.com>
" License: GPLv2+ -- look it up.
" Notes: Much of this code was thiefed from Mercurial, and the rest was
" heavily inspired by scratch.vim and histwin.vim.
"
" ============================================================================
"{{{ Init
if v:version < '703'"{{{
function! s:GundoDidNotLoad()
echohl WarningMsg|echomsg "Gundo unavailable: requires Vim 7.3+"|echohl None
endfunction
command! -nargs=0 GundoToggle call s:GundoDidNotLoad()
finish
endif"}}}
if !exists('g:gundo_width')"{{{
let g:gundo_width = 45
endif"}}}
if !exists('g:gundo_preview_height')"{{{
let g:gundo_preview_height = 15
endif"}}}
if !exists('g:gundo_preview_bottom')"{{{
let g:gundo_preview_bottom = 0
endif"}}}
if !exists('g:gundo_right')"{{{
let g:gundo_right = 0
endif"}}}
if !exists('g:gundo_help')"{{{
let g:gundo_help = 1
endif"}}}
if !exists("g:gundo_map_move_older")"{{{
let g:gundo_map_move_older = 'j'
endif"}}}
if !exists("g:gundo_map_move_newer")"{{{
let g:gundo_map_move_newer = 'k'
endif"}}}
if !exists("g:gundo_close_on_revert")"{{{
let g:gundo_close_on_revert = 0
endif"}}}
if !exists("g:gundo_prefer_python3")"{{{
let g:gundo_prefer_python3 = 0
endif"}}}
if !exists("g:gundo_auto_preview")"{{{
let g:gundo_auto_preview = 1
endif"}}}
let s:has_supported_python = 0
if g:gundo_prefer_python3 && has('python3')"{{{
let s:has_supported_python = 2
elseif has('python')"
let s:has_supported_python = 1
endif
if !s:has_supported_python
function! s:GundoDidNotLoad()
echohl WarningMsg|echomsg "Gundo requires Vim to be compiled with Python 2.4+"|echohl None
endfunction
command! -nargs=0 GundoToggle call s:GundoDidNotLoad()
finish
endif"}}}
let s:plugin_path = escape(expand('<sfile>:p:h'), '\')
"}}}
"{{{ Gundo utility functions
function! s:GundoGetTargetState()"{{{
let target_line = matchstr(getline("."), '\v\[[0-9]+\]')
return matchstr(target_line, '\v[0-9]+')
endfunction"}}}
function! s:GundoGoToWindowForBufferName(name)"{{{
if bufwinnr(bufnr(a:name)) != -1
exe bufwinnr(bufnr(a:name)) . "wincmd w"
return 1
else
return 0
endif
endfunction"}}}
function! s:GundoIsVisible()"{{{
if bufwinnr(bufnr("__Gundo__")) != -1 || bufwinnr(bufnr("__Gundo_Preview__")) != -1
return 1
else
return 0
endif
endfunction"}}}
function! s:GundoInlineHelpLength()"{{{
if g:gundo_help
return 6
else
return 0
endif
endfunction"}}}
"}}}
"{{{ Gundo buffer settings
function! s:GundoMapGraph()"{{{
exec 'nnoremap <script> <silent> <buffer> ' . g:gundo_map_move_older . " :call <sid>GundoMove(1)<CR>"
exec 'nnoremap <script> <silent> <buffer> ' . g:gundo_map_move_newer . " :call <sid>GundoMove(-1)<CR>"
nnoremap <script> <silent> <buffer> <CR> :call <sid>GundoRevert()<CR>
nnoremap <script> <silent> <buffer> o :call <sid>GundoRevert()<CR>
nnoremap <script> <silent> <buffer> <down> :call <sid>GundoMove(1)<CR>
nnoremap <script> <silent> <buffer> <up> :call <sid>GundoMove(-1)<CR>
nnoremap <script> <silent> <buffer> gg gg:call <sid>GundoMove(1)<CR>
nnoremap <script> <silent> <buffer> P :call <sid>GundoPlayTo()<CR>
nnoremap <script> <silent> <buffer> p :call <sid>GundoRenderChangePreview()<CR>
nnoremap <script> <silent> <buffer> r :call <sid>GundoRenderPreview()<CR>
nnoremap <script> <silent> <buffer> q :call <sid>GundoClose()<CR>
cabbrev <script> <silent> <buffer> q call <sid>GundoClose()
cabbrev <script> <silent> <buffer> quit call <sid>GundoClose()
nnoremap <script> <silent> <buffer> <2-LeftMouse> :call <sid>GundoMouseDoubleClick()<CR>
endfunction"}}}
function! s:GundoMapPreview()"{{{
nnoremap <script> <silent> <buffer> q :call <sid>GundoClose()<CR>
cabbrev <script> <silent> <buffer> q call <sid>GundoClose()
cabbrev <script> <silent> <buffer> quit call <sid>GundoClose()
endfunction"}}}
function! s:GundoSettingsGraph()"{{{
setlocal buftype=nofile
setlocal bufhidden=hide
setlocal noswapfile
setlocal nobuflisted
setlocal nomodifiable
setlocal filetype=gundo
setlocal nolist
setlocal nonumber
setlocal norelativenumber
setlocal nowrap
call s:GundoSyntaxGraph()
call s:GundoMapGraph()
endfunction"}}}
function! s:GundoSettingsPreview()"{{{
setlocal buftype=nofile
setlocal bufhidden=hide
setlocal noswapfile
setlocal nobuflisted
setlocal nomodifiable
setlocal filetype=diff
setlocal nonumber
setlocal norelativenumber
setlocal nowrap
setlocal foldlevel=20
setlocal foldmethod=diff
call s:GundoMapPreview()
endfunction"}}}
function! s:GundoSyntaxGraph()"{{{
let b:current_syntax = 'gundo'
syn match GundoCurrentLocation '@'
syn match GundoHelp '\v^".*$'
syn match GundoNumberField '\v\[[0-9]+\]'
syn match GundoNumber '\v[0-9]+' contained containedin=GundoNumberField
hi def link GundoCurrentLocation Keyword
hi def link GundoHelp Comment
hi def link GundoNumberField Comment
hi def link GundoNumber Identifier
endfunction"}}}
"}}}
"{{{ Gundo buffer/window management
function! s:GundoResizeBuffers(backto)"{{{
call s:GundoGoToWindowForBufferName('__Gundo__')
exe "vertical resize " . g:gundo_width
call s:GundoGoToWindowForBufferName('__Gundo_Preview__')
exe "resize " . g:gundo_preview_height
exe a:backto . "wincmd w"
endfunction"}}}
function! s:GundoOpenGraph()"{{{
let existing_gundo_buffer = bufnr("__Gundo__")
if existing_gundo_buffer == -1
call s:GundoGoToWindowForBufferName('__Gundo_Preview__')
exe "new __Gundo__"
if g:gundo_preview_bottom
if g:gundo_right
wincmd L
else
wincmd H
endif
endif
call s:GundoResizeBuffers(winnr())
else
let existing_gundo_window = bufwinnr(existing_gundo_buffer)
if existing_gundo_window != -1
if winnr() != existing_gundo_window
exe existing_gundo_window . "wincmd w"
endif
else
call s:GundoGoToWindowForBufferName('__Gundo_Preview__')
if g:gundo_preview_bottom
if g:gundo_right
exe "botright vsplit +buffer" . existing_gundo_buffer
else
exe "topleft vsplit +buffer" . existing_gundo_buffer
endif
else
exe "split +buffer" . existing_gundo_buffer
endif
call s:GundoResizeBuffers(winnr())
endif
endif
if exists("g:gundo_tree_statusline")
let &l:statusline = g:gundo_tree_statusline
endif
endfunction"}}}
function! s:GundoOpenPreview()"{{{
let existing_preview_buffer = bufnr("__Gundo_Preview__")
if existing_preview_buffer == -1
if g:gundo_preview_bottom
exe "botright new __Gundo_Preview__"
else
if g:gundo_right
exe "botright vnew __Gundo_Preview__"
else
exe "topleft vnew __Gundo_Preview__"
endif
endif
else
let existing_preview_window = bufwinnr(existing_preview_buffer)
if existing_preview_window != -1
if winnr() != existing_preview_window
exe existing_preview_window . "wincmd w"
endif
else
if g:gundo_preview_bottom
exe "botright split +buffer" . existing_preview_buffer
else
if g:gundo_right
exe "botright vsplit +buffer" . existing_preview_buffer
else
exe "topleft vsplit +buffer" . existing_preview_buffer
endif
endif
endif
endif
if exists("g:gundo_preview_statusline")
let &l:statusline = g:gundo_preview_statusline
endif
endfunction"}}}
function! s:GundoClose()"{{{
if s:GundoGoToWindowForBufferName('__Gundo__')
quit
endif
if s:GundoGoToWindowForBufferName('__Gundo_Preview__')
quit
endif
exe bufwinnr(g:gundo_target_n) . "wincmd w"
endfunction"}}}
function! s:GundoOpen()"{{{
if !exists('g:gundo_py_loaded')
if s:has_supported_python == 2 && g:gundo_prefer_python3
exe 'py3file ' . s:plugin_path . '/gundo.py'
python3 initPythonModule()
else
exe 'pyfile ' . s:plugin_path . '/gundo.py'
python initPythonModule()
endif
if !s:has_supported_python
function! s:GundoDidNotLoad()
echohl WarningMsg|echomsg "Gundo unavailable: requires Vim 7.3+"|echohl None
endfunction
command! -nargs=0 GundoToggle call s:GundoDidNotLoad()
call s:GundoDidNotLoad()
return
endif"
let g:gundo_py_loaded = 1
endif
" Save `splitbelow` value and set it to default to avoid problems with
" positioning new windows.
let saved_splitbelow = &splitbelow
let &splitbelow = 0
call s:GundoOpenPreview()
exe bufwinnr(g:gundo_target_n) . "wincmd w"
call s:GundoRenderGraph()
call s:GundoRenderPreview()
" Restore `splitbelow` value.
let &splitbelow = saved_splitbelow
endfunction"}}}
function! s:GundoToggle()"{{{
if s:GundoIsVisible()
call s:GundoClose()
else
let g:gundo_target_n = bufnr('')
let g:gundo_target_f = @%
call s:GundoOpen()
endif
endfunction"}}}
function! s:GundoShow()"{{{
if !s:GundoIsVisible()
let g:gundo_target_n = bufnr('')
let g:gundo_target_f = @%
call s:GundoOpen()
endif
endfunction"}}}
function! s:GundoHide()"{{{
if s:GundoIsVisible()
call s:GundoClose()
endif
endfunction"}}}
"}}}
"{{{ Gundo mouse handling
function! s:GundoMouseDoubleClick()"{{{
let start_line = getline('.')
if stridx(start_line, '[') == -1
return
else
call s:GundoRevert()
endif
endfunction"}}}
"}}}
"{{{ Gundo movement
function! s:GundoMove(direction) range"{{{
let start_line = getline('.')
if v:count1 == 0
let move_count = 1
else
let move_count = v:count1
endif
let distance = 2 * move_count
" If we're in between two nodes we move by one less to get back on track.
if stridx(start_line, '[') == -1
let distance = distance - 1
endif
let target_n = line('.') + (distance * a:direction)
" Bound the movement to the graph.
if target_n <= s:GundoInlineHelpLength() - 1
call cursor(s:GundoInlineHelpLength(), 0)
else
call cursor(target_n, 0)
endif
let line = getline('.')
" Move to the node, whether it's an @ or an o
let idx1 = stridx(line, '@')
let idx2 = stridx(line, 'o')
if idx1 != -1
call cursor(0, idx1 + 1)
else
call cursor(0, idx2 + 1)
endif
if g:gundo_auto_preview == 1
call s:GundoRenderPreview()
endif
endfunction"}}}
"}}}
"{{{ Gundo rendering
function! s:GundoRenderGraph()"{{{
if s:has_supported_python == 2 && g:gundo_prefer_python3
python3 GundoRenderGraph()
else
python GundoRenderGraph()
endif
endfunction"}}}
function! s:GundoRenderPreview()"{{{
if s:has_supported_python == 2 && g:gundo_prefer_python3
python3 GundoRenderPreview()
else
python GundoRenderPreview()
endif
endfunction"}}}
function! s:GundoRenderChangePreview()"{{{
if s:has_supported_python == 2 && g:gundo_prefer_python3
python3 GundoRenderChangePreview()
else
python GundoRenderChangePreview()
endif
endfunction"}}}
"}}}
"{{{ Gundo undo/redo
function! s:GundoRevert()"{{{
if s:has_supported_python == 2 && g:gundo_prefer_python3
python3 GundoRevert()
else
python GundoRevert()
endif
endfunction"}}}
function! s:GundoPlayTo()"{{{
if s:has_supported_python == 2 && g:gundo_prefer_python3
python3 GundoPlayTo()
else
python GundoPlayTo()
endif
endfunction"}}}
"}}}
"{{{ Misc
function! gundo#GundoToggle()"{{{
call s:GundoToggle()
endfunction"}}}
function! gundo#GundoShow()"{{{
call s:GundoShow()
endfunction"}}}
function! gundo#GundoHide()"{{{
call s:GundoHide()
endfunction"}}}
function! gundo#GundoRenderGraph()"{{{
call s:GundoRenderGraph()
endfunction"}}}
augroup GundoAug
autocmd!
autocmd BufNewFile __Gundo__ call s:GundoSettingsGraph()
autocmd BufNewFile __Gundo_Preview__ call s:GundoSettingsPreview()
augroup END
"}}}

283
bundle/gundo/doc/gundo.txt Executable file
View File

@ -0,0 +1,283 @@
*gundo.txt* Graph your undo tree so you can actually USE it.
Making Vim's undo tree usable by humans.
==============================================================================
CONTENTS *Gundo-contents*
1. Intro ........................... |GundoIntro|
2. Usage ........................... |GundoUsage|
3. Configuration ................... |GundoConfig|
3.1 gundo_width ............... |gundo_width|
3.2 gundo_preview_height ...... |gundo_preview_height|
3.3 gundo_preview_bottom ...... |gundo_preview_bottom|
3.4 gundo_right ............... |gundo_right|
3.5 gundo_help ................ |gundo_help|
3.6 gundo_disable ............. |gundo_disable|
3.7 gundo_map_move_older ...... |gundo_map_move_older|
gundo_map_move_newer ...... |gundo_map_move_newer|
3.8 gundo_close_on_revert ..... |gundo_close_on_revert|
3.9 gundo_preview_statusline .. |gundo_preview_statusline|
gundo_tree_statusline ..... |gundo_tree_statusline|
3.10 gundo_auto_preview ........ |gundo_auto_preview|
4. License ......................... |GundoLicense|
5. Bugs ............................ |GundoBugs|
6. Contributing .................... |GundoContributing|
7. Changelog ....................... |GundoChangelog|
8. Credits ......................... |GundoCredits|
==============================================================================
1. Intro *GundoIntro*
You know that Vim lets you undo changes like any text editor. What you might
not know is that it doesn't just keep a list of your changes -- it keeps
a goddamed |:undo-tree| of them.
Say you make a change (call it X), undo that change, and then make another
change (call it Y). With most editors, change X is now gone forever. With Vim
you can get it back.
The problem is that trying to do this in the real world is painful. Vim gives
you an |:undolist| command that shows you the leaves of the tree. Good luck
finding the change you want in that list.
Gundo is a plugin to make browsing this ridiculously powerful undo tree less
painful.
==============================================================================
2. Usage *GundoUsage*
We'll get to the technical details later, but if you're a human the first
thing you need to do is add a mapping to your |:vimrc| to toggle the undo
graph: >
nnoremap <F5> :GundoToggle<CR>
Change the mapped key to suit your taste. We'll stick with F5 because that's
what the author uses.
Now you can press F5 to toggle the undo graph and preview pane, which will
look something like this: >
Undo graph File
+-----------------------------------+------------------------------------+
| " Gundo for something.txt [1] |one |
| " j/k - move between undo states |two |
| " <cr> - revert to that state |three |
| |five |
| @ [5] 3 hours ago | |
| | | |
| | o [4] 4 hours ago | |
| | | | |
| o | [3] 4 hours ago | |
| | | | |
| o | [2] 4 hours ago | |
| |/ | |
| o [1] 4 hours ago | |
| | | |
| o [0] Original | |
+-----------------------------------+ |
| --- 3 2010-10-12 06:27:35 PM | |
| +++ 5 2010-10-12 07:38:37 PM | |
| @@ -1,3 +1,4 | |
| one | |
| two | |
| three | |
| +five | |
+-----------------------------------+------------------------------------+
Preview pane
Your current position in the undo tree is marked with an '@' character. Other
nodes are marked with an 'o' character.
When you toggle open the graph Gundo will put your cursor on your current
position in the tree. You can move up and down the graph with the j and
k keys.
You can move to the top of the graph (the newest state) with gg and to the
bottom of the graph (the oldest state) with G.
As you move between undo states the preview pane will show you a unified diff
of the change that state made.
Pressing enter on a state (or double clicking on it) will revert the contents
of the file to match that state.
You can use p on a state to make the preview window show the diff between
your current state and the selected state, instead of a preview of what the
selected state changed.
Pressing P while on a state will initiate "play to" mode targeted at that
state. This will replay all the changes between your current state and the
target, with a slight pause after each change. It's mostly useless, but can be
fun to watch and see where your editing lags -- that might be a good place to
define a new mapping to speed up your editing.
Pressing q while in the undo graph will close it. You can also just press your
toggle mapping key.
==============================================================================
3. Configuration *GundoConfig*
You can tweak the behavior of Gundo by setting a few variables in your :vimrc
file. For example: >
let g:gundo_width = 60
let g:gundo_preview_height = 40
let g:gundo_right = 1
------------------------------------------------------------------------------
3.1 g:gundo_width *gundo_width*
Set the horizontal width of the Gundo graph (and preview).
Default: 45
------------------------------------------------------------------------------
3.2 g:gundo_preview_height *gundo_preview_height*
Set the vertical height of the Gundo preview.
Default: 15
------------------------------------------------------------------------------
3.3 g:gundo_preview_bottom *gundo_preview_bottom*
Force the preview window below current windows instead of below the graph.
This gives the preview window more space to show the unified diff.
Example:
+--------+ +--------+
!g! ! ! !g!
!g! ! or ! !g!
!g!______! !______!g!
!g!pppppp! !pppppp!g!
+--------+ +--------+
Default: 0
------------------------------------------------------------------------------
3.4 g:gundo_right *gundo_right*
Set this to 1 to make the Gundo graph (and preview) open on the right side
instead of the left.
Default: 0 (off, open on the left side)
------------------------------------------------------------------------------
3.5 g:gundo_help *gundo_help*
Set this to 0 to disable the help text in the Gundo graph window.
Default: 1 (show the help)
------------------------------------------------------------------------------
3.6 g:gundo_disable *gundo_disable*
Set this to 1 to disable Gundo entirely.
Useful if you use the same ~/.vim folder on multiple machines, and some of
them may not have Python support.
Default: 0 (Gundo is enabled as usual)
------------------------------------------------------------------------------
3.7 g:gundo_map_move_older, g:gundo_map_move_newer *gundo_map_move_older*
*gundo_map_move_newer*
These options let you change the keys that navigate the undo graph. This is
useful if you use a Dvorak keyboard and have changed your movement keys.
Default: gundo_map_move_older = "j"
gundo_map_move_newer = "k"
------------------------------------------------------------------------------
3.8 g:gundo_close_on_revert *gundo_close_on_revert*
Set this to 1 to automatically close the Gundo windows when reverting.
Default: 0 (windows do not automatically close)
------------------------------------------------------------------------------
3.9 g:gundo_preview_statusline *gundo_preview_statusline*
g:gundo_tree_statusline *gundo_tree_statusline*
Set these to a string to display it as the status line for each Gundo window.
Default: unset (windows use the default statusline)
------------------------------------------------------------------------------
3.10 g:gundo_auto_preview *gundo_auto_preview*
Set this to 0 to disable automatically rendering preview diffs as you move
through the undo tree (you can still render a specific diff with r). This can
be useful on large files and undo trees to speed up Gundo.
Default: 1 (automatically preview diffs)
==============================================================================
4. License *GundoLicense*
GPLv2+. Look it up.
==============================================================================
5. Bugs *GundoBugs*
If you find a bug please post it on the issue tracker:
http://bitbucket.org/sjl/gundo.vim/issues?status=new&status=open
==============================================================================
6. Contributing *GundoContributing*
Think you can make this plugin better? Awesome. Fork it on BitBucket or GitHub
and send a pull request.
BitBucket: http://bitbucket.org/sjl/gundo.vim/
GitHub: http://github.com/sjl/gundo.vim/
==============================================================================
7. Changelog *GundoChangelog*
v2.4.0
* Add auto preview option.
* Add 'r' mapping to preview current state.
* Add public gundo#GundoShow() and gundo#GundoHide() functions.
v2.3.0
* Add statusline configuration.
v2.2.2
* More performance improvements.
v2.2.1
* Refactoring and performance improvements.
v2.2.0
* Add the g:gundo_close_on_revert setting.
* Fix a bug with the splitbelow setting.
v2.1.1
* Fix a bug with the movement key mappings.
v2.1.0
* Warnings about having an incompatible Vim and/or Python installation
are now deferred until the first time you try to use Gundo, instead
of being displayed on launch.
* The <j> and <k> mappings are now configurable with
g:gundo_map_move_older and g:gundo_map_move_newer.
* The o, <Up> and <Down> keys are now mapped in the Gundo pane.
* Improve and add several unit tests for Gundo.
v2.0.0
* Make GundoToggle close the Gundo windows if they're visible but not the
current window, instead of moving to them.
* Add the g:gundo_help setting.
* Add the g:gundo_disable setting.
* Add the 'p' mapping to preview the result of reverting to the selected
state.
* Fix movement commands with counts in the graph.
v1.0.0
* Initial stable release.
==============================================================================
8. Credits *GundoCredits*
The graphing code was all taken from Mercurial, hence the GPLv2+ license.
The plugin was heavily inspired by histwin.vim, and the code for scratch.vim
helped the author get started.
==============================================================================

22
bundle/gundo/doc/tags Normal file
View File

@ -0,0 +1,22 @@
Gundo-contents gundo.txt /*Gundo-contents*
GundoBugs gundo.txt /*GundoBugs*
GundoChangelog gundo.txt /*GundoChangelog*
GundoConfig gundo.txt /*GundoConfig*
GundoContributing gundo.txt /*GundoContributing*
GundoCredits gundo.txt /*GundoCredits*
GundoIntro gundo.txt /*GundoIntro*
GundoLicense gundo.txt /*GundoLicense*
GundoUsage gundo.txt /*GundoUsage*
gundo.txt gundo.txt /*gundo.txt*
gundo_auto_preview gundo.txt /*gundo_auto_preview*
gundo_close_on_revert gundo.txt /*gundo_close_on_revert*
gundo_disable gundo.txt /*gundo_disable*
gundo_help gundo.txt /*gundo_help*
gundo_map_move_newer gundo.txt /*gundo_map_move_newer*
gundo_map_move_older gundo.txt /*gundo_map_move_older*
gundo_preview_bottom gundo.txt /*gundo_preview_bottom*
gundo_preview_height gundo.txt /*gundo_preview_height*
gundo_preview_statusline gundo.txt /*gundo_preview_statusline*
gundo_right gundo.txt /*gundo_right*
gundo_tree_statusline gundo.txt /*gundo_tree_statusline*
gundo_width gundo.txt /*gundo_width*

24
bundle/gundo/plugin/gundo.vim Executable file
View File

@ -0,0 +1,24 @@
" ============================================================================
" File: gundo.vim
" Description: vim global plugin to visualize your undo tree
" Maintainer: Steve Losh <steve@stevelosh.com>
" License: GPLv2+ -- look it up.
" Notes: Much of this code was thiefed from Mercurial, and the rest was
" heavily inspired by scratch.vim and histwin.vim.
"
" ============================================================================
"{{{ Init
if !exists('g:gundo_debug') && (exists('g:gundo_disable') || exists('loaded_gundo') || &cp)"{{{
finish
endif
let loaded_gundo = 1"}}}
"}}}
"{{{ Misc
command! -nargs=0 GundoToggle call gundo#GundoToggle()
command! -nargs=0 GundoShow call gundo#GundoShow()
command! -nargs=0 GundoHide call gundo#GundoHide()
command! -nargs=0 GundoRenderGraph call gundo#GundoRenderGraph()
"}}}

View File

@ -0,0 +1,226 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Script File: mimicpak.vim
" Last Change: 2009-10-17 [21:23:56]
" Version: 115
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Description: Defines the menu entries for the "MimicPak" colorschemes.
" Creates a submenu "MimicPak" under the "Themes" menu,
" which is also used by the Robert Melton's ColorSamplerPack.
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
if exists("g:loaded_mimicpak") || !has("menu") || version < 600
finish
endif
let g:loaded_mimicpak = 115
" need the "<>", so store & reset compatible options
let s:saved_cpo = &cpo
set cpo&vim
" Script Functions {{{1
"~~~~~~~~~~~~~~~~~~
" Function: s:MakeMenu(name, cmd, ...) {{{2
" Creates a menu for all modes and with an optional tooltip.
" Parameters:
" name--the menu name as displayed on screen, can also contain submenus.
" Spaces are escaped.
" cmd--the command that this menu executes. Doesn't need the starting ":"
" and the ending "<CR>".
" a:1--the tooltip for this menu (is only set for X11 & Win32 GUI).
" Example:
" call s:MakeMenu( "Menu.-separator-", "")
" call s:MakeMenu( "Menu.Sub&Menu.What's up doc" ,
" \ "echo 'Whats up doc'",
" \ "Greets you..." )
"
function! s:MakeMenu(name, cmd, ...)
let name = escape(a:name, "\ ")
execute "amenu " . name . " :" . a:cmd . "<CR>"
if 0 < a:0 && (has("x11") || has("gui_win32"))
execute "tmenu " . name . " " . a:1
endif
endfunction "}}}2
"}}}1
" Create the menus {{{1
"~~~~~~~~~~~~~~~~~~
" font style selection menu {{{2
call s:MakeMenu("T&hemes.&MimicPak.Choose &Font style.&None<Tab>(default)",
\ "unlet! g:mimic_font_style",
\ "MimicPak colorschemes won't use bold nor italic fonts." )
call s:MakeMenu("T&hemes.&MimicPak.Choose &Font style.Use &Bolds",
\ "let g:mimic_font_style=1",
\ "MimicPak colorschemes will use bold fonts.")
call s:MakeMenu("T&hemes.&MimicPak.Choose &Font style.Use &Italics",
\ "let g:mimic_font_style=2",
\ "MimicPak colorschemes will use italic fonts.")
call s:MakeMenu("T&hemes.&MimicPak.Choose &Font style.Use Bolds &and Italics",
\ "let g:mimic_font_style=3",
\ "MimicPak colorschemes will use italic and bold fonts.")
" colorize GUI? menu {{{2
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
call s:MakeMenu("T&hemes.&MimicPak.&Colorize GUI?.&Yes",
\ "let g:mimic_colorize_gui=1",
\ "MimicPak colorschemes will set colors for Toolbar, Scrollbar, Menu.")
call s:MakeMenu("T&hemes.&MimicPak.&Colorize GUI?.&No<TAB>(default)",
\ "unlet! g:mimic_colorize_gui",
\ "MimicPak colorschemes will NOT set colors for Toolbar, Scrollbar, Menu.")
endif
" black/almost-black schemes {{{2
call s:MakeMenu("T&hemes.&MimicPak.-spMMPblack-", "")
" Astroboy, the clone of astronaut.vim {{{3
" grey20 and black
call s:MakeMenu("T&hemes.&MimicPak.&Astroboy.bgcolor == &grey20 [almost black]<TAB>(default)",
\ "unlet! g:mimic_astroboy_dark g:mimic_astroboy_alt<BAR>color astroboy",
\ "astroboy.vim: astronaut.vim clone (see ':h astroboy.vim')")
call s:MakeMenu("T&hemes.&MimicPak.&Astroboy.bgcolor == &black",
\ "unlet! g:mimic_astroboy_alt<BAR>let g:mimic_astroboy_dark=1<BAR>color astroboy",
\ "astroboy.vim: astronaut.vim clone (see ':h astroboy.vim')")
" blue and darkblue backgrounds
call s:MakeMenu("T&hemes.&MimicPak.&Astroboy.bgcolor == b&lue",
\ "unlet! g:mimic_astroboy_dark<BAR>let g:mimic_astroboy_alt=1<BAR>color astroboy",
\ "astroboy.vim: astronaut.vim clone (see ':h astroboy.vim')")
call s:MakeMenu("T&hemes.&MimicPak.&Astroboy.bgcolor == &darkblue",
\ "let g:mimic_astroboy_alt=1<BAR>let g:mimic_astroboy_dark=1<BAR>color astroboy",
\ "astroboy.vim: astronaut.vim clone (see ':h astroboy.vim')")
" help
call s:MakeMenu("T&hemes.&MimicPak.&Astroboy.-spMMPAstroboy000-", "")
call s:MakeMenu("T&hemes.&MimicPak.&Astroboy.&Help<tab>:h astroboy",
\ "help astroboy.vim",
\ "Shows the help for the AstroBoy colorscheme.")
" }}}3
" Big Bang, (Feuer Frei! Bang! Bang!) {{{3
" grey20 and black
call s:MakeMenu("T&hemes.&MimicPak.&Big Bang.bgcolor == &grey20 [almost black]<TAB>(default)",
\ "unlet! g:mimic_bigbang_dark g:mimic_bigbang_alt<BAR>color bigbang",
\ "bigbang.vim: experimental colorscheme (see ':h bigbang.vim')")
call s:MakeMenu("T&hemes.&MimicPak.&Big Bang.bgcolor == &black",
\ "unlet! g:mimic_bigbang_alt<BAR>let g:mimic_bigbang_dark=1<BAR>color bigbang",
\ "bigbang.vim: experimental colorscheme (see ':h bigbang.vim')")
" blue and darkblue backgrounds
call s:MakeMenu("T&hemes.&MimicPak.&Big Bang.bgcolor == b&lue",
\ "unlet! g:mimic_bigbang_dark<BAR>let g:mimic_bigbang_alt=1<BAR>color bigbang",
\ "bigbang.vim: experimental colorscheme (see ':h bigbang.vim')")
call s:MakeMenu("T&hemes.&MimicPak.&Big Bang.bgcolor == &darkblue",
\ "let g:mimic_bigbang_alt=1<BAR>let g:mimic_bigbang_dark=1<BAR>color bigbang",
\ "bigbang.vim: experimental colorscheme (see ':h bigbang.vim')")
" help
call s:MakeMenu("T&hemes.&MimicPak.&Big Bang.-spMMPBigBan000-", "")
call s:MakeMenu("T&hemes.&MimicPak.&Big Bang.&Help<tab>:h bigbang",
\ "help bigbang.vim",
\ "How did everything begin? Shows help for Big Bang colorscheme.")
" }}}3
" Dejavu... could have been called DNB, but it's called Dejavu {{{3
" for dark backgrounds, defaults
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.for Dark bg (bgcolor == &grey20 [almost black])",
\ "unlet! g:mimic_dejavu_dark g:mimic_dejavu_alt<BAR>set bg=dark<BAR>color dejavu",
\ "dejavu.vim: scheme with nice options (see ':h dejavu.vim' to know them)")
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.for Dark bg (bgcolor == &black) ",
\ "unlet! g:mimic_dejavu_alt<BAR>let g:mimic_dejavu_dark=1<BAR>set bg=dark<BAR>color dejavu",
\ "dejavu.vim: scheme with nice options (see ':h dejavu.vim' to know them)")
" for dark backgrounds, blue background
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.for Dark bg (bgcolor == b&lue)",
\ "unlet! g:mimic_dejavu_dark<BAR>let g:mimic_dejavu_alt=1<BAR>set bg=dark<BAR>color dejavu",
\ "dejavu.vim: scheme with nice options (see ':h dejavu.vim' to know them)")
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.for Dark bg (bgcolor == &darkblue) ",
\ "let g:mimic_dejavu_alt=1<BAR>let g:mimic_dejavu_dark=1<BAR>set bg=dark<BAR>color dejavu",
\ "dejavu.vim: scheme with nice options (see ':h dejavu.vim' to know them)")
" for light backgrounds
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.-spMMPDejaVu001-", "")
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.for Light bg (bgcolor == &white)",
\ "unlet! g:mimic_dejavu_dark<BAR>set bg=light<BAR>color dejavu",
\ "dejavu.vim: scheme with nice options (see ':h dejavu.vim' to know them)")
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.for Light bg (bgcolor == &lightgray)",
\ "let g:mimic_dejavu_dark=1<BAR>set bg=light<BAR>color dejavu",
\ "dejavu.vim: scheme with nice options (see ':h dejavu.vim' to know them)")
" help
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.-spMMPDejaVu002-", "")
call s:MakeMenu("T&hemes.&MimicPak.&Deja Vu.&Help<tab>:h dejavu",
\ "help dejavu.vim",
\ "Shows the help for the dejavu colorscheme.")
"}}}3
" peaksea (aka "ps_color") clone
call s:MakeMenu("T&hemes.&MimicPak.&PS Clone",
\ "color psclone",
\ "psclone.vim: scheme cloned from peaksea (ps_color) but with smoother colors")
" strange thingy
call s:MakeMenu("T&hemes.&MimicPak.&Zen DNB",
\ "color zendnb",
\ "zendnb.vim: a dark colorscheme for VIM/GVIM (try it with Italic fonts)")
" blue/purple schemes {{{2
call s:MakeMenu("T&hemes.&MimicPak.-spMMPblue-", "")
call s:MakeMenu("T&hemes.&MimicPak.Deep &Blue",
\ "color deepblue",
\ "deepblue.vim: colors for people who love Dark Blue backgrounds.")
call s:MakeMenu("T&hemes.&MimicPak.&MAsmEd's originals.bgcolor == dark &purple<TAB>(default)",
\ "unlet! g:mimic_masmed_alt<BAR>color masmed",
\ "masmed.vim: the original defaults from the cool MAsmEd (IDE for MASM, windoze)")
call s:MakeMenu("T&hemes.&MimicPak.&MAsmEd's originals.bgcolor == &grey20 (almost black)",
\ "let g:mimic_masmed_alt=1<BAR>color masmed",
\ "masmed.vim: MAsmEd's defaults on a Grey20 bg.")
" green/cyan schemes {{{2
call s:MakeMenu("T&hemes.&MimicPak.-spMMPgreen-", "")
call s:MakeMenu("T&hemes.&MimicPak.&Anokha.bgcolor == dark &teal<TAB>(default)",
\ "unlet! g:mimic_anokha_alt<BAR>color anokha",
\ "anokha.vim: colors from the lisp editor J, uses a Dark Teal bg")
call s:MakeMenu("T&hemes.&MimicPak.&Anokha.bgcolor == dark &green",
\ "let g:mimic_anokha_alt=1<BAR>color anokha",
\ "anokha.vim: colors from the lisp editor J, uses a Dark Green bg")
call s:MakeMenu("T&hemes.&MimicPak.Parado&x.bgcolor == dark &teal<TAB>(default)",
\ "unlet! g:mimic_paradox_alt<BAR>color paradox",
\ "paradox.vim: colors from MAsmEd. Looks like old Emacs (try Italics fonts)")
call s:MakeMenu("T&hemes.&MimicPak.Parado&x.bgcolor == &grey20 (almost black)",
\ "let g:mimic_paradox_alt=1<BAR>color paradox",
\ "paradox.vim: colors from MAsmEd on an almost black bg.")
" white/lightgray schemes {{{2
call s:MakeMenu("T&hemes.&MimicPak.-spMMPlight-", "")
call s:MakeMenu("T&hemes.&MimicPak.&Grey House",
\ "color greyhouse",
\ "greyhouse.vim: a scheme from MAsmEd, uses a Gray bg (try it with Bold fonts)")
call s:MakeMenu("T&hemes.&MimicPak.&Gaea",
\ "color gaea",
\ "gaea.vim: natural colors (try it with Bold+Italics)")
call s:MakeMenu("T&hemes.&MimicPak.Imperia&l",
\ "color imperial",
\ "imperial.vim: royal colors for GVIM (try it with Bold+Italics)")
call s:MakeMenu("T&hemes.&MimicPak.&IntelliJ",
\ "color intellij",
\ "intellij.vim: default IntelliJIDEA's colors (try it with Bold+Italics)")
call s:MakeMenu("T&hemes.&MimicPak.Mickey$oft",
\ "color mickeysoft",
\ "mickeysoft.vim: yet another M$ scheme (try it with Bold+Italics fonts)")
call s:MakeMenu("T&hemes.&MimicPak.&Omen",
\ "color omen",
\ "omen.vim: simple red/black scheme (try it with Bold+Italics fonts)")
call s:MakeMenu("T&hemes.&MimicPak.&SCAME (EMACS)",
\ "color scame",
\ "scame.vim: EMACS' default colorscheme")
call s:MakeMenu("T&hemes.&MimicPak.&Vim Hut.for &Dark bg",
\ "set bg=dark<BAR>color vimhut",
\ "vimhut.vim: gVim default colors for dark backgrounds (try it with Italic fonts)")
call s:MakeMenu("T&hemes.&MimicPak.&Vim Hut.for &Light bg",
\ "set bg=light<BAR>color vimhut",
\ "vimhut.vim: gVim default colors, but with more Gray (try it with Bold fonts)")
" help {{{2
call s:MakeMenu("T&hemes.&MimicPak.-spMMPhelp-", "")
call s:MakeMenu("T&hemes.&MimicPak.&Help<tab>:h mimicpak",
\ "help mimicpak",
\ "Shows the MimicPak colorschemes' help.")
"}}}1
" Cleanup {{{1
"~~~~~~~~~
delfunction s:MakeMenu
" restore user settings
let &cpo = s:saved_cpo
unlet s:saved_cpo
" vim:et:sw=2:ts=2:tw=78:nowrap:
" vim600:fdc=2:fdm=marker:

View File

@ -0,0 +1,47 @@
" Vim plugin for putting crosshairs on cursor when on a paren
" Maintainer: Bryan Richter <at the googles>
" Last Change: 2012
" License: WTFPL
if exists("g:loaded_paren_crosshairs") || &cp || !exists("##CursorMoved")
finish
endif
let g:loaded_paren_crosshairs = 1
augroup TargetMatchpairs
au!
au WinEnter,CmdwinEnter,CursorMoved,CursorMovedI * call s:targetMatchpairs()
au WinLeave * call s:suspendTargeting()
augroup END
func! s:targetMatchpairs()
if !exists('w:targetAcquired')
let w:targetAcquired = 0
endif
" Global to buffer:
if !exists('b:matchPairs')
" '[:],{,},(,)' --> '[]{}()'
let b:matchPairs = substitute(&matchpairs, "[,:]", "", "g")
endif
let curChar = getline('.')[col('.') - 1]
let targetInReticule =
\len(curChar) > 0 && stridx(b:matchPairs, curChar) >= 0
if targetInReticule && !w:targetAcquired
let w:disengage = "set " . (&cuc ? "cuc" : "nocuc")
\. ' ' . (&cul ? "cul" : "nocul")
set cuc cul
let w:targetAcquired = 1
elseif !targetInReticule && w:targetAcquired
exec w:disengage
let w:targetAcquired = 0
endif
endfu
func! s:suspendTargeting()
if w:targetAcquired
exec w:disengage
let w:targetAcquired = 0
endif
endfu

View File

@ -0,0 +1,152 @@
" vim: set sw=4 sts=4 et ft=vim :
" Script: securemodelines.vim
" Author: Ciaran McCreesh <ciaran.mccreesh at googlemail.com>
" Homepage: http://github.com/ciaranm/securemodelines
" Requires: Vim 7
" License: Redistribute under the same terms as Vim itself
" Purpose: A secure alternative to modelines
if &compatible || v:version < 700 || exists('g:loaded_securemodelines')
finish
endif
let g:loaded_securemodelines = 1
if (! exists("g:secure_modelines_allowed_items"))
let g:secure_modelines_allowed_items = [
\ "textwidth", "tw",
\ "softtabstop", "sts",
\ "tabstop", "ts",
\ "shiftwidth", "sw",
\ "expandtab", "et", "noexpandtab", "noet",
\ "filetype", "ft",
\ "foldmethod", "fdm",
\ "readonly", "ro", "noreadonly", "noro",
\ "rightleft", "rl", "norightleft", "norl",
\ "cindent", "cin", "nocindent", "nocin",
\ "smartindent", "si", "nosmartindent", "nosi",
\ "autoindent", "ai", "noautoindent", "noai",
\ "spell",
\ "spelllang"
\ ]
endif
if (! exists("g:secure_modelines_verbose"))
let g:secure_modelines_verbose = 0
endif
if (! exists("g:secure_modelines_modelines"))
let g:secure_modelines_modelines=5
endif
if (! exists("g:secure_modelines_leave_modeline"))
if &modeline
set nomodeline
if g:secure_modelines_verbose
echohl WarningMsg
echo "Forcibly disabling internal modelines for securemodelines.vim"
echohl None
endif
endif
endif
fun! <SID>IsInList(list, i) abort
for l:item in a:list
if a:i == l:item
return 1
endif
endfor
return 0
endfun
fun! <SID>DoOne(item) abort
let l:matches = matchlist(a:item, '^\([a-z]\+\)\%([-+^]\?=[a-zA-Z0-9_\-.]\+\)\?$')
if len(l:matches) > 0
if <SID>IsInList(g:secure_modelines_allowed_items, l:matches[1])
exec "setlocal " . a:item
elseif g:secure_modelines_verbose
echohl WarningMsg
echo "Ignoring '" . a:item . "' in modeline"
echohl None
endif
endif
endfun
fun! <SID>DoNoSetModeline(line) abort
for l:item in split(a:line, '[ \t:]')
call <SID>DoOne(l:item)
endfor
endfun
fun! <SID>DoSetModeline(line) abort
for l:item in split(a:line)
call <SID>DoOne(l:item)
endfor
endfun
fun! <SID>CheckVersion(op, ver) abort
if a:op == "="
return v:version != a:ver
elseif a:op == "<"
return v:version < a:ver
elseif a:op == ">"
return v:version >= a:ver
else
return 0
endif
endfun
fun! <SID>DoModeline(line) abort
let l:matches = matchlist(a:line, '\%(\S\@<!\%(vi\|vim\([<>=]\?\)\([0-9]\+\)\?\)\|\sex\):\s*\%(set\s\+\)\?\([^:]\+\):\S\@!')
if len(l:matches) > 0
let l:operator = ">"
if len(l:matches[1]) > 0
let l:operator = l:matches[1]
endif
if len(l:matches[2]) > 0
if <SID>CheckVersion(l:operator, l:matches[2]) ? 0 : 1
return
endif
endif
return <SID>DoSetModeline(l:matches[3])
endif
let l:matches = matchlist(a:line, '\%(\S\@<!\%(vi\|vim\([<>=]\?\)\([0-9]\+\)\?\)\|\sex\):\(.\+\)')
if len(l:matches) > 0
let l:operator = ">"
if len(l:matches[1]) > 0
let l:operator = l:matches[1]
endif
if len(l:matches[2]) > 0
if <SID>CheckVersion(l:operator, l:matches[2]) ? 0 : 1
return
endif
endif
return <SID>DoNoSetModeline(l:matches[3])
endif
endfun
fun! <SID>DoModelines() abort
if line("$") > g:secure_modelines_modelines
let l:lines={ }
call map(filter(getline(1, g:secure_modelines_modelines) +
\ getline(line("$") - g:secure_modelines_modelines, "$"),
\ 'v:val =~ ":"'), 'extend(l:lines, { v:val : 0 } )')
for l:line in keys(l:lines)
call <SID>DoModeline(l:line)
endfor
else
for l:line in getline(1, "$")
call <SID>DoModeline(l:line)
endfor
endif
endfun
fun! SecureModelines_DoModelines() abort
call <SID>DoModelines()
endfun
aug SecureModeLines
au!
au BufRead,StdinReadPost * :call <SID>DoModelines()
aug END

1
bundle/xmledit Submodule

@ -0,0 +1 @@
Subproject commit 1335d79a5501b92f43e2540f555045809b409ca5

57
colors/Mustang.vim Executable file
View File

@ -0,0 +1,57 @@
" Maintainer: Henrique C. Alves (hcarvalhoalves@gmail.com)
" Version: 1.0
" Last Change: September 25 2008
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "mustang"
" Vim >= 7.0 specific colors
if version >= 700
hi CursorLine guibg=#2d2d2d ctermbg=236
hi CursorColumn guibg=#2d2d2d ctermbg=236
hi MatchParen guifg=#d0ffc0 guibg=#2f2f2f gui=bold ctermfg=157 ctermbg=237 cterm=bold
hi Pmenu guifg=#ffffff guibg=#444444 ctermfg=255 ctermbg=238
hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148
endif
" General colors
hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241
hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234
hi NonText guifg=#808080 guibg=#303030 gui=none ctermfg=244 ctermbg=235
hi LineNr guifg=#808080 guibg=#000000 gui=none ctermfg=244 ctermbg=232
hi StatusLine guifg=#d3d3d5 guibg=#444444 gui=italic ctermfg=253 ctermbg=238 cterm=italic
hi StatusLineNC guifg=#939395 guibg=#444444 gui=none ctermfg=246 ctermbg=238
hi VertSplit guifg=#444444 guibg=#444444 gui=none ctermfg=238 ctermbg=238
hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248
hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold
hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4
hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236
" Syntax highlighting
hi Comment guifg=#808080 gui=italic ctermfg=244
hi Todo guifg=#8f8f8f gui=italic ctermfg=245
hi Boolean guifg=#b1d631 gui=none ctermfg=148
hi String guifg=#b1d631 gui=italic ctermfg=148
hi Identifier guifg=#b1d631 gui=none ctermfg=148
hi Function guifg=#ffffff gui=bold ctermfg=255
hi Type guifg=#7e8aa2 gui=none ctermfg=103
hi Statement guifg=#7e8aa2 gui=none ctermfg=103
hi Keyword guifg=#ff9800 gui=none ctermfg=208
hi Constant guifg=#ff9800 gui=none ctermfg=208
hi Number guifg=#ff9800 gui=none ctermfg=208
hi Special guifg=#ff9800 gui=none ctermfg=208
hi PreProc guifg=#faf4c6 gui=none ctermfg=230
hi Todo guifg=#000000 guibg=#e6ea50 gui=italic
" Code-specific colors
hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103
hi Search guifg=white guibg=NONE cterm=NONE gui=underline

72
colors/adaryn.vim Executable file
View File

@ -0,0 +1,72 @@
" Vim color file
" Maintainer: Glenn T. Norton <gtnorton@adaryn.com>
" Last Change: 2003-04-11
" adaryn - A color scheme named after my daughter, Adaryn. (A-da-rin)
" I like deep, sharp colors and this scheme is inspired by
" Bohdan Vlasyuk's darkblue.
" The cterm background is black since the dark blue was just too light.
" Also the cterm colors are very close to an old Borland C++ color setup.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "adaryn"
hi Normal guifg=#fffff0 guibg=#00003F ctermfg=white ctermbg=Black
hi ErrorMsg guifg=#ffffff guibg=#287eff ctermfg=white ctermbg=red
hi Visual guifg=#8080ff guibg=fg gui=reverse ctermfg=blue ctermbg=fg cterm=reverse
hi VisualNOS guifg=#8080ff guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline
hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue
hi Search guifg=#90fff0 guibg=#2050d0 ctermfg=white ctermbg=darkblue cterm=underline term=underline
hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray
hi SpecialKey guifg=cyan ctermfg=darkcyan
hi Directory guifg=cyan ctermfg=cyan
hi Title guifg=#BDD094 gui=none ctermfg=magenta cterm=bold
hi WarningMsg guifg=red ctermfg=red
hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none
hi ModeMsg guifg=#22cce2 ctermfg=lightblue
hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen
hi Question guifg=green gui=none ctermfg=green cterm=none
hi NonText guifg=#0030ff ctermfg=darkblue
hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=blue ctermbg=gray term=none cterm=none
hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
hi Folded guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
hi LineNr guifg=#90f020 ctermfg=green cterm=none
hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none
hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red
hi Cursor guifg=#000020 guibg=#ffaf38 ctermfg=bg ctermbg=brown
hi lCursor guifg=#ffffff guibg=#000000 ctermfg=bg ctermbg=darkgreen
hi Comment guifg=yellow ctermfg=Yellow
hi Constant ctermfg=green guifg=green cterm=none
hi Special ctermfg=White guifg=#FFFFFF cterm=none gui=none
hi Identifier ctermfg=DarkRed guifg=#BDD094 cterm=none
hi Statement ctermfg=LightCyan cterm=none guifg=#A9A900 gui=none
hi PreProc ctermfg=DarkRed guifg=#ffffff gui=none cterm=none
hi type ctermfg=LightCyan guifg=LightBlue gui=none cterm=none
hi Underlined cterm=underline term=underline
hi Ignore guifg=bg ctermfg=bg

97
colors/adrian.vim Executable file
View File

@ -0,0 +1,97 @@
" Vim colorscheme file
" Maintainer: Adrian Nagle <vim@naglenet.org>
" Last Change: 2001-09-25 07:48:15 Mountain Daylight Time
" URL: http://www.naglenet.org/vim/syntax/adrian.vim
" MAIN URL: http://www.naglenet.org/vim
" This is my custom syntax file to override the defaults provided with Vim.
" This file should be located in $HOME/vimfiles/colors.
" This file should automatically be sourced by $RUNTIMEPATH.
" NOTE(S):
" *(1)
" The color definitions assumes and is intended for a black or dark
" background.
" *(2)
" This file is specifically in Unix style EOL format so that I can simply
" copy this file between Windows and Unix systems. VIM can source files in
" with the UNIX EOL format (only <NL> instead of <CR><NR> for DOS) in any
" operating system if the 'fileformats' is not empty and there is no <CR>
" just before the <NL> on the first line. See ':help :source_crnl' and
" ':help fileformats'.
"
" *(3)
" Move this file to adrian.vim for vim6.0aw.
"
hi clear
set background=dark
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "adrian"
" Normal is for the normal (unhighlighted) text and background.
" NonText is below the last line (~ lines).
highlight Normal guibg=Black guifg=Green
highlight Cursor guibg=Grey70 guifg=White
highlight NonText guibg=Grey80
highlight StatusLine gui=bold guibg=DarkGrey guifg=Orange
highlight StatusLineNC guibg=DarkGrey guifg=Orange
highlight Comment term=bold ctermfg=LightGrey guifg=#d1ddff
highlight Constant term=underline ctermfg=White guifg=#ffa0a0
"highlight Number term=underline ctermfg=Yellow guifg=Yellow
highlight Identifier term=underline ctermfg=Cyan guifg=#40ffff
highlight Statement term=bold ctermfg=Yellow gui=bold guifg=#ffff60
highlight PreProc term=underline ctermfg=Blue guifg=#ff4500
highlight Type term=underline ctermfg=DarkGrey gui=bold guifg=#7d96ff
highlight Special term=bold ctermfg=Magenta guifg=Orange
highlight Ignore ctermfg=black guifg=bg
highlight Error ctermfg=White ctermbg=Red guifg=White guibg=Red
highlight Todo ctermfg=Blue ctermbg=Yellow guifg=Blue guibg=Yellow
" Change the highlight of search matches (for use with :set hls).
highlight Search ctermfg=Black ctermbg=Yellow guifg=Black guibg=Yellow
" Change the highlight of visual highlight.
highlight Visual cterm=NONE ctermfg=Black ctermbg=LightGrey gui=NONE guifg=Black guibg=Grey70
highlight Float ctermfg=Blue guifg=#88AAEE
highlight Exception ctermfg=Red ctermbg=White guifg=Red guibg=White
highlight Typedef ctermfg=White ctermbg=Blue gui=bold guifg=White guibg=Blue
highlight SpecialChar ctermfg=Black ctermbg=White guifg=Black guibg=White
highlight Delimiter ctermfg=White ctermbg=Black guifg=White guibg=Black
highlight SpecialComment ctermfg=Black ctermbg=Green guifg=Black guibg=Green
" Common groups that link to default highlighting.
" You can specify other highlighting easily.
highlight link String Constant
highlight link Character Constant
highlight link Number Constant
highlight link Boolean Statement
"highlight link Float Number
highlight link Function Identifier
highlight link Conditional Type
highlight link Repeat Type
highlight link Label Type
highlight link Operator Type
highlight link Keyword Type
"highlight link Exception Type
highlight link Include PreProc
highlight link Define PreProc
highlight link Macro PreProc
highlight link PreCondit PreProc
highlight link StorageClass Type
highlight link Structure Type
"highlight link Typedef Type
"highlight link SpecialChar Special
highlight link Tag Special
"highlight link Delimiter Special
"highlight link SpecialComment Special
highlight link Debug Special

37
colors/aiseered.vim Executable file
View File

@ -0,0 +1,37 @@
" gVim color file for working with files in GDL/VCG format.
" Works nice in conjunction with gdl.vim
" (see www.vim.org or www.aisee.com)
" Works fine for C/C++, too.
" Author : Alexander A. Evstyugov-Babaev <alex@absint.com>
" Version: 0.2 for gVim/Linux,
" tested with gVim 6.3.25 under Ubuntu Linux (Warty)
" by Jo Vermeulen <jo@lumumba.luc.ac.be>
" Date : January 25th 2005
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="aiseered"
hi Normal guifg=lightred guibg=#600000
hi Cursor guifg=bg guibg=fg
hi ErrorMsg guibg=red ctermfg=1
hi Search term=reverse ctermfg=darkred ctermbg=lightred guibg=lightred guifg=#060000
hi Comment guifg=#ffffff
hi Constant guifg=#88ddee
hi String guifg=#ffcc88
hi Character guifg=#ffaa00
hi Number guifg=#88ddee
hi Identifier guifg=#cfcfcf
hi Statement guifg=#eeff99 gui=bold
hi PreProc guifg=firebrick1 gui=italic
hi Type guifg=#88ffaa gui=none
hi Special guifg=#ffaa00
hi SpecialChar guifg=#ffaa00
hi StorageClass guifg=#ddaacc
hi Error guifg=red guibg=white

283
colors/anokha.vim Executable file
View File

@ -0,0 +1,283 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: anokha.vim
" Last Change: 2009-10-17 [16:36:52]
" Version: 110
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Online Help: :h anokha.vim
" :h anokha-options
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "anokha"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
let s:mimic_anokha_alt = s:GetValue("mimic_anokha_alt")
" cleanup
delfunction s:GetValue
" Default Highlight {{{1
"~~~~~~~~~~~~~~~~~~~
if !s:mimic_anokha_alt
hi Normal guifg=#ffffff guibg=#003333 gui=NONE
else
hi Normal guifg=#ffffff guibg=#003300 gui=NONE
endif
hi Cursor guifg=bg guibg=#ccffcc gui=NONE
hi CursorIM guifg=bg guibg=#ffffcc gui=NONE
hi MatchParen guifg=bg guibg=#66ffff gui=NONE
" search
hi Search guifg=bg guibg=#00ff00 gui=NONE
hi IncSearch guifg=bg guibg=#ffff00 gui=NONE
" visual mode
if version < 700
hi Visual guifg=fg guibg=#006600 gui=NONE
hi VisualNOS guifg=fg guibg=#006666 gui=NONE
else
hi Visual guibg=#006600 gui=NONE
hi VisualNOS guibg=#006666 gui=NONE
endif
if !s:mimic_anokha_alt
" line numbers and folding
hi LineNr guifg=#336666 guibg=bg gui=NONE
hi NonText guifg=#336666 guibg=bg gui=NONE
hi Folded guifg=#229966 guibg=#002222 gui=NONE
hi FoldColumn guifg=#229966 guibg=#002222 gui=NONE
hi SignColumn guifg=#33cc99 guibg=#114444 gui=NONE
" windows, statusline
hi StatusLine guifg=#002222 guibg=#00cc99 gui=NONE
hi StatusLineNC guifg=#00ffcc guibg=#002222 gui=NONE
hi VertSplit guifg=#00ffcc guibg=#002222 gui=NONE
hi WildMenu guifg=#00ffcc guibg=#002222 gui=underline
else
" line numbers and folding
hi LineNr guifg=#336633 guibg=bg gui=NONE
hi NonText guifg=#336633 guibg=bg gui=NONE
hi Folded guifg=#66ff66 guibg=#006600 gui=NONE
hi FoldColumn guifg=#33cc33 guibg=#002200 gui=NONE
hi SignColumn guifg=#66cccc guibg=#002200 gui=NONE
" windows, statusline
hi StatusLine guifg=#002200 guibg=#55cc55 gui=NONE
hi StatusLineNC guifg=#66ff66 guibg=#002200 gui=NONE
hi VertSplit guifg=#66ff66 guibg=#002200 gui=NONE
hi WildMenu guifg=#66ff66 guibg=#002200 gui=underline
endif
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
if !s:mimic_anokha_alt
hi Menu guifg=#00ffcc guibg=#002222
hi Scrollbar guifg=#00ffcc guibg=#002222
hi Tooltip guifg=#002222 guibg=#00cc99
else
hi Menu guifg=#66ff66 guibg=#002200
hi Scrollbar guifg=#66ff66 guibg=#002200
hi Tooltip guifg=#002200 guibg=#33cc33
endif
endif
endif
" vim >= 7.0 only
if version >= 700
if !s:mimic_anokha_alt
hi CursorLine guibg=#225555 gui=NONE
hi CursorColumn guibg=#225555 gui=NONE
" tab pages
hi TabLine guifg=#00ddad guibg=#002222 gui=underline
hi TabLineFill guifg=#00ddad guibg=#002222 gui=underline
hi TabLineSel guifg=#002222 guibg=#00ddad gui=NONE
" popup completion menu
hi Pmenu guifg=#002222 guibg=#66cccc gui=NONE
hi PmenuSel guifg=#33ffcc guibg=#003333 gui=NONE
hi PmenuSbar guifg=#336666 guibg=#336666 gui=NONE
hi PmenuThumb guifg=#447777 guibg=#447777 gui=NONE
else
hi CursorLine guibg=#225522 gui=NONE
hi CursorColumn guibg=#225522 gui=NONE
" tab pages
hi TabLine guifg=#44cc44 guibg=#002200 gui=underline
hi TabLineFill guifg=#44cc44 guibg=#002200 gui=underline
hi TabLineSel guifg=#002200 guibg=#55cc55 gui=NONE
" popup completion menu
hi Pmenu guifg=#002200 guibg=#55cc55 gui=NONE
hi PmenuSel guifg=#66ff66 guibg=#002200 gui=NONE
hi PmenuSbar guifg=#225522 guibg=#225522 gui=NONE
hi PmenuThumb guifg=#447744 guibg=#447744 gui=NONE
endif
" spell checking
hi SpellBad guisp=#ff0000 guibg=#441111 gui=undercurl
hi SpellCap guisp=#0000ff guibg=#111144 gui=undercurl
hi SpellLocal guisp=#00ffff guibg=#114444 gui=undercurl
hi SpellRare guisp=#ff00ff guibg=#441144 gui=undercurl
endif
" other texts
hi Question guifg=#99cc99 guibg=bg gui=NONE
hi WarningMsg guifg=#ff6666 guibg=bg gui=NONE
hi ErrorMsg guifg=#ffffff guibg=#cc0000 gui=NONE
hi Title guifg=#99ff00 guibg=bg gui=NONE
hi Directory guifg=#ff9900 guibg=bg gui=NONE
hi MoreMsg guifg=#66cc66 guibg=bg gui=NONE
hi ModeMsg guifg=#99cc99 guibg=bg gui=NONE
hi SpecialKey guifg=#00ff99 guibg=bg gui=NONE
" diff
hi DiffAdd guifg=#000000 guibg=#33ff33 gui=NONE
hi DiffChange guifg=#000000 guibg=#33cccc gui=NONE
if !s:mimic_anokha_alt
hi DiffDelete guifg=#006666 guibg=bg gui=NONE
else
hi DiffDelete guifg=#006600 guibg=bg gui=NONE
endif
hi DiffText guifg=#000000 guibg=#66ffff gui=NONE
" Default Syntax Highlight {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~
if !s:mimic_anokha_alt
hi Comment guifg=#669999 guibg=bg gui=NONE
hi Todo guifg=bg guibg=#00ff99 gui=NONE
hi Ignore guifg=#004444 guibg=bg gui=NONE
else
hi Comment guifg=#55b055 guibg=bg gui=NONE
hi Todo guifg=bg guibg=#66ff66 gui=NONE
hi Ignore guifg=#004400 guibg=bg gui=NONE
endif
hi SpecialComment guifg=#999966 guibg=bg gui=NONE
hi Constant guifg=#ffcc00 guibg=bg gui=NONE
hi Character guifg=#66cc99 guibg=bg gui=NONE
hi String guifg=#99cc99 guibg=bg gui=NONE
hi link Number Constant
hi link Boolean Constant
hi link Float Constant
hi Identifier guifg=#ffcc00 guibg=bg gui=NONE
hi Function guifg=#ffcc00 guibg=bg gui=NONE
hi Statement guifg=#ff9900 guibg=bg gui=NONE
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
hi PreProc guifg=#66ff66 guibg=bg gui=NONE
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi Type guifg=#00ccff guibg=bg gui=NONE
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi Special guifg=#efef00 guibg=bg gui=NONE
hi link SpecialChar Special
hi link Delimiter Special
hi Tag guifg=#ffcc00 guibg=bg gui=NONE
hi Debug guifg=#cccccc guibg=bg gui=NONE
hi Underlined guifg=#dddd00 guibg=bg gui=underline
hi Error guifg=#ffffff guibg=#cc0000 gui=underline
" Font Style {{{1
"~~~~~~~~~~~~
if 0 < s:mimic_font_style
" Function: s:MultiHi {{{2
" Sets highlight option(s) for all its arguments.
" Parameters:
" option -- a string in the form of "key=value", like "gui=NONE". Can also
" be repeated: "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the "bold & italics" groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "WildMenu", "TabLineSel", "StatusLine", "MoreMsg", "ModeMsg", "Title", "Constant", "Statement", "PreProc", "Type", "Identifier", "Special", "SpecialChar", "Todo")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "StatusLineNC", "Comment", "SpecialComment", "Question")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "MoreMsg", "Title", "Identifier", "Todo")
endif
" Cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui s:mimic_anokha_alt
" vim:noet:sw=22:ts=22:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

108
colors/anotherdark.vim Executable file
View File

@ -0,0 +1,108 @@
" Vim color file
" Maintainer: Hans Fugal <hans@fugal.net>
" Last Change: $Date: 2003/05/06 16:37:49 $
" Last Change: $Date: 2003/06/02 19:40:21 $
" URL: http://hans.fugal.net/vim/colors/desert.vim
" Version: $Id: desert.vim,v 1.6 2003/06/02 19:40:21 fugalh Exp $
" cool help screens
" :he group-name
" :he highlight-groups
" :he cterm-colors
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="anotherdark"
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=orange
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
" color terminal definitions
hi SpecialKey ctermfg=darkgreen
hi NonText cterm=bold ctermfg=darkblue
hi Directory ctermfg=darkcyan
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 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 Comment ctermfg=lightblue
hi Constant ctermfg=darkred
hi Special ctermfg=red
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
"vim: sw=4

44
colors/aqua.vim Executable file
View File

@ -0,0 +1,44 @@
" Vim color file
" Maintainer: tranquility@portugalmail.pt
" Last Change: 6 Apr 2002
" cool help screens
" :he group-name
" :he highlight-groups
" :he cterm-colors
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="aqua"
hi Normal guibg=steelblue guifg=linen
hi Cursor guibg=lightblue3 guifg=black gui=bold
hi VertSplit guifg=white guibg=navyblue gui=none
hi Folded guibg=darkblue guifg=white
hi FoldColumn guibg=lightgray guifg=navyblue
hi ModeMsg guifg=black guibg=steelblue1
hi MoreMsg guifg=black guibg=steelblue1
hi NonText guifg=white guibg=steelblue4 gui=none
hi Question guifg=snow
hi Search guibg=#FFFFFF guifg=midnightblue gui=bold
hi SpecialKey guifg=navyblue
hi StatusLine guibg=skyblue3 guifg=black gui=none
hi StatusLineNC guibg=skyblue1 guifg=black gui=none
hi Title guifg=bisque3
hi Subtitle guifg=black
hi Visual guifg=white guibg=royalblue4 gui=none
hi WarningMsg guifg=salmon4 guibg=gray60 gui=bold
hi Comment guifg=lightskyblue
hi Constant guifg=turquoise gui=bold
hi Identifier guifg=lightcyan
hi Statement guifg=royalblue4
hi PreProc guifg=black gui=bold
hi Type guifg=lightgreen
hi Special guifg=navajowhite
hi Ignore guifg=grey29
hi Todo guibg=black guifg=white
hi WildMenu guibg=aquamarine

326
colors/astroboy.vim Executable file
View File

@ -0,0 +1,326 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: astroboy.vim
" Last Change: 2009-10-17 [21:17:50]
" Version: 110
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Help: :h astroboy.vim
" :h astroboy-options
" :h astroboy-variants
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "astroboy"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
let s:mimic_astroboy_alt = s:GetValue("mimic_astroboy_alt")
let s:mimic_astroboy_dark = s:GetValue("mimic_astroboy_dark")
" cleanup
delfunction s:GetValue
" Default Highlight {{{1
if !s:mimic_astroboy_dark
if !s:mimic_astroboy_alt
hi Normal guifg=#88f888 guibg=#333333 gui=NONE
else
hi Normal guifg=#88f888 guibg=#000078 gui=NONE
endif
else "darker colors, black and darkblue
if !s:mimic_astroboy_alt
hi Normal guifg=#88f888 guibg=#000000 gui=NONE
else
hi Normal guifg=#88f888 guibg=#000040 gui=NONE
endif
endif
hi Cursor guifg=bg guibg=#66ff66 gui=NONE
hi CursorIM guifg=bg guibg=#66ccff gui=NONE
hi MatchParen guifg=bg guibg=#66ffff gui=NONE
" search
hi Search guifg=#f9f999 guibg=#3333f9 gui=NONE
hi IncSearch guifg=#000000 guibg=fg gui=NONE
" visual mode
if version < 700
hi LineNr guifg=#f8f888 guibg=bg gui=NONE
hi Visual guifg=fg guibg=#007000 gui=NONE
hi VisualNOS guifg=fg guibg=#000070 gui=NONE
" diff
hi DiffAdd guifg=#000000 guibg=#68f868 gui=NONE
hi DiffChange guifg=#000000 guibg=#68ccf8 gui=NONE
hi DiffDelete guifg=#000000 guibg=#f8f868 gui=NONE
hi DiffText guifg=#000000 guibg=#68f8f8 gui=NONE
else
hi LineNr guifg=#f8f888 gui=NONE
hi Visual guibg=#007000 gui=NONE
hi VisualNOS guibg=#000070 gui=NONE
" diff
hi DiffAdd guibg=#004800 gui=NONE
hi DiffChange guibg=#0000a8 gui=NONE
hi DiffDelete guifg=bg guibg=#989800 gui=NONE
hi DiffText guibg=#006888 gui=NONE
endif
" line numbers and folding
hi NonText guifg=#666666 guibg=bg gui=NONE
if !s:mimic_astroboy_dark
" color for grey20 and blue {{{2
if !s:mimic_astroboy_alt
hi Folded guifg=#f888f8 guibg=#131313 gui=NONE
hi FoldColumn guifg=#38f8f8 guibg=#131313 gui=NONE
hi SignColumn guifg=#88f888 guibg=#131313 gui=NONE
" other text
hi SpecialKey guifg=#f888f8 guibg=#131313 gui=NONE
hi ModeMsg guifg=#88f8c8 guibg=#131313 gui=NONE
else
hi Folded guifg=#f888f8 guibg=#000040 gui=NONE
hi FoldColumn guifg=#38f8f8 guibg=#000040 gui=NONE
hi SignColumn guifg=#88f888 guibg=#000040 gui=NONE
" other text
hi SpecialKey guifg=#f888f8 guibg=#000040 gui=NONE
hi ModeMsg guifg=#88f8c8 guibg=#000040 gui=NONE
endif "}}}2
else
" colors for black and darkblue {{{2
if !s:mimic_astroboy_alt
hi Folded guifg=#f888f8 guibg=#232323 gui=NONE
hi FoldColumn guifg=#38f8f8 guibg=#232323 gui=NONE
hi SignColumn guifg=#88f888 guibg=#232323 gui=NONE
" other text
hi SpecialKey guifg=#f888f8 guibg=#232323 gui=NONE
hi ModeMsg guifg=#88f8c8 guibg=#232323 gui=NONE
else
hi Folded guifg=#f888f8 guibg=#000078 gui=NONE
hi FoldColumn guifg=#38f8f8 guibg=#000078 gui=NONE
hi SignColumn guifg=#88f888 guibg=#000078 gui=NONE
" other text
hi SpecialKey guifg=#f888f8 guibg=#000078 gui=NONE
hi ModeMsg guifg=#88f8c8 guibg=#000078 gui=NONE
endif "}}}2
endif
" windows, statusline
hi StatusLine guifg=#000000 guibg=#68f8f8 gui=NONE
hi StatusLineNC guifg=#000000 guibg=#68f868 gui=NONE
hi VertSplit guifg=#000000 guibg=#68f868 gui=NONE
hi WildMenu guifg=#78f8c8 guibg=bg gui=underline
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=fg guibg=bg
hi Scrollbar guifg=bg guibg=#68f8f8
hi Tooltip guifg=bg guibg=fg
endif
endif
" vim >= 7.0 only
if version >= 700
" tab pages
hi TabLine guifg=#000000 guibg=#68f8f8 gui=NONE
hi TabLineFill guifg=#000000 guibg=#68f8f8 gui=NONE
hi TabLineSel guifg=#78f8c8 guibg=bg gui=underline
if !s:mimic_astroboy_dark
" color for grey20 and blue {{{2
if !s:mimic_astroboy_alt
" current line, column
hi CursorLine guibg=#131313 gui=NONE
hi CursorColumn guibg=#131313 gui=NONE
else
" current line, column
hi CursorLine guibg=#000040 gui=NONE
hi CursorColumn guibg=#000040 gui=NONE
endif "}}}2
else
" color for black and darkblue {{{2
if !s:mimic_astroboy_alt
" current line, column
hi CursorLine guibg=#232323 gui=NONE
hi CursorColumn guibg=#232323 gui=NONE
else
" current line, column
hi CursorLine guibg=#000078 gui=NONE
hi CursorColumn guibg=#000078 gui=NONE
endif "}}}2
endif
" popup completion menu
hi Pmenu guifg=bg guibg=#68f8f8 gui=NONE
hi PmenuSel guifg=bg guibg=#f8f888 gui=underline
hi PmenuSbar guifg=#68f868 guibg=#68f868 gui=NONE
hi PmenuThumb guifg=#68f8f8 guibg=#68f8f8 gui=NONE
" spell checking
hi SpellBad guisp=#f87878 gui=undercurl
hi SpellCap guisp=#4888f8 gui=undercurl
hi SpellLocal guisp=#38f8f8 gui=undercurl
hi SpellRare guisp=#f838f8 gui=undercurl
endif
" other texts
hi Question guifg=#f8f888 guibg=bg gui=NONE
hi WarningMsg guifg=bg guibg=#f8f888 gui=NONE
hi ErrorMsg guifg=#e8e8e8 guibg=#c80000 gui=NONE
hi Title guifg=#e8e8e8 guibg=bg gui=NONE
hi Directory guifg=#e8e8e8 guibg=bg gui=NONE
hi MoreMsg guifg=#88f8c8 guibg=bg gui=NONE
" Default Syntax Highlight {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~
hi Comment guifg=#d8d8d8 guibg=bg gui=NONE
hi link SpecialComment Comment
hi Constant guifg=#f8f888 guibg=bg gui=NONE
hi Character guifg=#f8f888 guibg=bg gui=NONE
hi String guifg=#f8f888 guibg=bg gui=NONE
hi link Number Constant
hi link Boolean Constant
hi link Float Constant
hi Identifier guifg=#f888f8 guibg=bg gui=NONE
hi Function guifg=#38f8f8 guibg=bg gui=NONE
hi Statement guifg=#38f8f8 guibg=bg gui=NONE
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
if !s:mimic_astroboy_dark
" colors for grey20 and blue {{{2
if !s:mimic_astroboy_alt
hi PreProc guifg=#d8d8d8 guibg=#131313 gui=NONE
hi Special guifg=#68f8f8 guibg=#131313 gui=NONE
hi Tag guifg=#f888f8 guibg=#131313 gui=NONE
else
hi PreProc guifg=#d8d8d8 guibg=#000040 gui=NONE
hi Special guifg=#68f8f8 guibg=#000040 gui=NONE
hi Tag guifg=#f888f8 guibg=#000040 gui=NONE
endif "}}}2
else
" colors for black and darkblue {{{2
if !s:mimic_astroboy_alt
hi PreProc guifg=#d8d8d8 guibg=#232323 gui=NONE
hi Special guifg=#68f8f8 guibg=#232323 gui=NONE
hi Tag guifg=#f888f8 guibg=#232323 gui=NONE
else
hi PreProc guifg=#d8d8d8 guibg=#000078 gui=NONE
hi Special guifg=#68f8f8 guibg=#000078 gui=NONE
hi Tag guifg=#f888f8 guibg=#000078 gui=NONE
endif "}}}2
endif
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi Type guifg=#78f8c8 guibg=bg gui=underline
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi link SpecialChar Special
hi Delimiter guifg=#e8e8e8 guibg=bg gui=NONE
hi Debug guifg=#f888f8 guibg=bg gui=NONE
hi Underlined guifg=#f8f888 guibg=bg gui=underline
hi Ignore guifg=bg guibg=bg gui=NONE
hi Error guifg=#e8e8e8 guibg=#c80000 gui=NONE
hi Todo guifg=bg guibg=#f888f8 gui=NONE
" Font Style {{{1
"~~~~~~~~~~~~
if has("gui_running") && 0 < s:mimic_font_style
" Function: s:MultiHi {{{2
" Sets highlight option(s) on all its arguments.
" Parameters:
" option -- a string in the form of "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the "bold & italics" groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "Directory", "StatusLine", "MoreMsg", "ModeMsg", "Title", "Constant", "Character", "Statement", "PreProc", "Identifier", "Function", "Special", "Tag", "Delimiter", "Todo")
call s:MultiHi("gui=underline,bold", "WildMenu", "TablineSel", "Type")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "TabLine", "StatusLineNC", "Folded", "Question", "Comment", "Identifier", "Function")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "MoreMsg", "Title", "Identifier", "Function", "Todo")
endif
" cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui s:mimic_astroboy_alt s:mimic_astroboy_dark
" vim:noet:sw=24:ts=24:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

164
colors/astronaut.vim Executable file
View File

@ -0,0 +1,164 @@
" astronaut.vim: a colorscheme
" Maintainer: Charles E. Campbell, Jr. <charles.e.campbell.1@gsfc.nasa.gov>
" Date: Feb 21, 2006
" Version: 7
"
" Usage:
" Put into your <.vimrc> file:
" color astronaut
"
" Optional Modifiers:
" let g:astronaut_bold=1 : term, cterm, and gui receive bold modifier
" let g:astronaut_dark=1 : dark colors used (otherwise some terminals
" make everything bold, which can be all one
" color)
" let g:astronaut_underline=1 : assume that underlining works on your terminal
" let g:astronaut_italic=1 : allows italic to be used in gui
" Examples:
" iris : let astronaut_dark=1
" Linux xterm: no modifiers needed
"
" GetLatestVimScripts: 122 1 :AutoInstall: astronaut.vim
set background=dark
hi clear
if exists( "syntax_on" )
syntax reset
endif
let g:colors_name = "astronaut"
let g:loaded_astronaut = "v7"
" ---------------------------------------------------------------------
" Default option values
if !exists("g:astronaut_bold")
" on some machines, notably SGIs, a bold qualifier means everything is
" one color (SGIs: yellow)
let g:astronaut_bold= 0
endif
if !exists("g:astronaut_dark")
" this option, if true, means darkcolor (ex. darkred, darkmagenta, etc)
" is understood and wanted
let g:astronaut_dark= 0
endif
if !exists("g:astronaut_underline")
let g:astronaut_underline= 1
endif
if !exists("g:astronaut_italic")
let g:astronaut_italic= 0
endif
" ---------------------------------------------------------------------
" Settings based on options
if g:astronaut_bold != 0
let s:bold=",bold"
else
let s:bold=""
endif
if g:astronaut_italic != 0
let s:italic= ",italic"
else
let s:italic= ""
endif
if g:astronaut_dark != 0
let s:black = "black"
let s:red = "darkred"
let s:green = "darkgreen"
let s:yellow = "darkyellow"
let s:blue = "darkblue"
let s:magenta = "darkmagenta"
let s:cyan = "darkcyan"
let s:white = "white"
else
let s:black = "black"
let s:red = "red"
let s:green = "green"
let s:yellow = "yellow"
let s:blue = "blue"
let s:magenta = "magenta"
let s:cyan = "cyan"
let s:white = "white"
endif
if g:astronaut_underline != 0
let s:underline= ",underline"
let s:ulbg = ""
else
let s:underline= "none"
if exists("g:astronaut_dark")
let s:ulbg = "ctermbg=darkmagenta guibg=magenta4"
else
let s:ulbg = "ctermbg=magenta guibg=magenta"
endif
endif
" ---------------------------------------------------------------------
exe "hi Blue start= stop= ctermfg=".s:blue." guifg=blue guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Comment start= stop= ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Conceal ctermfg=".s:blue." ctermbg=".s:black." guifg=Blue guibg=Black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Constant start= stop= ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Cursor guifg=blue guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Cyan start= stop= ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Debug start= stop= ctermfg=".s:magenta." ctermbg=".s:black." guifg=magenta guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Delimiter start= stop= ctermfg=".s:white." guifg=white guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi DiffAdd ctermfg=".s:white." ctermbg=".s:magenta." guifg=White guibg=Magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi DiffChange ctermfg=".s:yellow." ctermbg=".s:blue." guifg=Yellow guibg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi DiffDelete ctermfg=".s:white." ctermbg=".s:blue." guifg=White guibg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi DiffText ctermfg=".s:white." ctermbg=".s:red." guifg=White guibg=Red term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Directory start= stop= ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Error start= stop= ctermfg=".s:white." ctermbg=".s:red." guifg=white guibg=red term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi ErrorMsg ctermfg=".s:white." ctermbg=".s:red." guifg=White guibg=Red term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi FoldColumn start= stop= ctermfg=".s:cyan." ctermbg=".s:black." guifg=Cyan guibg=Brown term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Folded start= stop= ctermfg=".s:magenta." ctermbg=".s:black." guifg=magenta guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Function start= stop= ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Green start= stop= ctermfg=".s:green." guifg=green guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Identifier start= stop= ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Ignore ctermfg=".s:black ." guifg=bg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi IncSearch start= stop= ctermfg=".s:black ." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi LineNr ctermfg=".s:yellow." ".s:ulbg." guifg=Yellow term=none".s:underline.s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Magenta start= stop= ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Menu guifg=black guibg=gray75 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi ModeMsg ctermfg=".s:green." guifg=SeaGreen term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi MoreMsg ctermfg=".s:green." guifg=SeaGreen term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi NonText ctermfg=".s:blue." guifg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Normal start= stop= ctermfg=".s:green." guifg=green guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi PreProc start= stop= ctermfg=".s:white." ctermbg=".s:blue." guifg=white guibg=blue3 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Question start= stop= ctermfg=".s:yellow." guifg=yellow term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Red start= stop= ctermfg=".s:red." guifg=red guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Scrollbar guifg=gray80 guibg=gray70 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Search start= stop= ctermfg=".s:yellow." ctermbg=".s:blue." guifg=yellow guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Special start= stop= ctermfg=".s:green." ctermbg=".s:blue." guifg=green guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi SpecialKey start= stop= ctermfg=".s:black." ctermbg=".s:magenta." guifg=black guibg=magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Statement start= stop= ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi StatusLine start= stop= ctermfg=".s:black." ctermbg=".s:cyan." guifg=black guibg=cyan term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi StatusLineNC start= stop= ctermfg=".s:black." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi String start= stop= ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Subtitle start= stop= ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
if v:version >= 700
exe "hi TabLine start= stop= ctermfg=".s:black." ctermbg=".s:blue." guifg=black guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:underline.s:italic
exe "hi TabLineSel start= stop= ctermfg=".s:green." ctermbg=".s:blue." guifg=green guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:underline.s:italic
exe "hi TabLineFill start= stop= ctermfg=".s:blue." ctermbg=".s:blue." guifg=blue guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
endif
exe "hi Tags start= stop= ctermfg=".s:yellow." ctermbg=".s:blue." guifg=yellow guibg=blue3 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Title start= stop= ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Todo start= stop= ctermfg=".s:white." ctermbg=".s:magenta." guifg=white guibg=magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Type start= stop= ctermfg=".s:green." ".s:ulbg." guifg=seagreen1 term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline
exe "hi Underlined ctermfg=".s:green." ".s:ulbg." guifg=green term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline
exe "hi Unique start= stop= ctermfg=".s:blue." ctermbg=".s:white." guifg=blue3 guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi AltUnique start= stop= ctermfg=".s:magenta." ctermbg=".s:white." guifg=magenta guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi AltAltUnique start= stop= ctermfg=".s:black." ctermbg=".s:white." guifg=black guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi VertSplit start= stop= ctermfg=".s:black." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Visual start= stop= ctermfg=black ctermbg=green guifg=Grey guibg=fg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi VisualNOS ".s:ulbg." term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline
exe "hi WarningMsg start= stop= ctermfg=".s:black." ctermbg=".s:yellow." guifg=black guibg=yellow term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi White start= stop= ctermfg=".s:white." guifg=white guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi WildMenu ctermfg=".s:black." ctermbg=".s:yellow." guifg=Black guibg=Yellow term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi Yellow start= stop= ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi lCursor guifg=bg guibg=fg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
exe "hi AltConstant start= stop= ctermfg=".s:yellow." ctermbg=".s:black." guifg=yellow guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:italic
exe "hi AltFunction start= stop= ctermfg=".s:green." ctermbg=".s:black." guifg=green guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:italic
exe "hi AltType start= stop= ctermfg=".s:green." ctermbg=".s:black." guifg=seagreen1 guibg=black term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline.s:italic
exe "hi User1 ctermfg=".s:white." ctermbg=".s:blue." guifg=white guibg=blue"
exe "hi User2 ctermfg=".s:cyan." ctermbg=".s:blue." guifg=cyan guibg=blue"
" vim: nowrap

59
colors/asu1dark.vim Executable file
View File

@ -0,0 +1,59 @@
" Vim color file
" Maintainer: A. Sinan Unur
" Last Change: 2001/10/04
" Dark color scheme
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="asu1dark"
" Console Color Scheme
hi Normal term=NONE cterm=NONE ctermfg=LightGray ctermbg=Black
hi NonText term=NONE cterm=NONE ctermfg=Brown ctermbg=Black
hi Function term=NONE cterm=NONE ctermfg=DarkCyan ctermbg=Black
hi Statement term=BOLD cterm=BOLD ctermfg=DarkBlue ctermbg=Black
hi Special term=NONE cterm=NONE ctermfg=DarkGreen ctermbg=Black
hi SpecialChar term=NONE cterm=NONE ctermfg=Cyan ctermbg=Black
hi Constant term=NONE cterm=NONE ctermfg=Blue ctermbg=Black
hi Comment term=NONE cterm=NONE ctermfg=DarkGray ctermbg=Black
hi Preproc term=NONE cterm=NONE ctermfg=DarkGreen ctermbg=Black
hi Type term=NONE cterm=NONE ctermfg=DarkMagenta ctermbg=Black
hi Identifier term=NONE cterm=NONE ctermfg=Cyan ctermbg=Black
hi StatusLine term=BOLD cterm=NONE ctermfg=Yellow ctermbg=DarkBlue
hi StatusLineNC term=NONE cterm=NONE ctermfg=Black ctermbg=Gray
hi Visual term=NONE cterm=NONE ctermfg=White ctermbg=DarkCyan
hi Search term=NONE cterm=NONE ctermbg=Yellow ctermfg=DarkBlue
hi VertSplit term=NONE cterm=NONE ctermfg=Black ctermbg=Gray
hi Directory term=NONE cterm=NONE ctermfg=Green ctermbg=Black
hi WarningMsg term=NONE cterm=NONE ctermfg=Blue ctermbg=Yellow
hi Error term=NONE cterm=NONE ctermfg=DarkRed ctermbg=Gray
hi Cursor ctermfg=Black ctermbg=Cyan
hi LineNr term=NONE cterm=NONE ctermfg=Red ctermbg=Black
" GUI Color Scheme
hi Normal gui=NONE guifg=White guibg=#110022
hi NonText gui=NONE guifg=#ff9999 guibg=#444444
hi Function gui=NONE guifg=#7788ff guibg=#110022
hi Statement gui=BOLD guifg=Yellow guibg=#110022
hi Special gui=NONE guifg=Cyan guibg=#110022
hi Constant gui=NONE guifg=#ff9900 guibg=#110022
hi Comment gui=NONE guifg=#99cc99 guibg=#110022
hi Preproc gui=NONE guifg=#33ff66 guibg=#110022
hi Type gui=NONE guifg=#ff5577 guibg=#110022
hi Identifier gui=NONE guifg=Cyan guibg=#110022
hi StatusLine gui=BOLD guifg=White guibg=#336600
hi StatusLineNC gui=NONE guifg=Black guibg=#cccccc
hi Visual gui=NONE guifg=White guibg=#00aa33
hi Search gui=BOLD guibg=Yellow guifg=DarkBlue
hi VertSplit gui=NONE guifg=White guibg=#666666
hi Directory gui=NONE guifg=Green guibg=#110022
hi WarningMsg gui=STANDOUT guifg=#0000cc guibg=Yellow
hi Error gui=NONE guifg=White guibg=Red
hi Cursor guifg=White guibg=#00ff33
hi LineNr gui=NONE guifg=#cccccc guibg=#334444
hi ModeMsg gui=NONE guifg=Blue guibg=White
hi Question gui=NONE guifg=#66ff99 guibg=#110022

69
colors/autumn.vim Executable file
View File

@ -0,0 +1,69 @@
" Vim color file
" Maintainer: Tiza
" Last Change: 2002/10/14 Mon 16:41.
" version: 1.0
" This color scheme uses a light background.
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "autumn"
hi Normal guifg=#404040 guibg=#fff4e8
" Search
hi IncSearch gui=UNDERLINE guifg=#404040 guibg=#e0e040
hi Search gui=NONE guifg=#544060 guibg=#f0c0ff
" Messages
hi ErrorMsg gui=BOLD guifg=#f8f8f8 guibg=#4040ff
hi WarningMsg gui=BOLD guifg=#f8f8f8 guibg=#4040ff
hi ModeMsg gui=NONE guifg=#d06000 guibg=NONE
hi MoreMsg gui=NONE guifg=#0090a0 guibg=NONE
hi Question gui=NONE guifg=#8000ff guibg=NONE
" Split area
hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#904838
hi StatusLineNC gui=BOLD guifg=#c0b0a0 guibg=#904838
hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#904838
hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#ff3030
" Diff
hi DiffText gui=NONE guifg=#2850a0 guibg=#c0d0f0
hi DiffChange gui=NONE guifg=#208040 guibg=#c0f0d0
hi DiffDelete gui=NONE guifg=#ff2020 guibg=#eaf2b0
hi DiffAdd gui=NONE guifg=#ff2020 guibg=#eaf2b0
" Cursor
hi Cursor gui=NONE guifg=#ffffff guibg=#0080f0
hi lCursor gui=NONE guifg=#ffffff guibg=#8040ff
hi CursorIM gui=NONE guifg=#ffffff guibg=#8040ff
" Fold
hi Folded gui=NONE guifg=#804030 guibg=#ffc0a0
hi FoldColumn gui=NONE guifg=#a05040 guibg=#f8d8c4
" Other
hi Directory gui=NONE guifg=#7050ff guibg=NONE
hi LineNr gui=NONE guifg=#e0b090 guibg=NONE
hi NonText gui=BOLD guifg=#a05040 guibg=#ffe4d4
hi SpecialKey gui=NONE guifg=#0080ff guibg=NONE
hi Title gui=BOLD guifg=fg guibg=NONE
hi Visual gui=NONE guifg=#804020 guibg=#ffc0a0
" hi VisualNOS gui=NONE guifg=#604040 guibg=#e8dddd
" Syntax group
hi Comment gui=NONE guifg=#ff5050 guibg=NONE
hi Constant gui=NONE guifg=#00884c guibg=NONE
hi Error gui=BOLD guifg=#f8f8f8 guibg=#4040ff
hi Identifier gui=NONE guifg=#b07800 guibg=NONE
hi Ignore gui=NONE guifg=bg guibg=NONE
hi PreProc gui=NONE guifg=#0090a0 guibg=NONE
hi Special gui=NONE guifg=#8040f0 guibg=NONE
hi Statement gui=BOLD guifg=#80a030 guibg=NONE
hi Todo gui=BOLD,UNDERLINE guifg=#0080f0 guibg=NONE
hi Type gui=BOLD guifg=#b06c58 guibg=NONE
hi Underlined gui=UNDERLINE guifg=blue guibg=NONE

88
colors/autumn2.vim Executable file
View File

@ -0,0 +1,88 @@
" Vim colour file
" Maintainer: Antony Scriven <ad_scriven@postmaster.co.uk>
" Last Change: 2003-06-12
"
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "autumn"
hi Normal term=none cterm=none ctermfg=black ctermbg=White gui=none guifg=Black guibg=#f0f2f0
hi Cursor term=none cterm=none ctermfg=white ctermbg=darkgrey gui=none guifg=black guibg=red
hi DiffAdd term=bold cterm=none ctermfg=white ctermbg=DarkBlue gui=none guifg=#aaeeaa guibg=#447744
hi DiffChange term=bold cterm=none ctermfg=white ctermbg=DarkMagenta gui=none guifg=lightyellow guibg=#ddbb55
hi DiffDelete term=bold cterm=none ctermfg=blue ctermbg=darkcyan gui=none guifg=#336633 guibg=#aaccaa
hi difftext term=reverse cterm=bold ctermfg=white ctermbg=red gui=none guifg=lightyellow guibg=#cc7733
hi Directory term=none cterm=none ctermfg=Red ctermbg=white gui=none guifg=Red guibg=bg
hi ErrorMsg term=standout cterm=none ctermfg=white ctermbg=DarkRed gui=none guifg=white guibg=DarkRed
hi Folded term=reverse cterm=none ctermfg=darkblue ctermbg=lightgrey gui=none guifg=darkblue guibg=lightgrey
"8 col term
hi FoldColumn term=reverse cterm=none ctermfg=darkblue ctermbg=grey gui=none guifg=darkblue guibg=grey
hi IncSearch term=reverse cterm=none ctermfg=yellow ctermbg=darkgreen gui=none guifg=yellow guibg=#449944
hi lCursor term=reverse cterm=none ctermfg=black ctermbg=cyan gui=none guifg=black guibg=Cyan
hi LineNr term=reverse cterm=none ctermfg=darkred ctermbg=grey gui=none guifg=brown guibg=lightgrey
hi ModeMsg term=bold cterm=none ctermfg=green ctermbg=darkgreen gui=none guifg=#007700 guibg=#aaccaa
hi MoreMsg term=bold cterm=none ctermfg=darkGreen ctermbg=white gui=none guifg=darkgreen guibg=bg
hi Question term=bold cterm=none ctermfg=darkGreen ctermbg=white gui=none guifg=darkgreen guibg=bg
hi Search term=reverse cterm=none ctermfg=black ctermbg=yellow gui=none guifg=black guibg=yellow
hi SpecialKey term=italic cterm=none ctermfg=lightgrey ctermbg=white gui=none guifg=lightblue guibg=bg
hi NonText term=bold cterm=none ctermfg=lightgrey ctermbg=white gui=none guifg=#c6c6c6 guibg=bg
hi StatusLine term=reverse cterm=none ctermfg=white ctermbg=black gui=none guifg=#80624d guibg=#ddd9b8
hi Title term=bold cterm=none ctermfg=DarkMagenta ctermbg=white gui=none guifg=DarkMagenta guibg=bg
if has("gui_running") || &t_Co > 8
hi Visual term=reverse cterm=none ctermfg=black ctermbg=lightgrey gui=none guifg=black guibg=lightgreen
hi VertSplit term=reverse cterm=none ctermfg=darkgrey ctermbg=darkgrey gui=none guifg=#c7c7c2 guibg=#d7d7d2
hi StatusLineNC term=reverse cterm=none ctermfg=white ctermbg=darkgrey gui=none guifg=darkgrey guibg=#d7d7d2
hi Comment term=italic cterm=none ctermfg=grey ctermbg=white gui=none guifg=#ccaaaa guibg=bg
else
hi Visual term=reverse cterm=none ctermfg=green ctermbg=darkgreen gui=none guifg=black guibg=lightgreen
hi VertSplit term=reverse cterm=none ctermfg=darkcyan ctermbg=darkblue gui=none guifg=darkgrey guibg=darkgrey
hi StatusLineNC term=reverse cterm=none ctermfg=white ctermbg=darkblue gui=none guifg=white guibg=darkgrey
hi Comment term=italic cterm=none ctermfg=darkcyan ctermbg=white gui=none guifg=#ccaaaa guibg=bg
endif
hi VisualNOS term=bold cterm=none ctermfg=grey ctermbg=black gui=none guifg=grey guibg=black
hi WarningMsg term=standout cterm=none ctermfg=Red ctermbg=white gui=none guifg=Red guibg=bg
hi WildMenu term=bold cterm=none ctermfg=darkblue ctermbg=yellow gui=none guifg=black guibg=lightyellow
hi Constant term=underline cterm=none ctermfg=darkred ctermbg=bg gui=none guifg=#bb6666 guibg=bg
hi Special term=bold cterm=none ctermfg=darkcyan ctermbg=white gui=none guifg=darkcyan guibg=bg
hi identifier term=underline cterm=none ctermfg=darkmagenta ctermbg=white gui=none guifg=darkcyan guibg=bg
hi statement term=bold cterm=none ctermfg=darkgreen ctermbg=white gui=none guifg=#44aa44 guibg=bg
hi preproc term=underline cterm=none ctermfg=darkgrey ctermbg=white gui=none guifg=darkgrey guibg=bg
hi type term=none cterm=none ctermfg=brown ctermbg=white gui=none guifg=#bb9900 guibg=bg
hi underlined term=underline cterm=underline ctermfg=darkmagenta ctermbg=white gui=underline guifg=darkmagenta guibg=bg
hi Ignore term=italic cterm=none ctermfg=lightgrey ctermbg=white gui=none guifg=grey guibg=bg
"hi todo term=underline cterm=bold ctermfg=yellow ctermbg=brown gui=none guifg=#333333 guibg=#ddee33
hi todo term=bold cterm=none ctermfg=yellow ctermbg=brown gui=bold guifg=#229900 guibg=#ddd9b8
hi function term=bold cterm=none ctermfg=blue ctermbg=white gui=none guifg=#0055cc guibg=bg
hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator 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 Special
hi link vimfunction function
" vim: set ts=8 sw=8 et sts=8 tw=72 fo-=t ff=unix :

154
colors/autumnleaf.vim Executable file
View File

@ -0,0 +1,154 @@
" Vim color file
" Maintainer: Anders Korte
" Last Change: 17 Oct 2004
" AutumnLeaf color scheme 1.0
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name="AutumnLeaf"
" Colors for the User Interface.
hi Cursor guibg=#aa7733 guifg=#ffeebb gui=bold
hi Normal guibg=#fffdfa guifg=black gui=none
hi NonText guibg=#eafaea guifg=#000099 gui=bold
hi Visual guibg=#fff8cc guifg=black gui=none
" hi VisualNOS
hi Linenr guibg=bg guifg=#999999 gui=none
" Uncomment these if you use Diff...??
" hi DiffText guibg=#cc0000 guifg=white gui=none
" hi DiffAdd guibg=#0000cc guifg=white gui=none
" hi DiffChange guibg=#990099 guifg=white gui=none
" hi DiffDelete guibg=#888888 guifg=#333333 gui=none
hi Directory guibg=bg guifg=#337700 gui=none
hi IncSearch guibg=#c8e8ff guifg=black gui=none
hi Search guibg=#c8e8ff guifg=black gui=none
hi SpecialKey guibg=bg guifg=fg gui=none
hi Titled guibg=bg guifg=fg gui=none
hi ErrorMsg guibg=bg guifg=#cc0000 gui=bold
hi ModeMsg guibg=bg guifg=#003399 gui=none
hi link MoreMsg ModeMsg
hi link Question ModeMsg
hi WarningMsg guibg=bg guifg=#cc0000 gui=bold
hi StatusLine guibg=#ffeebb guifg=black gui=bold
hi StatusLineNC guibg=#aa8866 guifg=#f8e8cc gui=none
hi VertSplit guibg=#aa8866 guifg=#ffe0bb gui=none
" hi Folded
" hi FoldColumn
" hi SignColumn
" Colors for Syntax Highlighting.
hi Comment guibg=#ddeedd guifg=#002200 gui=none
hi Constant guibg=bg guifg=#003399 gui=bold
hi String guibg=bg guifg=#003399 gui=italic
hi Character guibg=bg guifg=#003399 gui=italic
hi Number guibg=bg guifg=#003399 gui=bold
hi Boolean guibg=bg guifg=#003399 gui=bold
hi Float guibg=bg guifg=#003399 gui=bold
hi Identifier guibg=bg guifg=#003399 gui=none
hi Function guibg=bg guifg=#0055aa gui=bold
hi Statement guibg=bg guifg=#003399 gui=none
hi Conditional guibg=bg guifg=#aa7733 gui=bold
hi Repeat guibg=bg guifg=#aa5544 gui=bold
hi link Label Conditional
hi Operator guibg=bg guifg=#aa7733 gui=bold
hi link Keyword Statement
hi Exception guibg=bg guifg=#228877 gui=bold
hi PreProc guibg=bg guifg=#aa7733 gui=bold
hi Include guibg=bg guifg=#558811 gui=bold
hi link Define Include
hi link Macro Include
hi link PreCondit Include
hi Type guibg=bg guifg=#007700 gui=bold
hi link StorageClass Type
hi link Structure Type
hi Typedef guibg=bg guifg=#009900 gui=italic
hi Special guibg=bg guifg=fg gui=none
hi SpecialChar guibg=bg guifg=fg gui=bold
hi Tag guibg=bg guifg=#003399 gui=bold
hi link Delimiter Special
hi SpecialComment guibg=#dddddd guifg=#aa0000 gui=none
hi link Debug Special
hi Underlined guibg=bg guifg=blue gui=underline
hi Title guibg=bg guifg=fg gui=bold
hi Ignore guibg=bg guifg=#999999 gui=none
hi Error guibg=red guifg=white gui=none
hi Todo guibg=bg guifg=#aa0000 gui=none
" The same in cterm colors.
hi Cursor ctermbg=6 ctermfg=14
hi Normal ctermbg=15 ctermfg=0
hi NonText ctermbg=10 ctermfg=1
hi Visual ctermbg=14 ctermfg=0
" hi VisualNOS
hi Linenr ctermbg=bg ctermfg=7
" hi DiffText ctermbg=4 ctermfg=15
" hi DiffAdd ctermbg=1 ctermfg=15
" hi DiffChange ctermbg=5 ctermfg=15
" hi DiffDelete ctermbg=7 ctermfg=8
hi Directory ctermbg=bg ctermfg=2
hi IncSearch ctermbg=9 ctermfg=0
hi Search ctermbg=9 ctermfg=0
hi SpecialKey ctermbg=bg ctermfg=fg
hi Titled ctermbg=bg ctermfg=fg
hi ErrorMsg ctermbg=bg ctermfg=12
hi ModeMsg ctermbg=bg ctermfg=9
hi WarningMsg ctermbg=bg ctermfg=12
hi StatusLine ctermbg=14 ctermfg=0
hi StatusLineNC ctermbg=6 ctermfg=14
hi VertSplit ctermbg=6 ctermfg=14
" hi Folded
" hi FoldColumn
" hi SignColumn
hi Comment ctermbg=10 ctermfg=2
hi Constant ctermbg=bg ctermfg=9
hi String ctermbg=bg ctermfg=9 cterm=italic
hi Character ctermbg=bg ctermfg=9 cterm=italic
hi Number ctermbg=bg ctermfg=9 cterm=bold
hi Boolean ctermbg=bg ctermfg=9 cterm=bold
hi Float ctermbg=bg ctermfg=9 cterm=bold
hi Function ctermbg=bg ctermfg=9 cterm=bold
hi Statement ctermbg=bg ctermfg=9 cterm=bold
hi Conditional ctermbg=bg ctermfg=6 cterm=bold
hi Repeat ctermbg=bg ctermfg=6 cterm=bold
hi Operator ctermbg=bg ctermfg=6 cterm=bold
hi Exception ctermbg=bg ctermfg=2 cterm=bold
hi PreProc ctermbg=bg ctermfg=6
hi Include ctermbg=bg ctermfg=2 cterm=bold
hi Type ctermbg=bg ctermfg=2 cterm=bold
hi Typedef ctermbg=bg ctermfg=2 cterm=italic
hi Special ctermbg=bg ctermfg=fg cterm=bold
hi Tag ctermbg=bg ctermfg=9 cterm=bold
hi SpecialComment ctermbg=7 ctermfg=4
hi Underlined ctermbg=bg ctermfg=9 cterm=underline
hi Title ctermbg=bg ctermfg=fg cterm=bold
hi Ignore ctermbg=bg ctermfg=7
hi Error ctermbg=12 ctermfg=15
hi Todo ctermbg=bg ctermfg=15

319
colors/baycomb.vim Executable file
View File

@ -0,0 +1,319 @@
" Vim color file
" baycomb v2.4
" http://www.vim.org/scripts/script.php?script_id=1454
"
" Maintainer: Shawn Axsom <axs221@gmail.com>
"
" * Place :colo baycomb in your VimRC/GVimRC file
" * Also add :set background=dark or :setbackground=light
" depending on your preference.
"
" - Thanks to Desert and OceanDeep for their color scheme
" file layouts
" - Thanks to Raimon Grau and Bob Lied for their feedback
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="baycomb"
if &background == "dark"
hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823
hi NonText guifg=#382920 guibg=bg
hi Folded guibg=#232235 guifg=grey
hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5
hi LineNr guibg=#101124 guifg=#206aa9
hi StatusLine guibg=#354070 guifg=#6880ea gui=none
hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none
hi VertSplit guibg=#22253c guifg=#223355 gui=none
hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none
hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none
hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none
"hi SpellBad
"hi SpellCap
"hi SpellLocal
"hi SpellRare
hi MatchParen guibg=#7b5a55 guifg=#001122
" syntax highlighting """"""""""""""""""""""""""""""""""""""""
hi Comment guifg=#349d58 guibg=bg
hi Title guifg=#e5e5ca gui=none
hi Underlined guifg=#bac5ba gui=none
hi Statement guifg=#fca8ad gui=none "a080aa
hi Type guifg=#0490e8 gui=bold
hi Constant guifg=#5c78f0 "guibg=#111a2a
hi Number guifg=#4580b4 "guibg=#111a2a
hi PreProc guifg=#ba75cf
hi Special guifg=#aaaaca
hi Ignore guifg=grey40
hi Todo guifg=orangered guibg=yellow2
hi Error guibg=#b03452
hi Function guifg=#bab588 guibg=bg gui=bold
hi Identifier guifg=#5094c4
"""""this section borrowed from OceanDeep/Midnight"""""
highlight Conditional gui=None guifg=#d0688d guibg=bg
highlight Repeat gui=None guifg=#e06070 guibg=bg
"hi Label gui=None guifg=LightGreen guibg=bg
highlight Operator gui=None guifg=#e8cdc0 guibg=bg
highlight Keyword gui=bold guifg=grey guibg=bg
highlight Exception gui=bold guifg=#d0a8ad guibg=bg
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
"end syntax highlighting """""""""""""""""""""""""""""""""""""
" highlight groups
"hi CursorIM
hi Directory guifg=#bbd0df
hi DiffText guibg=#004335
hi DiffChange guibg=#685b5c
hi DiffAdd guibg=#0a4b8c
hi DiffDelete guifg=#300845 guibg=#200845
hi ErrorMsg guibg=#ff4545
hi Cursor guibg=#cad5c0 guifg=#0000aa
hi Search guibg=darkyellow guifg=black
hi IncSearch guifg=#babeaa guibg=#3a4520
hi ModeMsg guifg=#00AACC
hi MoreMsg guifg=SeaGreen
hi Question guifg=#AABBCC
hi SpecialKey guifg=#90dcb0
hi Visual guifg=#102030 guibg=#80a0f0
hi VisualNOS guifg=#201a30 guibg=#a3a5FF
hi WarningMsg guifg=salmon
"hi WildMenu
"hi Menu
"hi Scrollbar guibg=grey30 guifg=tan
"hi Tooltip
" new Vim 7.0 items
hi Pmenu guibg=#3a6595 guifg=#9aadd5
hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
" color terminal definitions
hi Cursor ctermfg=black ctermbg=white
hi Normal ctermfg=grey ctermbg=black
hi Number ctermfg=darkgreen
highlight Operator ctermfg=yellow
highlight Conditional ctermfg=darkred
highlight Repeat ctermfg=darkred
hi Exception ctermfg=darkred
hi SpecialKey ctermfg=darkgreen
hi NonText cterm=bold ctermfg=darkgrey
hi Directory ctermfg=darkcyan
hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
hi MoreMsg ctermfg=darkgreen
hi ModeMsg cterm=NONE ctermfg=brown
hi LineNr ctermfg=darkcyan ctermbg=black
hi Question ctermfg=green
hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE
hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE
hi Title ctermfg=yellow cterm=NONE
hi Visual ctermbg=grey ctermfg=blue cterm=NONE
hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE
hi WarningMsg ctermfg=1
hi WildMenu ctermfg=0 ctermbg=3
hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE
hi FoldColumn ctermfg=yellow ctermbg=black
hi DiffAdd ctermbg=4
hi DiffChange ctermbg=5
hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
hi DiffText cterm=bold ctermbg=1
hi Comment ctermfg=darkgreen ctermbg=black
hi Identifier ctermfg=cyan
"set comments to grey on non-Windows OS's to make sure
"it is readable
if &term == "builtin_gui" || &term == "win32"
hi function ctermfg=grey
hi Type ctermfg=darkyellow ctermbg=darkblue
hi IncSearch ctermfg=black ctermbg=grey cterm=NONE
hi Search ctermfg=black ctermbg=darkgrey cterm=NONE
else
hi function ctermfg=white
hi Type ctermfg=grey
hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""
hi Constant ctermfg=darkcyan
hi Special ctermfg=white
hi Statement ctermfg=yellow
hi PreProc ctermfg=darkred
hi Underlined ctermfg=cyan cterm=NONE
hi Ignore cterm=bold ctermfg=7
hi Ignore ctermfg=darkgrey
hi Error cterm=bold ctermfg=7 ctermbg=1
" new Vim 7.0 items
hi Pmenu ctermbg=darkblue ctermfg=lightgrey
hi PmenuSel ctermbg=lightblue ctermfg=white
hi tablinesel ctermfg=cyan ctermbg=blue
hi tabline ctermfg=black ctermbg=blue
hi tablinefill ctermfg=green ctermbg=darkblue
"vim: sw=4
"
hi MatchParen ctermfg=black ctermbg=green
elseif &background == "light"
hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2
hi NonText guifg=#382920 guibg=#152555
" syntax highlighting """"""""""""""""""""""""""""""""""""""""
"set comments to grey on non-Windows OS's to make sure
"it is readable
if &term == "builtin_gui" || &term == "win32"
hi Comment guifg=#daddb8 guibg=#308ae5
else
hi Comment guifg=darkyellow guibg=#207ada
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""
hi Title guifg=#857540 gui=none
hi Underlined guifg=#8a758a
hi Statement guifg=#da302a gui=none
hi Type guifg=#307aca gui=none
hi Constant guifg=#3a40aa gui=none
hi PreProc guifg=#9570b5
hi Identifier guifg=#856075 "gui=bold
hi Special guifg=#652a7a
hi Ignore guifg=grey40
hi Todo guifg=orangered guibg=yellow2
hi Error guibg=#b03452
"""""this section borrowed from OceanDeep/Midnight"""""
hi Number guifg=#006bcd
hi Function gui=None guifg=#d06d50 "or green 50b3b0
highlight Conditional gui=None guifg=#a50a4a
highlight Repeat gui=None guifg=#700d8a
"hi Label gui=None guifg=LightGreen guibg=bg
highlight Operator gui=None guifg=#e0b045
highlight Keyword gui=bold guifg=grey guibg=bg
highlight Exception gui=none guifg=#ea5460
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
"end syntax highlighting """""""""""""""""""""""""""""""""""""
" highlight groups
"hi CursorIM
hi Directory guifg=#bbd0df
"hi DiffAdd
"hi DiffChange
"hi DiffDelete
"hi DiffText
hi ErrorMsg guibg=#ff4545
hi Cursor guibg=#cadaca guifg=#05293d
hi FoldColumn guibg=#409ae0 guifg=darkgrey
"hi FoldColumn guibg=#83a5cd guifg=#70459F
hi LineNr guibg=#409ae0 guifg=darkblue gui=bold
"hi LineNr guibg=#081c30 guifg=#80a0dA
hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none
hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none
hi Search guibg=#babdad guifg=#3a4520
hi IncSearch guifg=#dadeca guibg=#3a4520
hi VertSplit guibg=#525f95 guifg=grey50 gui=none
hi Folded guibg=#252f5d guifg=#BBDDCC
hi ModeMsg guifg=#00AACC
hi MoreMsg guifg=SeaGreen
hi Question guifg=#AABBCC
hi SpecialKey guifg=#308c70
hi Visual guifg=#008FBF guibg=#33DFEF
"hi VisualNOS
hi WarningMsg guifg=salmon
"hi WildMenu
"hi Menu
"hi Scrollbar guibg=grey30 guifg=tan
"hi Tooltip
" new Vim 7.0 items
hi Pmenu guibg=#3a6595 guifg=#9aadd5
hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
" color terminal definitions
hi Normal ctermfg=black ctermbg=white
hi Number ctermfg=blue
highlight Operator ctermfg=yellow
highlight Conditional ctermfg=magenta
highlight Repeat ctermfg=magenta
hi Exception ctermfg=red
hi function ctermfg=darkyellow
hi SpecialKey ctermfg=darkgreen
hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey
hi Directory ctermfg=darkcyan
hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
hi Search ctermfg=white ctermbg=darkyellow cterm=NONE
hi MoreMsg ctermfg=darkgreen
hi ModeMsg cterm=NONE ctermfg=brown
hi LineNr ctermfg=black ctermbg=blue
hi Question ctermfg=green
hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE
hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
hi VertSplit ctermfg=black ctermbg=black cterm=NONE
hi Title ctermfg=darkyellow ctermbg=white
hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE
hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE
hi WarningMsg ctermfg=1
hi WildMenu ctermfg=0 ctermbg=3
hi Folded ctermfg=black ctermbg=white cterm=NONE
hi FoldColumn ctermfg=green ctermbg=blue
hi DiffAdd ctermbg=4
hi DiffChange ctermbg=5
hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
hi DiffText cterm=bold ctermbg=1
hi Comment ctermfg=grey ctermbg=blue
hi Constant ctermfg=darkblue
hi Special ctermfg=darkmagenta
hi Identifier ctermfg=darkyellow cterm=NONE
hi Statement ctermfg=red
hi PreProc ctermfg=magenta
hi Type ctermfg=darkcyan "or darkcyan
hi Underlined ctermfg=black ctermbg=white
hi Ignore cterm=bold ctermfg=7
hi Ignore ctermfg=darkgrey
hi Error cterm=bold ctermfg=7 ctermbg=1
" new Vim 7.0 items
hi Pmenu ctermbg=darkblue ctermfg=lightgrey
hi PmenuSel ctermbg=lightblue ctermfg=white
"vim: sw=4
endif

67
colors/bclear.vim Executable file
View File

@ -0,0 +1,67 @@
" Vim colorscheme
" Name: bclear
" Maintainer: Ricky Cintron 'borosai' [borosai at gmail dot com]
" Last Change: 2009-08-04
hi clear
set background=light
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "bclear"
"---GUI settings
hi SpecialKey guifg=#000000 guibg=#ffcde6
hi NonText guifg=#969696 guibg=#f0f0f0 gui=none
hi Directory guifg=#78681a
hi ErrorMsg guifg=#ffffff guibg=#a01010
hi IncSearch guifg=#ffffff guibg=#ff8000 gui=none
hi Search guifg=#000000 guibg=#ffd073
hi MoreMsg guifg=#ffffff guibg=#3c960f gui=none
hi ModeMsg guifg=#323232 gui=none
hi LineNr guifg=#969696 guibg=#f0f0f0
hi Question guifg=#000000 guibg=#ffde37 gui=none
hi StatusLine guifg=#ffffff guibg=#323232 gui=none
hi StatusLineNC guifg=#f0f0f0 guibg=#646464 gui=none
hi VertSplit guifg=#f0f0f0 guibg=#646464 gui=none
hi Title guifg=#323232 gui=none
hi Visual guifg=#ffffff guibg=#1994d1
hi VisualNOS guifg=#000000 guibg=#1994d1 gui=none
hi WarningMsg guifg=#c8c8c8 guibg=#a01010
hi WildMenu guifg=#ffffff guibg=#1994d1
hi Folded guifg=#969696 guibg=#f0f0f0
hi FoldColumn guifg=#969696 guibg=#f0f0f0
hi DiffAdd guibg=#deffcd
hi DiffChange guibg=#dad7ff
hi DiffDelete guifg=#c8c8c8 guibg=#ffffff gui=none
hi DiffText guifg=#ffffff guibg=#767396 gui=none
hi SignColumn guifg=#969696 guibg=#f0f0f0
hi SpellBad guifg=#000000 guibg=#fff5c3 guisp=#f01818 gui=undercurl
hi SpellCap guifg=#000000 guibg=#fff5c3 guisp=#14b9c8 gui=undercurl
hi SpellRare guifg=#000000 guibg=#fff5c3 guisp=#4cbe13 gui=undercurl
hi SpellLocal guifg=#000000 guibg=#fff5c3 guisp=#000000 gui=undercurl
hi Pmenu guifg=#ffffff guibg=#323232
hi PmenuSel guifg=#ffffff guibg=#1994d1
hi PmenuSbar guifg=#323232 guibg=#323232
hi PmenuThumb guifg=#646464 guibg=#646464 gui=none
hi TabLine guifg=#f0f0f0 guibg=#646464 gui=none
hi TabLineSel guifg=#ffffff guibg=#323232 gui=none
hi TabLineFill guifg=#646464 guibg=#646464 gui=none
hi CursorColumn guibg=#e1f5ff
hi CursorLine guibg=#e1f5ff gui=none
hi Cursor guifg=#ffffff guibg=#323232
hi lCursor guifg=#ffffff guibg=#004364
hi MatchParen guifg=#ffffff guibg=#f00078
hi Normal guifg=#323232 guibg=#ffffff
hi Comment guifg=#969696
hi Constant guifg=#1094a0
hi Special guifg=#dc6816
hi Identifier guifg=#3c960f
hi Statement guifg=#3b6ac8 gui=none
hi PreProc guifg=#294a8c
hi Type guifg=#a00050 gui=none
hi Underlined guifg=#323232 gui=underline
hi Ignore guifg=#c8c8c8
hi Error guifg=#ffffff guibg=#c81414
hi Todo guifg=#c81414 guibg=#ffffff

402
colors/bigbang.vim Executable file
View File

@ -0,0 +1,402 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: bigbang.vim
" Last Change: 2009-10-17 [17:01:53]
" Version: 125
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Help: :h bigbang.vim
" :h bigbang-options
" :h bigbang-variants
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "bigbang"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
let s:mimic_bigbang_alt = s:GetValue("mimic_bigbang_alt")
let s:mimic_bigbang_dark = s:GetValue("mimic_bigbang_dark")
" cleanup
delfunction s:GetValue
" Default Highlight {{{1
if !s:mimic_bigbang_dark
if !s:mimic_bigbang_alt
hi Normal guifg=#68f8c8 guibg=#333333 gui=NONE ctermfg=cyan ctermbg=black cterm=NONE
else
hi Normal guifg=#68f8c8 guibg=#000078 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
endif
else "darker colors, black and darkblue
if !s:mimic_bigbang_alt
hi Normal guifg=#68f8c8 guibg=#000000 gui=NONE ctermfg=cyan ctermbg=black cterm=NONE
else
hi Normal guifg=#68f8c8 guibg=#000040 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
endif
endif
hi Cursor guifg=bg guibg=#68f868 gui=NONE ctermfg=bg ctermbg=green cterm=NONE
hi CursorIM guifg=bg guibg=#68c8f8 gui=NONE ctermfg=bg ctermbg=cyan cterm=NONE
hi MatchParen guifg=bg guibg=#68f8f8 gui=NONE ctermfg=bg ctermbg=cyan cterm=NONE
" search
hi Search guifg=#f9f999 guibg=#3333f9 gui=NONE ctermfg=black ctermbg=cyan cterm=NONE
hi IncSearch guifg=#000000 guibg=fg gui=NONE ctermfg=black ctermbg=fg cterm=NONE
" visual mode
if version < 700
hi LineNr guifg=#d8d8d8 guibg=bg gui=NONE ctermfg=grey ctermbg=bg cterm=NONE
hi Visual guifg=fg guibg=#007000 gui=NONE ctermfg=fg ctermbg=darkgreen cterm=NONE
hi VisualNOS guifg=fg guibg=#000070 gui=NONE ctermfg=bg ctermbg=darkcyan cterm=NONE
" diff
hi DiffAdd guifg=#000000 guibg=#68f868 gui=NONE ctermfg=black ctermbg=green cterm=NONE
hi DiffChange guifg=#000000 guibg=#68ccf8 gui=NONE ctermfg=grey ctermbg=blue cterm=NONE
hi DiffDelete guifg=#000000 guibg=#f8f868 gui=NONE ctermfg=black ctermbg=yellow cterm=NONE
hi DiffText guifg=#000000 guibg=#68f8f8 gui=NONE ctermfg=black ctermbg=cyan cterm=NONE
else
hi LineNr guifg=#d8d8d8 gui=NONE ctermfg=grey cterm=NONE
hi Visual guibg=#007000 gui=NONE ctermbg=darkgreen cterm=NONE
hi VisualNOS guibg=#000070 gui=NONE ctermbg=darkcyan cterm=NONE
" diff
hi DiffAdd guibg=#004800 gui=NONE ctermfg=black ctermbg=green cterm=NONE
hi DiffChange guibg=#0000a8 gui=NONE ctermfg=black ctermbg=blue cterm=NONE
hi DiffDelete guifg=bg guibg=#989800 gui=NONE ctermfg=black ctermbg=yellow cterm=NONE
hi DiffText guibg=#006888 gui=NONE ctermfg=black ctermbg=cyan cterm=NONE
endif
" line numbers and folding
hi NonText guifg=#f888f8 guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
if !s:mimic_bigbang_dark
" color for grey20 and blue {{{2
if !s:mimic_bigbang_alt
hi Folded guifg=#f888f8 guibg=#131313 gui=NONE ctermfg=magenta ctermbg=blue cterm=NONE
hi FoldColumn guifg=#38f8f8 guibg=#131313 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi SignColumn guifg=#88f888 guibg=#131313 gui=NONE ctermfg=green ctermbg=blue cterm=NONE
" other text
hi SpecialKey guifg=#f8f888 guibg=#131313 gui=NONE ctermfg=yellow ctermbg=blue cterm=NONE
hi ModeMsg guifg=#88f888 guibg=#131313 gui=NONE ctermfg=green ctermbg=blue cterm=NONE
hi Title guifg=#d8d8d8 guibg=#131313 gui=NONE ctermfg=grey ctermbg=blue cterm=NONE
else
hi Folded guifg=#f888f8 guibg=#000040 gui=NONE ctermfg=magenta ctermbg=darkblue cterm=NONE
hi FoldColumn guifg=#38f8f8 guibg=#000040 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi SignColumn guifg=#88f888 guibg=#000040 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
" other text
hi SpecialKey guifg=#f8f888 guibg=#000040 gui=NONE ctermfg=yellow ctermbg=darkblue cterm=NONE
hi ModeMsg guifg=#88f888 guibg=#000040 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
hi Title guifg=#d8d8d8 guibg=#000040 gui=NONE ctermfg=grey ctermbg=darkblue cterm=NONE
endif "}}}2
else
" colors for black and darkblue {{{2
if !s:mimic_bigbang_alt
hi Folded guifg=#f888f8 guibg=#232323 gui=NONE ctermfg=magenta ctermbg=darkblue cterm=NONE
hi FoldColumn guifg=#38f8f8 guibg=#232323 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi SignColumn guifg=#88f888 guibg=#232323 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
" other text
hi SpecialKey guifg=#f8f888 guibg=#232323 gui=NONE ctermfg=yellow ctermbg=darkblue cterm=NONE
hi ModeMsg guifg=#88f888 guibg=#232323 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
hi Title guifg=#d8d8d8 guibg=#232323 gui=NONE ctermfg=grey ctermbg=darkblue cterm=NONE
else
hi Folded guifg=#f888f8 guibg=#000078 gui=NONE ctermfg=magenta ctermbg=black cterm=NONE
hi FoldColumn guifg=#38f8f8 guibg=#000078 gui=NONE ctermfg=cyan ctermbg=black cterm=NONE
hi SignColumn guifg=#88f888 guibg=#000078 gui=NONE ctermfg=green ctermbg=black cterm=NONE
" other text
hi SpecialKey guifg=#f888f8 guibg=#000078 gui=NONE ctermfg=yellow ctermbg=blue cterm=NONE
hi ModeMsg guifg=#88f888 guibg=#000098 gui=NONE ctermfg=green ctermbg=blue cterm=NONE
hi Title guifg=#d8d8d8 guibg=#000098 gui=NONE ctermfg=grey ctermbg=blue cterm=NONE
endif "}}}2
endif
" windows, statusline
hi StatusLine guifg=#000000 guibg=#38f8f8 gui=NONE ctermfg=bg ctermbg=cyan cterm=NONE
hi StatusLineNC guifg=#000000 guibg=#68f868 gui=NONE ctermfg=bg ctermbg=green cterm=NONE
hi VertSplit guifg=#000000 guibg=#68f868 gui=NONE ctermfg=bg ctermbg=green cterm=NONE
hi WildMenu guifg=fg guibg=bg gui=underline ctermfg=fg ctermbg=bg cterm=NONE
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=fg guibg=bg
hi Scrollbar guifg=bg guibg=#88f8f8
hi Tooltip guifg=bg guibg=fg
endif
endif
" vim >= 7.0 only
if version >= 700
" tab pages
hi TabLine guifg=#000000 guibg=#38f8f8 gui=NONE ctermfg=black ctermbg=cyan cterm=NONE
hi TabLineFill guifg=#000000 guibg=#38f8f8 gui=NONE ctermfg=black ctermbg=cyan cterm=NONE
hi TabLineSel guifg=fg guibg=bg gui=underline ctermfg=fg ctermbg=bg cterm=NONE
if !s:mimic_bigbang_dark
" color for grey20 and blue {{{2
if !s:mimic_bigbang_alt
" current line, column
hi CursorLine guibg=#131313 gui=NONE ctermbg=blue cterm=NONE
hi CursorColumn guibg=#131313 gui=NONE ctermbg=blue cterm=NONE
else
" current line, column
hi CursorLine guibg=#000040 gui=NONE ctermbg=darkblue cterm=NONE
hi CursorColumn guibg=#000040 gui=NONE ctermbg=darkblue cterm=NONE
endif "}}}2
else
" color for black and darkblue {{{2
if !s:mimic_bigbang_alt
" current line, column
hi CursorLine guibg=#232323 gui=NONE ctermbg=darkblue cterm=NONE
hi CursorColumn guibg=#232323 gui=NONE ctermbg=darkblue cterm=NONE
else
" current line, column
hi CursorLine guibg=#000098 gui=NONE ctermbg=black cterm=NONE
hi CursorColumn guibg=#000098 gui=NONE ctermbg=black cterm=NONE
endif "}}}2
endif
" popup completion menu
hi Pmenu guifg=bg guibg=fg gui=NONE ctermfg=bg ctermbg=fg cterm=NONE
hi PmenuSel guifg=bg guibg=#88f888 gui=underline ctermfg=bg ctermbg=green cterm=NONE
hi PmenuSbar guifg=#38f868 guibg=#68f868 gui=NONE ctermfg=green ctermbg=green cterm=NONE
hi PmenuThumb guifg=#38f8f8 guibg=#38f8f8 gui=NONE ctermfg=cyan ctermbg=cyan cterm=NONE
" spell checking
hi SpellBad guisp=#f87878 gui=undercurl ctermfg=red ctermbg=yellow cterm=NONE
hi SpellCap guisp=#4888f8 gui=undercurl ctermfg=blue ctermbg=yellow cterm=NONE
hi SpellLocal guisp=#38f8f8 gui=undercurl ctermfg=cyan ctermbg=yellow cterm=NONE
hi SpellRare guisp=#f838f8 gui=undercurl ctermfg=magenta ctermbg=yellow cterm=NONE
endif
" other texts
hi Question guifg=#88f888 guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi WarningMsg guifg=bg guibg=#f8f888 gui=NONE ctermfg=bg ctermbg=yellow cterm=NONE
hi ErrorMsg guifg=#d8d8d8 guibg=#c80000 gui=NONE ctermfg=grey ctermbg=darkred cterm=NONE
hi Directory guifg=#88f888 guibg=bg gui=underline ctermfg=green ctermbg=bg cterm=NONE
hi MoreMsg guifg=#f8f888 guibg=bg gui=NONE ctermfg=yellow ctermbg=bg cterm=NONE
" Default Syntax Highlight {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~
if !s:mimic_bigbang_dark
" colors for grey20 and blue {{{2
if !s:mimic_bigbang_alt
hi Statement guifg=#68f868 guibg=#131313 gui=NONE ctermfg=green ctermbg=blue cterm=NONE
hi Type guifg=#38f8f8 guibg=#131313 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi PreProc guifg=#f888f8 guibg=#131313 gui=NONE ctermfg=magenta ctermbg=blue cterm=NONE
hi Special guifg=#f8f888 guibg=#131313 gui=NONE ctermfg=yellow ctermbg=blue cterm=NONE
hi Tag guifg=#68f868 guibg=#131313 gui=NONE ctermfg=green ctermbg=blue cterm=NONE
hi Delimiter guifg=#d8d8d8 guibg=#131313 gui=NONE ctermfg=grey ctermbg=blue cterm=NONE
else
hi Statement guifg=#68f868 guibg=#000040 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
hi Type guifg=#38f8f8 guibg=#000040 gui=none ctermfg=cyan ctermbg=darkblue cterm=NONE
hi PreProc guifg=#f888f8 guibg=#000040 gui=NONE ctermfg=magenta ctermbg=darkblue cterm=NONE
hi Special guifg=#f8f888 guibg=#000040 gui=NONE ctermfg=yellow ctermbg=darkblue cterm=NONE
hi Tag guifg=#68f868 guibg=#000040 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
hi Delimiter guifg=#d8d8d8 guibg=#000040 gui=NONE ctermfg=grey ctermbg=darkblue cterm=NONE
endif "}}}2
else
" colors for black and darkblue {{{2
if !s:mimic_bigbang_alt
hi Statement guifg=#68f868 guibg=#232323 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
hi Type guifg=#38f8f8 guibg=#232323 gui=none ctermfg=cyan ctermbg=darkblue cterm=NONE
hi PreProc guifg=#f888f8 guibg=#232323 gui=NONE ctermfg=magenta ctermbg=darkblue cterm=NONE
hi Special guifg=#f8f888 guibg=#232323 gui=NONE ctermfg=yellow ctermbg=darkblue cterm=NONE
hi Tag guifg=#68f868 guibg=#232323 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
hi Delimiter guifg=#d8d8d8 guibg=#232323 gui=NONE ctermfg=grey ctermbg=darkblue cterm=NONE
else
hi Statement guifg=#88f888 guibg=#000098 gui=NONE ctermfg=green ctermbg=black cterm=NONE
hi Type guifg=#38f8f8 guibg=#000098 gui=none ctermfg=cyan ctermbg=black cterm=NONE
hi PreProc guifg=#f888f8 guibg=#000098 gui=NONE ctermfg=magenta ctermbg=black cterm=NONE
hi Special guifg=#f8f888 guibg=#000098 gui=NONE ctermfg=yellow ctermbg=black cterm=NONE
hi Tag guifg=#88f888 guibg=#000098 gui=NONE ctermfg=green ctermbg=black cterm=NONE
hi Delimiter guifg=#d8d8d8 guibg=#000098 gui=NONE ctermfg=grey ctermbg=black cterm=NONE
endif "}}}2
endif
hi Comment guifg=#d8d8d8 guibg=bg gui=NONE ctermfg=grey ctermbg=bg cterm=NONE
hi link SpecialComment Comment
hi Constant guifg=#f8f888 guibg=bg gui=NONE ctermfg=yellow ctermbg=bg cterm=NONE
hi Character guifg=#f8f888 guibg=bg gui=NONE ctermfg=yellow ctermbg=bg cterm=NONE
hi String guifg=#f8f888 guibg=bg gui=NONE ctermfg=yellow ctermbg=bg cterm=NONE
hi link Number Constant
hi link Boolean Constant
hi link Float Constant
hi Identifier guifg=#88f888 guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi Function guifg=#88f888 guibg=bg gui=underline ctermfg=green ctermbg=bg cterm=NONE
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator 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 SpecialChar Special
hi Debug guifg=#f8f888 guibg=bg gui=NONE ctermfg=yellow ctermbg=bg cterm=NONE
hi Underlined guifg=#f8f888 guibg=bg gui=underline ctermfg=yellow ctermbg=darkmagenta cterm=NONE
hi Ignore guifg=bg guibg=bg gui=NONE ctermfg=bg ctermbg=bg cterm=NONE
hi Error guifg=#d8d8d8 guibg=#880000 gui=NONE ctermfg=white ctermbg=darkred cterm=NONE
hi Todo guifg=bg guibg=#88f888 gui=NONE ctermfg=bg ctermbg=fg cterm=NONE
" Non-Standard Syntax Groups {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Vim help {{{2
hi! link Subtitle Function
" Dr. Chip's stuff {{{2
" Decho
if exists("g:loaded_Decho")
hi! link DechoBarHL Delimiter
hi! link Warning WarningMsg
endif
" Lisp {{{2
" Correct the FG and BG colors for the fancy Rainbow parenthesis.
if exists("g:lisp_rainbow") && 0 != g:lisp_rainbow
" set up BG color according to current one,
if !s:mimic_bigbang_dark
if !s:mimic_bigbang_alt
let s:guibg = "#131313"
let s:ctermbg = "blue"
else
" gvim=#000078, vim=blue
let s:guibg = "#000040"
let s:ctermbg = "darkblue"
endif
else
if !s:mimic_bigbang_alt
" gvim=#000000, vim=black
let s:guibg = "#232323"
let s:ctermbg = "darkblue"
else
" gvim=#000040, vim=darkblue
let s:guibg = "#000098"
let s:ctermbg = "black"
endif
endif
" Green and Cyan are used a lot for the syntax, so they will be in the last
" levels for the fg colors; and so the levels go from "Yellow" to "Green" in
" the GUI, and from "White" to "Cyan" in Console.
" Note: the cterm fg colors can't use Blue nor Darkblue, because they're
" already used for the background.
exe "hi hlLevel0 guifg=#ffff66 guibg=".s:guibg." ctermfg=white ctermbg=".s:ctermbg
exe "hi hlLevel1 guifg=#ffcc66 guibg=".s:guibg." ctermfg=yellow ctermbg=".s:ctermbg
exe "hi hlLevel2 guifg=#ff66cc guibg=".s:guibg." ctermfg=red ctermbg=".s:ctermbg
exe "hi hlLevel3 guifg=#ff66ff guibg=".s:guibg." ctermfg=magenta ctermbg=".s:ctermbg
exe "hi hlLevel4 guifg=#cc66ff guibg=".s:guibg." ctermfg=cyan ctermbg=".s:ctermbg
exe "hi hlLevel5 guifg=#6666ff guibg=".s:guibg." ctermfg=white ctermbg=".s:ctermbg
exe "hi hlLevel6 guifg=#66ccff guibg=".s:guibg." ctermfg=yellow ctermbg=".s:ctermbg
exe "hi hlLevel7 guifg=#66ffff guibg=".s:guibg." ctermfg=red ctermbg=".s:ctermbg
exe "hi hlLevel8 guifg=#66ffcc guibg=".s:guibg." ctermfg=magenta ctermbg=".s:ctermbg
exe "hi hlLevel9 guifg=#66ff66 guibg=".s:guibg." ctermfg=cyan ctermbg=".s:ctermbg
" cleanup
unlet s:guibg s:ctermbg
endif
" }}}1
" Font Style {{{1
"~~~~~~~~~~~~
if has("gui_running") && 0 < s:mimic_font_style
" Function: s:MultiHi(option, ...) {{{2
" Sets highlight option(s) on all its arguments.
" Parameters:
" option -- a string in the form of "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the "bold & italics" groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "Directory", "StatusLine", "MoreMsg", "ModeMsg", "Title", "Constant", "Character", "Type", "Statement", "PreProc","Special", "Tag", "Delimiter", "Todo")
call s:MultiHi("gui=underline,bold", "WildMenu", "TablineSel", "Function")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "TabLine", "StatusLineNC", "Folded", "Question", "Comment")
call s:MultiHi("gui=underline,italic", "Function")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "MoreMsg", "Title", "Todo")
call s:MultiHi("gui=bold,italic,underline", "Function")
endif
" cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui s:mimic_bigbang_alt s:mimic_bigbang_dark
" vim:noet:sw=24:ts=24:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

101
colors/biogoo.vim Executable file
View File

@ -0,0 +1,101 @@
" Vim color File
" Name: biogoo
" Maintainer: Benjamin Esham <bdesham@gmail.com>
" Last Change: 2011-02-28
" Version: 1.6.2
" Website: https://github.com/bdesham/biogoo
"
" A color scheme for Vim with colorful text on a light gray background.
"
" Installation:
" Copy to ~/.vim/colors; do :color biogoo
"
" Customization Options:
" Use a 'normal' cursor color:
" let g:biogoo_normal_cursor = 1
"
" For a full README and version history, see the website given above.
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "biogoo"
hi Comment guifg=#0000c3
hi ColorColumn guibg=#e0e0e0
hi Constant guifg=#0000ff
hi CursorColumn guibg=#ffffff
hi CursorLine guibg=#ffffff
hi Delimiter guifg=#00007f
hi DiffAdd guifg=#007f00 guibg=#e5e5e5
hi DiffChange guifg=#00007f guibg=#e5e5e5
hi DiffDelete guifg=#7f0000 guibg=#e5e5e5
hi DiffText guifg=#ee0000 guibg=#e5e5e5
hi Directory guifg=#b85d00
hi Error guifg=#d6d6d6 guibg=#7f0000
hi ErrorMsg guifg=#ffffff guibg=#ff0000 gui=bold
hi Float guifg=#b85d00
hi FoldColumn guifg=#00007f guibg=#e5e5e5
hi Folded guifg=#00007f guibg=#e5e5e5
hi Function guifg=#7f0000
hi Identifier guifg=#004000
hi Include guifg=#295498 gui=bold
hi IncSearch guifg=#ffffff guibg=#0000ff gui=bold
hi LineNr guifg=#303030 guibg=#e5e5e5 gui=underline
hi Keyword guifg=#00007f
hi Macro guifg=#295498
hi MatchParen guifg=#ffffff guibg=#00a000
hi ModeMsg guifg=#00007f
hi MoreMsg guifg=#00007f
hi NonText guifg=#007f00
hi Normal guifg=#000000 guibg=#d6d6d6
hi Number guifg=#b85d00
hi Operator guifg=#00007f
hi Pmenu guifg=#000000 guibg=#cc9999
hi PmenuSel guifg=#ffffff guibg=#993333
hi PmenuSbar guibg=#99cc99
hi PmenuThumb guifg=#339933
hi PreCondit guifg=#295498 gui=bold
hi PreProc guifg=#0c3b6b gui=bold
hi Question guifg=#00007f
hi Search guibg=#ffff00
hi Special guifg=#007f00
hi SpecialKey guifg=#00007f
hi SpellBad guifg=#7f0000 guibg=#f0f0f0 gui=undercurl guisp=#7f0000
hi SpellCap guifg=#7f007f guibg=#f0f0f0 gui=undercurl guisp=#7f007f
hi SpellLocal guifg=#007f7f guibg=#f0f0f0 gui=undercurl guisp=#007f7f
hi SpellRare guifg=#b85d00 guibg=#f0f0f0 gui=undercurl guisp=#b85d00
hi Statement guifg=#00007f gui=none
hi StatusLine guifg=#00007f guibg=#ffffff
hi StatusLineNC guifg=#676767 guibg=#ffffff
hi String guifg=#d10000
hi TabLine guifg=#222222 guibg=#d6d6d6
hi TabLineFill guifg=#d6d6d6
hi TabLineSel guifg=#00007f guibg=#eeeeee gui=bold
hi Title guifg=#404040 gui=bold
hi Todo guifg=#00007f guibg=#e5e5e5 gui=underline
hi Type guifg=#540054 gui=bold
hi Underlined guifg=#b85d00
hi VertSplit guifg=#676767 guibg=#ffffff
if version < 700
hi Visual guifg=#7f7f7f guibg=#ffffff
else
hi Visual guifg=#ffffff guibg=#7f7f7f
endif
hi VisualNOS guifg=#007f00 guibg=#e5e5e5
hi WarningMsg guifg=#500000
hi WildMenu guifg=#540054
" Non-standard highlighting (e.g. for plugins)
" vimspell
hi SpellErrors guibg=#f0f0f0 guifg=#7f0000 gui=undercurl guisp=#7f0000
if !exists("g:biogoo_normal_cursor")
" use a gray-on-blue cursor
hi Cursor guifg=#ffffff guibg=#00007f
endif
" vim:noet:ts=4 tw=80 cc=+1

66
colors/blackbeauty.vim Executable file
View File

@ -0,0 +1,66 @@
" Vim color file
" Maintainer: Surya
" Last Change: 12/23/2003 10:32:41 .
" version: 1.0
" This color scheme uses a dark background.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "koehler"
hi Normal guifg=white guibg=black
hi Scrollbar guibg=darkgray guifg=darkgray
hi Menu guifg=black guibg=gray
hi SpecialKey term=bold cterm=bold ctermfg=darkred guifg=Blue
hi NonText term=bold cterm=bold ctermfg=darkred gui=bold guifg=Blue
hi Directory term=bold cterm=bold ctermfg=brown guifg=Blue
hi ErrorMsg term=standout cterm=bold ctermfg=grey ctermbg=blue gui=bold guifg=White guibg=brown
hi Search term=reverse ctermfg=white ctermbg=red gui=bold guifg=#000000 guibg=Magenta
hi MoreMsg term=bold cterm=bold ctermfg=darkgreen gui=bold guifg=SeaGreen
hi ModeMsg term=bold cterm=bold gui=bold guifg=White guibg=Blue
hi LineNr term=underline cterm=bold ctermfg=darkcyan guibg=brown guifg=white
hi Question term=standout cterm=bold ctermfg=darkgreen gui=bold guifg=Green
hi StatusLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guibg=white guifg=brown
hi StatusLineNC term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
hi Title term=bold cterm=bold ctermfg=darkmagenta gui=bold guifg=Magenta
hi Visual term=reverse cterm=reverse gui=reverse
hi WarningMsg term=standout cterm=bold ctermfg=darkblue gui=bold guifg=cyan guibg=Black
hi Cursor guifg=bg guibg=cyan
hi Comment term=bold cterm=bold ctermfg=cyan guifg=#80a0ff
hi Constant term=underline cterm=bold ctermfg=magenta guifg=#ffa0a0
hi String term=underline cterm=bold ctermfg=magenta gui=bold guifg=brown guibg=darkgray
hi Number term=underline cterm=bold ctermfg=magenta guifg=#00ffff
hi Special term=bold gui=bold cterm=bold ctermfg=red guifg=Orange
hi Identifier term=underline ctermfg=brown guifg=#40ffff
hi Statement term=bold cterm=bold ctermfg=yellow gui=bold guifg=#ffff60
hi PreProc term=underline ctermfg=darkblue guifg=#ff80ff
hi Type term=underline cterm=bold ctermfg=lightgreen gui=bold guifg=#60ff60
hi Error gui=bold guifg=Yellow guibg=Black
hi Todo term=standout ctermfg=black ctermbg=darkcyan guifg=Blue guibg=Yellow
"hi VertSplit guifg=#00FFFF guibg=#000000 gui=bold
hi link IncSearch Visual
hi link Character Constant
hi link Boolean Constant
hi link Float Number
hi link Function Identifier
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator 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 Special

37
colors/blacksea.vim Executable file
View File

@ -0,0 +1,37 @@
" Vim color file
" Maintainer: Gerald S. Williams
" Last Change: 2007 Jun 13
" This is a dark version/opposite of "seashell". The cterm version of this is
" very similar to "evening".
"
" Only values that differ from defaults are specified.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "BlackSea"
hi Normal guibg=Black guifg=seashell ctermfg=White
hi NonText guifg=LavenderBlush ctermfg=LightMagenta
hi DiffDelete guibg=DarkRed guifg=Black ctermbg=DarkRed ctermfg=White
hi DiffAdd guibg=DarkGreen ctermbg=DarkGreen ctermfg=White
hi DiffChange guibg=Gray30 ctermbg=DarkCyan ctermfg=White
hi DiffText gui=NONE guibg=DarkCyan ctermbg=DarkCyan ctermfg=Yellow
hi Comment guifg=LightBlue
hi PreProc ctermfg=Magenta
hi StatusLine guibg=#1f001f guifg=DarkSeaGreen cterm=NONE ctermfg=White ctermbg=DarkGreen
hi StatusLineNC guifg=Gray
hi VertSplit guifg=Gray
hi Type gui=NONE
hi Identifier guifg=Cyan
hi Statement guifg=brown3 ctermfg=DarkRed
hi Search guibg=Gold3 ctermfg=White
hi Folded guibg=gray20
hi FoldColumn guibg=gray10
" Original values:
"hi Constant guifg=DeepPink
"hi PreProc guifg=Magenta ctermfg=Magenta

50
colors/bluegreen.vim Executable file
View File

@ -0,0 +1,50 @@
" Vim color file
" Maintainer:
" Last Change:
" URL:
" cool help screens
" :he group-name
" :he highlight-groups
" :he cterm-colors
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="mine"
hi Normal guifg=White guibg=#061A3E
" highlight groups
hi Cursor guibg=#D74141 guifg=#e3e3e3
hi VertSplit guibg=#C0FFFF guifg=#075554 gui=none
hi Folded guibg=#FFC0C0 guifg=black
hi FoldColumn guibg=#800080 guifg=tan
"hi IncSearch cterm=none ctermbg=blue ctermfg=grey guifg=slategrey guibg=khaki
hi ModeMsg guifg=#404040 guibg=#C0C0C0
hi MoreMsg guifg=darkturquoise guibg=#188F90
hi NonText guibg=#334C75 guifg=#9FADC5
hi Question guifg=#F4BB7E
hi Search guibg=fg guifg=bg
hi SpecialKey guifg=#BF9261
hi StatusLine guibg=#004443 guifg=#c0ffff gui=none
hi StatusLineNC guibg=#067C7B guifg=#004443 gui=bold
hi Title guifg=#8DB8C3
hi Visual gui=bold guifg=black guibg=#C0FFC0
hi WarningMsg guifg=#F60000 gui=underline
" syntax highlighting groups
hi Comment guifg=#DABEA2
hi Constant guifg=#72A5E4 gui=bold
hi Identifier guifg=#ADCBF1
hi Statement guifg=#7E75B5
hi PreProc guifg=#14F07C
hi Type guifg=#A9EE8A
hi Special guifg=#EEBABA
hi Ignore guifg=grey60
hi Todo guibg=#9C8C84 guifg=#244C0A
"vim: ts=4

60
colors/borland.vim Executable file
View File

@ -0,0 +1,60 @@
" Vim color file
" Maintainer: Yegappan Lakshmanan
" Last Change: 2001 Sep 9
" Color settings similar to that used in Borland IDE's.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="borland"
hi Normal term=NONE cterm=NONE ctermfg=Yellow ctermbg=DarkBlue
hi Normal gui=NONE guifg=Yellow guibg=DarkBlue
hi NonText term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue
hi NonText gui=NONE guifg=White guibg=DarkBlue
hi Statement term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue
hi Statement gui=NONE guifg=White guibg=DarkBlue
hi Special term=NONE cterm=NONE ctermfg=Cyan ctermbg=DarkBlue
hi Special gui=NONE guifg=Cyan guibg=DarkBlue
hi Constant term=NONE cterm=NONE ctermfg=Magenta ctermbg=DarkBlue
hi Constant gui=NONE guifg=Magenta guibg=DarkBlue
hi Comment term=NONE cterm=NONE ctermfg=Gray ctermbg=DarkBlue
hi Comment gui=NONE guifg=Gray guibg=DarkBlue
hi Preproc term=NONE cterm=NONE ctermfg=Green ctermbg=DarkBlue
hi Preproc gui=NONE guifg=Green guibg=DarkBlue
hi Type term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue
hi Type gui=NONE guifg=White guibg=DarkBlue
hi Identifier term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue
hi Identifier gui=NONE guifg=White guibg=DarkBlue
hi StatusLine term=bold cterm=bold ctermfg=Black ctermbg=White
hi StatusLine gui=bold guifg=Black guibg=White
hi StatusLineNC term=NONE cterm=NONE ctermfg=Black ctermbg=White
hi StatusLineNC gui=NONE guifg=Black guibg=White
hi Visual term=NONE cterm=NONE ctermfg=Black ctermbg=DarkCyan
hi Visual gui=NONE guifg=Black guibg=DarkCyan
hi Search term=NONE cterm=NONE ctermbg=Gray
hi Search gui=NONE guibg=Gray
hi VertSplit term=NONE cterm=NONE ctermfg=Black ctermbg=White
hi VertSplit gui=NONE guifg=Black guibg=White
hi Directory term=NONE cterm=NONE ctermfg=Green ctermbg=DarkBlue
hi Directory gui=NONE guifg=Green guibg=DarkBlue
hi WarningMsg term=standout cterm=NONE ctermfg=Red ctermbg=DarkBlue
hi WarningMsg gui=standout guifg=Red guibg=DarkBlue
hi Error term=NONE cterm=NONE ctermfg=White ctermbg=Red
hi Error gui=NONE guifg=White guibg=Red
hi Cursor ctermfg=Black ctermbg=Yellow
hi Cursor guifg=Black guibg=Yellow

70
colors/breeze.vim Executable file
View File

@ -0,0 +1,70 @@
" Vim color file
" Maintainer: Tiza
" Last Change: 2002/10/30 Wed 00:08.
" version: 1.0
" This color scheme uses a dark background.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "breeze"
hi Normal guifg=#ffffff guibg=#005c70
" Search
hi IncSearch gui=UNDERLINE guifg=#60ffff guibg=#6060ff
hi Search gui=NONE guifg=#ffffff guibg=#6060ff
" Messages
hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ff40a0
hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ff40a0
hi ModeMsg gui=NONE guifg=#60ffff guibg=NONE
hi MoreMsg gui=NONE guifg=#ffc0ff guibg=NONE
hi Question gui=NONE guifg=#ffff60 guibg=NONE
" Split area
hi StatusLine gui=NONE guifg=#000000 guibg=#d0d0e0
hi StatusLineNC gui=NONE guifg=#606080 guibg=#d0d0e0
hi VertSplit gui=NONE guifg=#606080 guibg=#d0d0e0
hi WildMenu gui=NONE guifg=#000000 guibg=#00c8f0
" Diff
hi DiffText gui=UNDERLINE guifg=#ffff00 guibg=#000000
hi DiffChange gui=NONE guifg=#ffffff guibg=#000000
hi DiffDelete gui=NONE guifg=#60ff60 guibg=#000000
hi DiffAdd gui=NONE guifg=#60ff60 guibg=#000000
" Cursor
hi Cursor gui=NONE guifg=#ffffff guibg=#d86020
hi lCursor gui=NONE guifg=#ffffff guibg=#e000b0
hi CursorIM gui=NONE guifg=#ffffff guibg=#e000b0
" Fold
hi Folded gui=NONE guifg=#ffffff guibg=#0088c0
" hi Folded gui=NONE guifg=#ffffff guibg=#2080d0
hi FoldColumn gui=NONE guifg=#60e0e0 guibg=#006c7f
" Other
hi Directory gui=NONE guifg=#00e0ff guibg=NONE
hi LineNr gui=NONE guifg=#60a8bc guibg=NONE
hi NonText gui=BOLD guifg=#00c0c0 guibg=#006276
hi SpecialKey gui=NONE guifg=#e0a0ff guibg=NONE
hi Title gui=BOLD guifg=#ffffff guibg=NONE
hi Visual gui=NONE guifg=#ffffff guibg=#6060d0
" hi VisualNOS gui=NONE guifg=#ffffff guibg=#6060d0
" Syntax group
hi Comment gui=NONE guifg=#c8d0d0 guibg=NONE
hi Constant gui=NONE guifg=#60ffff guibg=NONE
hi Error gui=BOLD guifg=#ffffff guibg=#ff40a0
hi Identifier gui=NONE guifg=#cacaff guibg=NONE
hi Ignore gui=NONE guifg=#006074 guibg=NONE
hi PreProc gui=NONE guifg=#ffc0ff guibg=NONE
hi Special gui=NONE guifg=#ffd074 guibg=NONE
hi Statement gui=NONE guifg=#ffff80 guibg=NONE
hi Todo gui=BOLD,UNDERLINE guifg=#ffb0b0 guibg=NONE
hi Type gui=NONE guifg=#80ffa0 guibg=NONE
hi Underlined gui=UNDERLINE guifg=#ffffff guibg=NONE

83
colors/brookstream.vim Executable file
View File

@ -0,0 +1,83 @@
"--------------------------------------------------------------------
" Name Of File: brookstream.vim.
" Description: Gvim colorscheme, works best with version 6.1 GUI .
" Maintainer: Peter Bäckström.
" Creator: Peter Bäckström.
" URL: http://www.brookstream.org (Swedish).
" Credits: Inspiration from the darkdot scheme.
" Last Change: Friday, April 13, 2003.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="brookstream"
"--------------------------------------------------------------------
hi Normal gui=none guibg=#000000 guifg=#bbbbbb
hi Cursor guibg=#44ff44 guifg=#000000
hi Directory guifg=#44ffff
hi DiffAdd guibg=#080808 guifg=#ffff00
hi DiffDelete guibg=#080808 guifg=#444444
hi DiffChange guibg=#080808 guifg=#ffffff
hi DiffText guibg=#080808 guifg=#bb0000
hi ErrorMsg guibg=#880000 guifg=#ffffff
hi Folded guifg=#000088
hi IncSearch guibg=#000000 guifg=#bbcccc
hi LineNr guibg=#050505 guifg=#4682b4
hi ModeMsg guifg=#ffffff
hi MoreMsg guifg=#44ff44
hi NonText guifg=#4444ff
hi Question guifg=#ffff00
hi SpecialKey guifg=#4444ff
hi StatusLine gui=none guibg=#2f4f4f guifg=#ffffff
hi StatusLineNC gui=none guibg=#bbbbbb guifg=#000000
hi Title guifg=#ffffff
hi Visual gui=none guibg=#bbbbbb guifg=#000000
hi WarningMsg guifg=#ffff00
" syntax highlighting groups ----------------------------------------
hi Comment guifg=#696969
hi Constant guifg=#00aaaa
hi Identifier guifg=#00e5ee
hi Statement guifg=#00ffff
hi PreProc guifg=#8470ff
hi Type guifg=#ffffff
hi Special gui=none guifg=#87cefa
hi Underlined gui=bold guifg=#4444ff
hi Ignore guifg=#444444
hi Error guibg=#000000 guifg=#bb0000
hi Todo guibg=#aa0006 guifg=#fff300
hi Operator gui=none guifg=#00bfff
hi Function guifg=#1e90ff
hi String gui=None guifg=#4682b4
hi Boolean guifg=#9bcd9b
"hi link Character Constant
"hi link Number Constant
"hi link Boolean Constant
"hi link Float Number
"hi link Conditional Statement
"hi link Label Statement
"hi link Keyword Statement
"hi link Exception Statement
"hi link Repeat 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 Delimiter Special
"hi link SpecialComment Special
"hi link Debug Special
"hi link FoldColumn Folded
"- end of colorscheme -----------------------------------------------

59
colors/buttercream.vim Executable file
View File

@ -0,0 +1,59 @@
" Vim color file
" vim: tw=0 ts=8 sw=4
" Scriptname: buttercream
" Maintainer: Håkan Wikström <hakan@prinsig.se>
" Version: 1.1
" Last Change: 20060413
" As of now only gui is supported
" Based on the theme fog theme by Thomas R. Kimpton <tomk@emcity.net>
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "buttercream"
" Highlight Foreground Background Extras
hi Normal guifg=#213a58 guibg=#ffffde
hi NonText guifg=LightBlue guibg=#eee9bf gui=bold
hi Comment guifg=#2f8e99
hi Constant guifg=#7070a0
hi Statement guifg=DarkGreen gui=bold
hi identifier guifg=DarkGreen
hi preproc guifg=#408040
hi type guifg=DarkBlue
hi label guifg=#c06000
hi operator guifg=DarkGreen gui=bold
hi StorageClass guifg=#a02060 gui=bold
hi Number guifg=Blue
hi Special guifg=#aa8822
hi Cursor guifg=LightGrey guibg=#880088
hi lCursor guifg=Black guibg=Cyan
hi ErrorMsg guifg=White guibg=DarkRed
hi DiffText guibg=DarkRed gui=bold
hi Directory guifg=DarkGrey gui=underline
hi LineNr guifg=#ccaa22
hi MoreMsg guifg=SeaGreen gui=bold
hi Question guifg=DarkGreen gui=bold
hi Search guifg=Black guibg=#887722
hi SpecialKey guifg=Blue
hi SpecialChar guifg=DarkGrey gui=bold
hi Title guifg=DarkMagenta gui=underline
hi WarningMsg guifg=DarkBlue guibg=#9999cc
hi WildMenu guifg=Black guibg=Yellow gui=underline
hi Folded guifg=DarkBlue guibg=LightGrey
hi FoldColumn guifg=DarkBLue guibg=Grey
hi DiffAdd guibg=DarkBlue
hi DiffChange guibg=DarkMagenta
hi DiffDelete guifg=Blue guibg=DarkCyan gui=bold
hi Ignore guifg=grey90
hi IncSearch gui=reverse
hi ModeMsg gui=bold
hi StatusLine gui=reverse,bold
hi StatusLineNC gui=reverse
hi VertSplit gui=reverse
hi Visual guifg=LightGrey gui=reverse
hi VisualNOS gui=underline,bold
hi Todo guibg=#ccaa22 gui=bold,underline

247
colors/calmar256-dark.vim Executable file
View File

@ -0,0 +1,247 @@
" Vim color file: calmar256-dark.vim
" Last Change: 21. Aug 2007
" License: public domain
" Maintainer:: calmar <mac@calmar.ws>
"
" for a 256 color capable terminal like xterm-256color, ... or gvim as well
" "{{{
" it only works in such a terminal and when you have:
" set t_Co=256
" in your vimrc"}}}
" {{{ t_Co=256 is set - check
if &t_Co != 256 && ! has("gui_running")
echomsg ""
echomsg "write 'set t_Co=256' in your .vimrc or this file won't load"
echomsg ""
finish
endif
" }}}
" {{{ reset colors and set colors_name and store cpo setting
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "calmar256-dark"
let s:save_cpo = &cpo
set cpo&vim
" }}}
" FORMAT:"{{{
"
" \ ["color-group", "term-style", "foreground-color", "background-color", "gui-style", "under-curl-color" ],
"
" 'term-style'/'gui-style' can be:
" bold, underline, undercurl, reverse, inverse, italic, standout, NONE
"
" if gui-style is empty, the term-style value is used for the gui
"
" (Note: not everything is supported by a terminal nor the gui)
"
" besides empty values defaults to 'NONE"
"
" may also check: :help highlight-groups
" :help hl-<highlight-group> "
"
" for the Color numbers (0-255) for the foreground/background and under-curl-colors:
" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
"}}}
"============================================================
" EDIT/ADD your style/colors below
"------------------------------------------------------------
" Format: \ ["color-group",
" "term-style",
" "foreground-color",
" "background-color",
" "gui-style",
" "under-curl-color" ],
let s:colors256 = [
\ ["Normal", "", "41", "232", "", "" ],
\ ["Cursor", "", "255", "33", "", "" ],
\ ["CursorLine", "", "", "233", "", "" ],
\ ["CursorColumn", "", "", "223", "", "" ],
\ ["Incsearch", "bold", "195", "124", "", "" ],
\ ["Search", "", "", "52", "", "" ],
\ ["ErrorMsg", "bold", "16", "202", "", "" ],
\ ["WarningMsg", "bold", "16", "190", "", "" ],
\ ["ModeMsg", "bold", "226", "18", "", "" ],
\ ["MoreMsg", "bold", "16", "154", "", "" ],
\ ["Question", "bold", "70", "", "", "" ],
\ ["StatusLine", "", "190", "22", "", "" ],
\ ["StatusLineNC", "", "84", "234", "", "" ],
\ ["User1", "bold", "28", "", "", "" ],
\ ["User2", "bold", "39", "", "", "" ],
\ ["VertSplit", "", "84", "22", "", "" ],
\ ["WildMenu", "bold", "87", "35", "", "" ],
\ ["DiffText", "", "16", "190", "", "" ],
\ ["DiffChange", "", "18", "83", "", "" ],
\ ["DiffDelete", "", "79", "124", "", "" ],
\ ["DiffAdd", "", "79", "21", "", "" ],
\ ["Folded", "bold", "38", "234", "", "" ],
\ ["FoldedColumn", "", "39", "190", "", "" ],
\ ["FoldColumn", "", "38", "234", "", "" ],
\ ["Directory", "", "28", "", "", "" ],
\ ["LineNr", "", "28", "16", "", "" ],
\ ["NonText", "", "244", "16", "", "" ],
\ ["SpecialKey", "", "190", "", "", "" ],
\ ["Title", "bold", "98", "", "", "" ],
\ ["Visual", "", "", "238", "", "" ],
\ ["Comment", "", "37", "", "", "" ],
\ ["Costant", "", "73", "", "", "" ],
\ ["String", "", "190", "", "", "" ],
\ ["Error", "", "69", "", "", "" ],
\ ["Identifier", "", "81", "", "", "" ],
\ ["Ignore", "", "", "", "", "" ],
\ ["Number", "bold", "50", "", "", "" ],
\ ["PreProc", "", "178", "", "", "" ],
\ ["Special", "", "15", "234", "", "" ],
\ ["SpecialChar", "", "155", "", "", "" ],
\ ["Statement", "", "36", "", "", "" ],
\ ["Todo", "bold", "16", "148", "", "" ],
\ ["Type", "", "71", "", "", "" ],
\ ["Underlined", "bold", "77", "", "", "" ],
\ ["TaglistTagName","bold", "48", "124", "", "" ]]
let s:colorvim7 = [
\ ["Pmenu", "", "228", "236", "", "" ],
\ ["PmenuSel", "bold", "226", "232", "", "" ],
\ ["PmenuSbar", "", "119", "16", "", "" ],
\ ["PmenuThumb", "", "11", "16", "", "" ],
\ ["SpellBad", "underline", "","", "undercurl","160"],
\ ["SpellRare", "", "82", "233", "", "" ],
\ ["SpellLocal", "", "227", "234", "", "" ],
\ ["SpellCap", "", "46", "236", "", "" ],
\ ["MatchParen", "bold", "15", "22", "", "" ],
\ ["TabLine", "", "253", "30", "", "" ],
\ ["TabLineSel", "bold", "247", "16", "", "" ],
\ ["TabLineFill", "", "247", "16", "", "" ]]
"============================================================
" * NO NEED * to edit below (unless bugfixing)
"============================================================
"
" {{{ change empty fields to "NONE"
for s:col in s:colors256
for i in [1, 2, 3, 4, 5]
if s:col[i] == ""
let s:col[i] = "NONE"
endif
endfor
endfor
for s:col in s:colorvim7
for i in [1, 2, 3, 4, 5]
if s:col[i] == ""
let s:col[i] = "NONE"
endif
endfor
endfor
" }}}
" {{{ check args helper function
function! s:checkargs(arg)
if a:arg+0 == 0 && a:arg != "0" "its a string
return a:arg
else
return s:cmap[a:arg+0] "get rgb color based on the number
endif
endfunction
" }}}
" {{{ guisetcolor helper function
"
function! s:guisetcolor(colarg)
" if gui-style is empty use (c)term-style also for gui
if a:colarg[4] == ""
let guival = a:colarg[1]
else
let guival = a:colarg[4]
endif
let fg = s:checkargs(a:colarg[2])
let bg = s:checkargs(a:colarg[3])
let sp = s:checkargs(a:colarg[5])
exec "hi ".a:colarg[0]." gui=".guival." guifg=".fg." guibg=".bg." guisp=".sp
endfunction
" }}}
" {{{ color setup for terminal
if ! has("gui_running")
for s:col in s:colors256
exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3]
endfor
if v:version >= 700
for s:col in s:colorvim7
exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3]
endfor
endif
else
" }}}
" color-mapping array {{{
" number of vim colors and #html colors equivalent for gui
let s:cmap = [
\ "#000000", "#800000", "#008000", "#808000",
\ "#000080", "#800080", "#008080", "#c0c0c0",
\ "#808080", "#ff0000", "#00ff00", "#ffff00",
\ "#0000ff", "#ff00ff", "#00ffff", "#ffffff",
\
\ "#000000", "#00005f", "#000087", "#0000af", "#0000d7", "#0000ff",
\ "#005f00", "#005f5f", "#005f87", "#005faf", "#005fd7", "#005fff",
\ "#008700", "#00875f", "#008787", "#0087af", "#0087d7", "#0087ff",
\ "#00af00", "#00af5f", "#00af87", "#00afaf", "#00afd7", "#00afff",
\ "#00d700", "#00d75f", "#00d787", "#00d7af", "#00d7d7", "#00d7ff",
\ "#00ff00", "#00ff5f", "#00ff87", "#00ffaf", "#00ffd7", "#00ffff",
\ "#5f0000", "#5f005f", "#5f0087", "#5f00af", "#5f00d7", "#5f00ff",
\ "#5f5f00", "#5f5f5f", "#5f5f87", "#5f5faf", "#5f5fd7", "#5f5fff",
\ "#5f8700", "#5f875f", "#5f8787", "#5f87af", "#5f87d7", "#5f87ff",
\ "#5faf00", "#5faf5f", "#5faf87", "#5fafaf", "#5fafd7", "#5fafff",
\ "#5fd700", "#5fd75f", "#5fd787", "#5fd7af", "#5fd7d7", "#5fd7ff",
\ "#5fff00", "#5fff5f", "#5fff87", "#5fffaf", "#5fffd7", "#5fffff",
\ "#870000", "#87005f", "#870087", "#8700af", "#8700d7", "#8700ff",
\ "#875f00", "#875f5f", "#875f87", "#875faf", "#875fd7", "#875fff",
\ "#878700", "#87875f", "#878787", "#8787af", "#8787d7", "#8787ff",
\ "#87af00", "#87af5f", "#87af87", "#87afaf", "#87afd7", "#87afff",
\ "#87d700", "#87d75f", "#87d787", "#87d7af", "#87d7d7", "#87d7ff",
\ "#87ff00", "#87ff5f", "#87ff87", "#87ffaf", "#87ffd7", "#87ffff",
\ "#af0000", "#af005f", "#af0087", "#af00af", "#af00d7", "#af00ff",
\ "#af5f00", "#af5f5f", "#af5f87", "#af5faf", "#af5fd7", "#af5fff",
\ "#af8700", "#af875f", "#af8787", "#af87af", "#af87d7", "#af87ff",
\ "#afaf00", "#afaf5f", "#afaf87", "#afafaf", "#afafd7", "#afafff",
\ "#afd700", "#afd75f", "#afd787", "#afd7af", "#afd7d7", "#afd7ff",
\ "#afff00", "#afff5f", "#afff87", "#afffaf", "#afffd7", "#afffff",
\ "#d70000", "#d7005f", "#d70087", "#d700af", "#d700d7", "#d700ff",
\ "#d75f00", "#d75f5f", "#d75f87", "#d75faf", "#d75fd7", "#d75fff",
\ "#d78700", "#d7875f", "#d78787", "#d787af", "#d787d7", "#d787ff",
\ "#d7af00", "#d7af5f", "#d7af87", "#d7afaf", "#d7afd7", "#d7afff",
\ "#d7d700", "#d7d75f", "#d7d787", "#d7d7af", "#d7d7d7", "#d7d7ff",
\ "#d7ff00", "#d7ff5f", "#d7ff87", "#d7ffaf", "#d7ffd7", "#d7ffff",
\ "#ff0000", "#ff005f", "#ff0087", "#ff00af", "#ff00d7", "#ff00ff",
\ "#ff5f00", "#ff5f5f", "#ff5f87", "#ff5faf", "#ff5fd7", "#ff5fff",
\ "#ff8700", "#ff875f", "#ff8787", "#ff87af", "#ff87d7", "#ff87ff",
\ "#ffaf00", "#ffaf5f", "#ffaf87", "#ffafaf", "#ffafd7", "#ffafff",
\ "#ffd700", "#ffd75f", "#ffd787", "#ffd7af", "#ffd7d7", "#ffd7ff",
\ "#ffff00", "#ffff5f", "#ffff87", "#ffffaf", "#ffffd7", "#ffffff",
\
\ "#080808", "#121212", "#1c1c1c", "#262626", "#303030", "#3a3a3a",
\ "#444444", "#4e4e4e", "#585858", "#606060", "#666666", "#767676",
\ "#808080", "#8a8a8a", "#949494", "#9e9e9e", "#a8a8a8", "#b2b2b2",
\ "#bcbcbc", "#c6c6c6", "#d0d0d0", "#dadada", "#e4e4e4", "#eeeeee" ]
" }}}
" {{{ color setup for gvim
for s:col in s:colors256
call s:guisetcolor(s:col)
endfor
if v:version >= 700
for s:col in s:colorvim7
call s:guisetcolor(s:col)
endfor
endif
endif
" }}}
let &cpo = s:save_cpo " restoring &cpo value
" vim: set fdm=marker fileformat=unix:

247
colors/calmar256-light.vim Executable file
View File

@ -0,0 +1,247 @@
" Vim color file: calmar256-dark.vim
" Last Change: 21. Aug 2007
" License: public domain
" Maintainer:: calmar <mac@calmar.ws>
"
" for a 256 color capable terminal like xterm-256color, ... or gvim as well
" "{{{
" it only works in such a terminal and when you have:
" set t_Co=256
" in your vimrc"}}}
" {{{ t_Co=256 is set - check
if &t_Co != 256 && ! has("gui_running")
echomsg ""
echomsg "write 'set t_Co=256' in your .vimrc or this file won't load"
echomsg ""
finish
endif
" }}}
" {{{ reset colors and set colors_name and store cpo setting
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "calmar256-light"
let s:save_cpo = &cpo
set cpo&vim
" }}}
" FORMAT:"{{{
"
" \ ["color-group", "term-style", "foreground-color", "background-color", "gui-style", "under-curl-color" ],
"
" 'term-style'/'gui-style' can be:
" bold, underline, undercurl, reverse, inverse, italic, standout, NONE
"
" if gui-style is empty, the term-style value is used for the gui
"
" (Note: not everything is supported by a terminal nor the gui)
"
" besides empty values defaults to 'NONE"
"
" may also check: :help highlight-groups
" :help hl-<highlight-group> "
"
" for the Color numbers (0-255) for the foreground/background and under-curl-colors:
" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
"}}}
"============================================================
" EDIT/ADD your style/colors below
"------------------------------------------------------------
" Format: \ ["color-group",
" "term-style",
" "foreground-color",
" "background-color",
" "gui-style",
" "under-curl-color" ],
let s:colors256 = [
\ ["Normal", "", "17", "230", "", "" ],
\ ["Cursor", "", "", "226", "", "" ],
\ ["CursorLine", "", "", "222", "", "" ],
\ ["CursorColumn", "", "", "223", "", "" ],
\ ["Incsearch", "bold", "195", "28", "", "" ],
\ ["Search", "", "", "119", "", "" ],
\ ["ErrorMsg", "bold", "16", "202", "", "" ],
\ ["WarningMsg", "bold", "16", "190", "", "" ],
\ ["ModeMsg", "bold", "16", "51", "", "" ],
\ ["MoreMsg", "bold", "16", "154", "", "" ],
\ ["Question", "bold", "27", "", "", "" ],
\ ["StatusLine", "", "231", "30", "", "" ],
\ ["StatusLineNC", "", "20", "250", "", "" ],
\ ["User1", "bold", "28", "", "", "" ],
\ ["User2", "bold", "39", "", "", "" ],
\ ["VertSplit", "", "84", "22", "", "" ],
\ ["WildMenu", "bold", "87", "35", "", "" ],
\ ["DiffText", "", "16", "190", "", "" ],
\ ["DiffChange", "", "16", "83", "", "" ],
\ ["DiffDelete", "", "79", "124", "", "" ],
\ ["DiffAdd", "", "79", "21", "", "" ],
\ ["Folded", "bold", "19", "115", "", "" ],
\ ["FoldedColumn", "", "39", "190", "", "" ],
\ ["FoldColumn", "", "19", "115", "", "" ],
\ ["Directory", "", "28", "", "", "" ],
\ ["LineNr", "", "63", "228", "", "" ],
\ ["NonText", "", "243", "229", "", "" ],
\ ["SpecialKey", "", "190", "", "", "" ],
\ ["Title", "bold", "18", "", "", "" ],
\ ["Visual", "", "", "220", "", "" ],
\ ["Comment", "", "21", "255", "", "" ],
\ ["Costant", "", "58", "", "", "" ],
\ ["String", "", "160", "", "", "" ],
\ ["Error", "", "130", "", "", "" ],
\ ["Identifier", "", "31", "", "", "" ],
\ ["Ignore", "", "", "", "", "" ],
\ ["Number", "bold", "23", "", "", "" ],
\ ["PreProc", "", "26", "255", "", "" ],
\ ["Special", "", "", "229", "", "" ],
\ ["SpecialChar", "", "22", "", "", "" ],
\ ["Statement", "", "36", "", "", "" ],
\ ["Todo", "", "", "229", "", "" ],
\ ["Type", "", "20", "", "", "" ],
\ ["Underlined", "bold", "25", "", "", "" ],
\ ["TaglistTagName","bold", "29", "118", "", "" ]]
let s:colorvim7 = [
\ ["Pmenu", "", "229", "29", "", "" ],
\ ["PmenuSel", "bold", "232", "226", "", "" ],
\ ["PmenuSbar", "", "16", "119", "", "" ],
\ ["PmenuThumb", "", "16", "11", "", "" ],
\ ["SpellBad", "undercurl", "","", "undercurl","160" ],
\ ["SpellRare", "", "", "228", "", "" ],
\ ["SpellLocal", "", "", "224", "", "" ],
\ ["SpellCap", "", "", "247", "", "" ],
\ ["MatchParen", "bold", "15", "22", "", "" ],
\ ["TabLine", "", "252", "22", "", "" ],
\ ["TabLineSel", "bold", "253", "30", "", "" ],
\ ["TabLineFill", "", "247", "16", "", "" ]]
"============================================================
" * NO NEED * to edit below (unless bugfixing)
"============================================================
"
" {{{ change empty fields to "NONE"
for s:col in s:colors256
for i in [1, 2, 3, 4, 5]
if s:col[i] == ""
let s:col[i] = "NONE"
endif
endfor
endfor
for s:col in s:colorvim7
for i in [1, 2, 3, 4, 5]
if s:col[i] == ""
let s:col[i] = "NONE"
endif
endfor
endfor
" }}}
" {{{ check args helper function
function! s:checkargs(arg)
if a:arg+0 == 0 && a:arg != "0" "its a string
return a:arg
else
return s:cmap[a:arg+0] "get rgb color based on the number
endif
endfunction
" }}}
" {{{ guisetcolor helper function
"
function! s:guisetcolor(colarg)
" if gui-style is empty use (c)term-style also for gui
if a:colarg[4] == ""
let guival = a:colarg[1]
else
let guival = a:colarg[4]
endif
let fg = s:checkargs(a:colarg[2])
let bg = s:checkargs(a:colarg[3])
let sp = s:checkargs(a:colarg[5])
exec "hi ".a:colarg[0]." gui=".guival." guifg=".fg." guibg=".bg." guisp=".sp
endfunction
" }}}
" {{{ color setup for terminal
if ! has("gui_running")
for s:col in s:colors256
exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3]
endfor
if v:version >= 700
for s:col in s:colorvim7
exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3]
endfor
endif
else
" }}}
" color-mapping array {{{
" number of vim colors and #html colors equivalent for gui
let s:cmap = [
\ "#000000", "#800000", "#008000", "#808000",
\ "#000080", "#800080", "#008080", "#c0c0c0",
\ "#808080", "#ff0000", "#00ff00", "#ffff00",
\ "#0000ff", "#ff00ff", "#00ffff", "#ffffff",
\
\ "#000000", "#00005f", "#000087", "#0000af", "#0000d7", "#0000ff",
\ "#005f00", "#005f5f", "#005f87", "#005faf", "#005fd7", "#005fff",
\ "#008700", "#00875f", "#008787", "#0087af", "#0087d7", "#0087ff",
\ "#00af00", "#00af5f", "#00af87", "#00afaf", "#00afd7", "#00afff",
\ "#00d700", "#00d75f", "#00d787", "#00d7af", "#00d7d7", "#00d7ff",
\ "#00ff00", "#00ff5f", "#00ff87", "#00ffaf", "#00ffd7", "#00ffff",
\ "#5f0000", "#5f005f", "#5f0087", "#5f00af", "#5f00d7", "#5f00ff",
\ "#5f5f00", "#5f5f5f", "#5f5f87", "#5f5faf", "#5f5fd7", "#5f5fff",
\ "#5f8700", "#5f875f", "#5f8787", "#5f87af", "#5f87d7", "#5f87ff",
\ "#5faf00", "#5faf5f", "#5faf87", "#5fafaf", "#5fafd7", "#5fafff",
\ "#5fd700", "#5fd75f", "#5fd787", "#5fd7af", "#5fd7d7", "#5fd7ff",
\ "#5fff00", "#5fff5f", "#5fff87", "#5fffaf", "#5fffd7", "#5fffff",
\ "#870000", "#87005f", "#870087", "#8700af", "#8700d7", "#8700ff",
\ "#875f00", "#875f5f", "#875f87", "#875faf", "#875fd7", "#875fff",
\ "#878700", "#87875f", "#878787", "#8787af", "#8787d7", "#8787ff",
\ "#87af00", "#87af5f", "#87af87", "#87afaf", "#87afd7", "#87afff",
\ "#87d700", "#87d75f", "#87d787", "#87d7af", "#87d7d7", "#87d7ff",
\ "#87ff00", "#87ff5f", "#87ff87", "#87ffaf", "#87ffd7", "#87ffff",
\ "#af0000", "#af005f", "#af0087", "#af00af", "#af00d7", "#af00ff",
\ "#af5f00", "#af5f5f", "#af5f87", "#af5faf", "#af5fd7", "#af5fff",
\ "#af8700", "#af875f", "#af8787", "#af87af", "#af87d7", "#af87ff",
\ "#afaf00", "#afaf5f", "#afaf87", "#afafaf", "#afafd7", "#afafff",
\ "#afd700", "#afd75f", "#afd787", "#afd7af", "#afd7d7", "#afd7ff",
\ "#afff00", "#afff5f", "#afff87", "#afffaf", "#afffd7", "#afffff",
\ "#d70000", "#d7005f", "#d70087", "#d700af", "#d700d7", "#d700ff",
\ "#d75f00", "#d75f5f", "#d75f87", "#d75faf", "#d75fd7", "#d75fff",
\ "#d78700", "#d7875f", "#d78787", "#d787af", "#d787d7", "#d787ff",
\ "#d7af00", "#d7af5f", "#d7af87", "#d7afaf", "#d7afd7", "#d7afff",
\ "#d7d700", "#d7d75f", "#d7d787", "#d7d7af", "#d7d7d7", "#d7d7ff",
\ "#d7ff00", "#d7ff5f", "#d7ff87", "#d7ffaf", "#d7ffd7", "#d7ffff",
\ "#ff0000", "#ff005f", "#ff0087", "#ff00af", "#ff00d7", "#ff00ff",
\ "#ff5f00", "#ff5f5f", "#ff5f87", "#ff5faf", "#ff5fd7", "#ff5fff",
\ "#ff8700", "#ff875f", "#ff8787", "#ff87af", "#ff87d7", "#ff87ff",
\ "#ffaf00", "#ffaf5f", "#ffaf87", "#ffafaf", "#ffafd7", "#ffafff",
\ "#ffd700", "#ffd75f", "#ffd787", "#ffd7af", "#ffd7d7", "#ffd7ff",
\ "#ffff00", "#ffff5f", "#ffff87", "#ffffaf", "#ffffd7", "#ffffff",
\
\ "#080808", "#121212", "#1c1c1c", "#262626", "#303030", "#3a3a3a",
\ "#444444", "#4e4e4e", "#585858", "#606060", "#666666", "#767676",
\ "#808080", "#8a8a8a", "#949494", "#9e9e9e", "#a8a8a8", "#b2b2b2",
\ "#bcbcbc", "#c6c6c6", "#d0d0d0", "#dadada", "#e4e4e4", "#eeeeee" ]
" }}}
" {{{ color setup for gvim
for s:col in s:colors256
call s:guisetcolor(s:col)
endfor
if v:version >= 700
for s:col in s:colorvim7
call s:guisetcolor(s:col)
endfor
endif
endif
" }}}
let &cpo = s:save_cpo " restoring &cpo value
" vim: set fdm=marker fileformat=unix:

71
colors/calmbreeze.vim Executable file
View File

@ -0,0 +1,71 @@
" Vim colorscheme
" Name: Calm Breeze
" Maintainer: Jonas M Luster <j@d8c.us>
" Last Change: 2011-8-7
" Version: 1.0
" Notes: A calming breeze in the heat of code
hi clear
set background=light
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "calmbreeze"
"---GUI settings
hi Default guifg=#000000 guibg=#FFFCE5
hi SpecialKey guifg=#000000 guibg=#FFFCE5
hi NonText guifg=#969696 guibg=#FFFCE5 gui=none
hi Directory guifg=#78681a
hi ErrorMsg guifg=#ffffff guibg=#a01010
hi IncSearch guifg=#ff0000 guibg=#C3DCFF gui=none
hi Search guifg=#ff0000 guibg=#C3DCFF
hi MoreMsg guifg=#ffffff guibg=#3c960f gui=none
hi ModeMsg guifg=#323232 gui=none
hi LineNr guifg=#008C00 guibg=#F9F7ED
hi Question guifg=#000000 guibg=#ffde37 gui=none
hi StatusLine guifg=#ffffff guibg=#323232 gui=none
hi StatusLineNC guifg=#f0f0f0 guibg=#646464 gui=none
hi VertSplit guifg=#f0f0f0 guibg=#646464 gui=none
hi Title guifg=#323232 gui=none
hi Visual guifg=#ffffff guibg=#0000AA
hi VisualNOS guifg=#ffffff guibg=#0000AA gui=none
hi WarningMsg guifg=#c8c8c8 guibg=#a01010
hi WildMenu guifg=#ffffff guibg=#1994d1
hi Folded guifg=#969696 guibg=#f0f0f0
hi FoldColumn guifg=#969696 guibg=#f0f0f0
hi DiffAdd guibg=#deffcd
hi DiffChange guibg=#dad7ff
hi DiffDelete guifg=#c8c8c8 guibg=#ffffff gui=none
hi DiffText guifg=#ffffff guibg=#767396 gui=none
hi SignColumn guifg=#969696 guibg=#f0f0f0
hi SpellBad guifg=#000000 guibg=#fff5c3 guisp=#f01818 gui=undercurl
hi SpellCap guifg=#000000 guibg=#fff5c3 guisp=#14b9c8 gui=undercurl
hi SpellRare guifg=#000000 guibg=#fff5c3 guisp=#4cbe13 gui=undercurl
hi SpellLocal guifg=#000000 guibg=#fff5c3 guisp=#000000 gui=undercurl
hi Pmenu guifg=#000000 guibg=#ececec
hi PmenuSel guifg=#ffffff guibg=#006699
hi PmenuSbar guifg=#323232 guibg=#323232
hi PmenuThumb guifg=#646464 guibg=#646464 gui=none
hi TabLine guifg=#f0f0f0 guibg=#646464 gui=none
hi TabLineSel guifg=#ffffff guibg=#323232 gui=none
hi TabLineFill guifg=#646464 guibg=#646464 gui=none
hi CursorColumn guibg=#e1f5ff
hi CursorLine guibg=#FFFCD4 gui=none cterm=none term=none
hi Cursor guifg=#ffffff guibg=#323232
hi lCursor guifg=#ffffff guibg=#004364
hi MatchParen guifg=#3F4C6B guibg=#D15600
hi Normal guifg=#323232 guibg=#FFFCE5
hi Comment guifg=#969696
hi Constant guifg=#1094a0
hi Special guifg=#dc6816
hi Identifier guifg=#3c960f
hi Statement guifg=#3b6ac8 gui=none
hi PreProc guifg=#294a8c
hi Type guifg=#a00050 gui=none
hi Underlined guifg=#323232 gui=underline
hi Ignore guifg=#c8c8c8
hi Error guifg=#000000 guibg=#D01F3C gui=underline
hi Todo guifg=#c81414 guibg=#ffffff

76
colors/camo.vim Executable file
View File

@ -0,0 +1,76 @@
" Vim color file
" Maintainer: Tim Aldrich <aldy0169@yahoo.com>
" Last Change: 19 January 2002
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="camo"
hi Normal guifg=bisque guibg=grey15
hi Cursor guifg=snow guibg=bisque3
hi CursorIM guifg=OliveDrab4 guibg=bisque
hi Directory guifg=OliveDrab4 guibg=grey15
hi DiffAdd guifg=DarkOliveGreen1 guibg=grey15
hi DiffChange guifg=PaleGreen guibg=grey15
hi DiffDelete guifg=red guibg=grey15
hi DiffText guifg=grey15 guibg=red
hi ErrorMsg guifg=snow guibg=red
hi VertSplit guifg=bisque4 guibg=DarkOliveGreen1
hi Folded guifg=DarkOliveGreen2 guibg=grey30
hi FoldColumn guifg=DarkOliveGreen2 guibg=grey30
hi IncSearch guifg=bisque guibg=red
hi LineNr guifg=OliveDrab4 guibg=grey15
hi ModeMsg guifg=khaki3 guibg=grey15
hi MoreMsg guifg=khaki3 guibg=grey15
hi NonText guifg=DarkSalmon guibg=grey10
hi Question guifg=IndianRed guibg=grey10
hi Search guifg=DarkSalmon guibg=grey15
hi SpecialKey guifg=yellow guibg=grey15
hi StatusLine guifg=bisque4 guibg=DarkOliveGreen1
hi StatusLineNC guifg=bisque4 guibg=DarkOliveGreen3
hi Title guifg=IndianRed guibg=grey15
hi Visual guifg=OliveDrab4 guibg=bisque1
hi WarningMsg guifg=bisque guibg=red
hi WildMenu guifg=LightBlue guibg=DarkViolet
"Syntax hilight groups
hi Comment guifg=tan
hi Constant guifg=khaki
hi String guifg=moccasin
hi Character guifg=chocolate
hi Number guifg=chocolate
hi Boolean guifg=OliveDrab3
hi Float guifg=chocolate
hi Identifier guifg=khaki4
hi Function guifg=OliveDrab4
hi Statement guifg=khaki
hi Conditional guifg=khaki
hi Repeat guifg=khaki
hi Label guifg=khaki
hi Operator guifg=DarkKhaki
hi Keyword guifg=DarkKhaki
hi Exception guifg=khaki
hi PreProc guifg=khaki4
hi Include guifg=khaki4
hi Define guifg=khaki1
hi Macro guifg=khaki2
hi PreCondit guifg=khaki3
hi Type guifg=khaki3
hi StorageClass guifg=tan
hi Structure guifg=DarkGoldenrod
hi Typedef guifg=khaki3
hi Special guifg=IndianRed
hi SpecialChar guifg=DarkGoldenrod
hi Tag guifg=DarkKhaki
hi Delimiter guifg=DarkGoldenrod
hi SpecialComment guifg=cornsilk
hi Debug guifg=brown
hi Underlined guifg=IndianRed
hi Ignore guifg=grey30
hi Error guifg=bisque guibg=red
hi Todo guifg=red guibg=bisque

78
colors/candy.vim Executable file
View File

@ -0,0 +1,78 @@
" Vim color file
" Maintainer: Tiza
" Last Change: 2002/04/28 Sun 19:35.
" version: 1.0
" This color scheme uses a dark background.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "candy"
hi Normal guifg=#f0f0f8 guibg=#000000
" Search
hi IncSearch gui=UNDERLINE guifg=#80ffff guibg=#0060c0
hi Search gui=NONE guifg=#f0f0f8 guibg=#0060c0
" Messages
hi ErrorMsg gui=BOLD guifg=#ffa0ff guibg=NONE
hi WarningMsg gui=BOLD guifg=#ffa0ff guibg=NONE
hi ModeMsg gui=BOLD guifg=#40f0d0 guibg=NONE
hi MoreMsg gui=BOLD guifg=#00ffff guibg=#008070
hi Question gui=BOLD guifg=#e8e800 guibg=NONE
" Split area
hi StatusLine gui=NONE guifg=#000000 guibg=#c8c8d8
hi StatusLineNC gui=NONE guifg=#707080 guibg=#c8c8d8
hi VertSplit gui=NONE guifg=#606080 guibg=#c8c8d8
hi WildMenu gui=NONE guifg=#000000 guibg=#a0a0ff
" Diff
hi DiffText gui=NONE guifg=#ff78f0 guibg=#a02860
hi DiffChange gui=NONE guifg=#e03870 guibg=#601830
hi DiffDelete gui=NONE guifg=#a0d0ff guibg=#0020a0
hi DiffAdd gui=NONE guifg=#a0d0ff guibg=#0020a0
" Cursor
hi Cursor gui=NONE guifg=#00ffff guibg=#008070
hi lCursor gui=NONE guifg=#ffffff guibg=#8800ff
hi CursorIM gui=NONE guifg=#ffffff guibg=#8800ff
" Fold
hi Folded gui=NONE guifg=#40f0f0 guibg=#005080
hi FoldColumn gui=NONE guifg=#40c0ff guibg=#00305c
" Other
hi Directory gui=NONE guifg=#40f0d0 guibg=NONE
hi LineNr gui=NONE guifg=#9090a0 guibg=NONE
hi NonText gui=BOLD guifg=#4080ff guibg=NONE
hi SpecialKey gui=BOLD guifg=#8080ff guibg=NONE
hi Title gui=BOLD guifg=#f0f0f8 guibg=NONE
hi Visual gui=NONE guifg=#e0e0f0 guibg=#707080
" Syntax group
hi Comment gui=NONE guifg=#c0c0d0 guibg=NONE
hi Constant gui=NONE guifg=#90d0ff guibg=NONE
hi Error gui=BOLD guifg=#ffffff guibg=#ff0088
hi Identifier gui=NONE guifg=#40f0f0 guibg=NONE
hi Ignore gui=NONE guifg=#000000 guibg=NONE
hi PreProc gui=NONE guifg=#40f0a0 guibg=NONE
hi Special gui=NONE guifg=#e0e080 guibg=NONE
hi Statement gui=NONE guifg=#ffa0ff guibg=NONE
hi Todo gui=BOLD,UNDERLINE guifg=#ffa0a0 guibg=NONE
hi Type gui=NONE guifg=#ffc864 guibg=NONE
hi Underlined gui=UNDERLINE guifg=#f0f0f8 guibg=NONE
" HTML
hi htmlLink gui=UNDERLINE
hi htmlBold gui=BOLD
hi htmlBoldItalic gui=BOLD,ITALIC
hi htmlBoldUnderline gui=BOLD,UNDERLINE
hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC
hi htmlItalic gui=ITALIC
hi htmlUnderline gui=UNDERLINE
hi htmlUnderlineItalic gui=UNDERLINE,ITALIC

174
colors/candycode.vim Executable file
View File

@ -0,0 +1,174 @@
" Vim color file -- candycode
" Maintainer: Justin Constantino <goflyapig-at-gmail-com>
" Last Change: 2006 Aug 12
set background=dark
highlight clear
let g:colors_name="candycode"
let save_cpo = &cpo
set cpo&vim
" basic highlight groups (:help highlight-groups) {{{
" text {{{
hi Normal guifg=#ffffff guibg=#050505 gui=NONE
\ ctermfg=white ctermbg=black cterm=NONE
hi Folded guifg=#c2bfa5 guibg=#050505 gui=underline
\ ctermfg=lightgray ctermbg=black cterm=underline
hi LineNr guifg=#928c75 guibg=NONE gui=NONE
\ ctermfg=darkgray ctermbg=NONE cterm=NONE
hi Directory guifg=#00bbdd guibg=NONE gui=NONE
\ ctermfg=cyan ctermbg=NONE cterm=NONE
hi NonText guifg=#77ff22 guibg=NONE gui=bold
\ ctermfg=yellow ctermbg=NONE cterm=NONE
hi SpecialKey guifg=#559933 guibg=NONE gui=NONE
\ ctermfg=green ctermbg=NONE cterm=NONE
hi SpellBad guifg=NONE guibg=NONE gui=undercurl
\ ctermfg=white ctermbg=darkred guisp=#ff0011
hi SpellCap guifg=NONE guibg=NONE gui=undercurl
\ ctermfg=white ctermbg=darkblue guisp=#0044ff
hi SpellLocal guifg=NONE guibg=NONE gui=undercurl
\ ctermfg=black ctermbg=cyan guisp=#00dd99
hi SpellRare guifg=NONE guibg=NONE gui=undercurl
\ ctermfg=white ctermbg=darkmagenta guisp=#ff22ee
hi DiffAdd guifg=#ffffff guibg=#126493 gui=NONE
\ ctermfg=white ctermbg=darkblue cterm=NONE
hi DiffChange guifg=#000000 guibg=#976398 gui=NONE
\ ctermfg=black ctermbg=darkmagenta cterm=NONE
hi DiffDelete guifg=#000000 guibg=#be1923 gui=bold
\ ctermfg=black ctermbg=red cterm=bold
hi DiffText guifg=#ffffff guibg=#976398 gui=bold
\ ctermfg=white ctermbg=green cterm=bold
" }}}
" borders / separators / menus {{{
hi FoldColumn guifg=#c8bcb9 guibg=#786d65 gui=bold
\ ctermfg=lightgray ctermbg=darkgray cterm=NONE
hi SignColumn guifg=#c8bcb9 guibg=#786d65 gui=bold
\ ctermfg=lightgray ctermbg=darkgray cterm=NONE
hi Pmenu guifg=#000000 guibg=#a6a190 gui=NONE
\ ctermfg=white ctermbg=darkgray cterm=NONE
hi PmenuSel guifg=#ffffff guibg=#133293 gui=NONE
\ ctermfg=white ctermbg=lightblue cterm=NONE
hi PmenuSbar guifg=NONE guibg=#555555 gui=NONE
\ ctermfg=black ctermbg=black cterm=NONE
hi PmenuThumb guifg=NONE guibg=#cccccc gui=NONE
\ ctermfg=gray ctermbg=gray cterm=NONE
hi StatusLine guifg=#000000 guibg=#c2bfa5 gui=bold
\ ctermfg=black ctermbg=white cterm=bold
hi StatusLineNC guifg=#444444 guibg=#c2bfa5 gui=NONE
\ ctermfg=darkgray ctermbg=white cterm=NONE
hi WildMenu guifg=#ffffff guibg=#133293 gui=bold
\ ctermfg=white ctermbg=darkblue cterm=bold
hi VertSplit guifg=#c2bfa5 guibg=#c2bfa5 gui=NONE
\ ctermfg=white ctermbg=white cterm=NONE
hi TabLine guifg=#000000 guibg=#c2bfa5 gui=NONE
\ ctermfg=black ctermbg=white cterm=NONE
hi TabLineFill guifg=#000000 guibg=#c2bfa5 gui=NONE
\ ctermfg=black ctermbg=white cterm=NONE
hi TabLineSel guifg=#ffffff guibg=#133293 gui=NONE
\ ctermfg=white ctermbg=black cterm=NONE
"hi Menu
"hi Scrollbar
"hi Tooltip
" }}}
" cursor / dynamic / other {{{
hi Cursor guifg=#000000 guibg=#ffff99 gui=NONE
\ ctermfg=black ctermbg=white cterm=NONE
hi CursorIM guifg=#000000 guibg=#aaccff gui=NONE
\ ctermfg=black ctermbg=white cterm=reverse
hi CursorLine guifg=NONE guibg=#1b1b1b gui=NONE
\ ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorColumn guifg=NONE guibg=#1b1b1b gui=NONE
\ ctermfg=NONE ctermbg=NONE cterm=NONE
hi Visual guifg=#ffffff guibg=#606070 gui=NONE
\ ctermfg=white ctermbg=lightblue cterm=NONE
hi IncSearch guifg=#000000 guibg=#eedd33 gui=bold
\ ctermfg=white ctermbg=yellow cterm=NONE
hi Search guifg=#efefd0 guibg=#937340 gui=NONE
\ ctermfg=white ctermbg=darkgreen cterm=NONE
hi MatchParen guifg=NONE guibg=#3377aa gui=NONE
\ ctermfg=white ctermbg=blue cterm=NONE
"hi VisualNOS
" }}}
" listings / messages {{{
hi ModeMsg guifg=#eecc18 guibg=NONE gui=NONE
\ ctermfg=yellow ctermbg=NONE cterm=NONE
hi Title guifg=#dd4452 guibg=NONE gui=bold
\ ctermfg=red ctermbg=NONE cterm=bold
hi Question guifg=#66d077 guibg=NONE gui=NONE
\ ctermfg=green ctermbg=NONE cterm=NONE
hi MoreMsg guifg=#39d049 guibg=NONE gui=NONE
\ ctermfg=green ctermbg=NONE cterm=NONE
hi ErrorMsg guifg=#ffffff guibg=#ff0000 gui=bold
\ ctermfg=white ctermbg=red cterm=bold
hi WarningMsg guifg=#ccae22 guibg=NONE gui=bold
\ ctermfg=yellow ctermbg=NONE cterm=bold
" }}}
" }}}
" syntax highlighting groups (:help group-name) {{{
hi Comment guifg=#ff9922 guibg=NONE gui=NONE
\ ctermfg=brown ctermbg=NONE cterm=NONE
hi Constant guifg=#ff6050 guibg=NONE gui=NONE
\ ctermfg=red ctermbg=NONE cterm=NONE
hi Boolean guifg=#ff6050 guibg=NONE gui=bold
\ ctermfg=red ctermbg=NONE cterm=bold
hi Identifier guifg=#eecc44 guibg=NONE gui=NONE
\ ctermfg=yellow ctermbg=NONE cterm=NONE
hi Statement guifg=#66d077 guibg=NONE gui=bold
\ ctermfg=green ctermbg=NONE cterm=bold
hi PreProc guifg=#bb88dd guibg=NONE gui=NONE
\ ctermfg=darkmagenta ctermbg=NONE cterm=NONE
hi Type guifg=#4093cc guibg=NONE gui=bold
\ ctermfg=lightblue ctermbg=NONE cterm=bold
hi Special guifg=#9999aa guibg=NONE gui=bold
\ ctermfg=lightgray ctermbg=NONE cterm=bold
hi Underlined guifg=#80a0ff guibg=NONE gui=underline
\ ctermfg=NONE ctermbg=NONE cterm=underline
\ term=underline
hi Ignore guifg=#888888 guibg=NONE gui=NONE
\ ctermfg=darkgray ctermbg=NONE cterm=NONE
hi Error guifg=#ffffff guibg=#ff0000 gui=NONE
\ ctermfg=white ctermbg=red cterm=NONE
hi Todo guifg=#ffffff guibg=#ee7700 gui=bold
\ ctermfg=black ctermbg=yellow cterm=bold
" }}}
let &cpo = save_cpo
" vim: fdm=marker fdl=0

110
colors/chela_light.vim Executable file
View File

@ -0,0 +1,110 @@
" Vim color file
"
" Maintainer: Stefan Karlsson <stefan.74@comhem.se>
" Last Change: 8 August 2006
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="chela_light"
"Syntax Groups =============================================
hi comment guibg=#fafafa guifg=#339900 gui=none
hi constant guibg=#fafafa guifg=#cc2222 gui=none
hi identifier guibg=#fafafa guifg=#2222ff gui=none
hi statement guibg=#fafafa guifg=#2222ff gui=none
hi preproc guibg=#fafafa guifg=#2222ff gui=none
hi precondit guibg=#fafafa guifg=#cc00cc gui=none
hi type guibg=#fafafa guifg=#2222ff gui=none
hi special guibg=#fafafa guifg=#cc00cc gui=none
hi specialchar guibg=#fafafa guifg=#cc2222 gui=underline
hi underlined guibg=#fafafa guifg=#2222ff gui=underline
hi error guibg=#ff2222 guifg=#ffffff gui=none
hi todo guibg=#339933 guifg=#ffffff gui=none
"General Groups ============================================
hi cursor guibg=#000000 guifg=#ffffff gui=none
" cursorim?
hi cursorcolumn guibg=#eeeeee gui=none
hi cursorline guibg=#eeeeee gui=none
hi directory guibg=#fafafa guifg=#2222ff gui=none
hi diffadd guibg=#66ff66 guifg=#000000 gui=none
hi diffchange guibg=#ffff00 guifg=#cccc99 gui=none
hi diffdelete guibg=#ff6666 guifg=#ff6666 gui=none
hi difftext guibg=#ffff00 guifg=#000000 gui=none
hi errormsg guibg=#ff2222 guifg=#ffffff gui=none
hi vertsplit guibg=#2222ff guifg=#2222ff gui=none
hi folded guibg=#eeeeee guifg=#2222ff gui=none
hi foldcolumn guibg=#eeeeee guifg=#999999 gui=none
" signcolumn?
hi incsearch guibg=#ffbb00 guifg=#000000 gui=none
hi linenr guibg=#fafafa guifg=#cccccc gui=none
hi matchparen guibg=#cccccc gui=none
hi modemsg guibg=#fafafa guifg=#999999 gui=none
hi moremsg guibg=#339900 guifg=#ffffff gui=none
hi nontext guibg=#fafafa guifg=#999999 gui=none
hi normal guibg=#fafafa guifg=#222222 gui=none
hi pmenu guibg=#cccccc guifg=#222222 gui=none
hi pmenusel guibg=#2222ff guifg=#ffffff gui=none
" pmenusbar?
" pmenuthumb?
hi question guibg=#339900 guifg=#ffffff gui=none
hi search guibg=#ffff00 guifg=#000000 gui=none
hi specialkey guibg=#fafafa guifg=#cc00cc gui=none
hi spellbad gui=undercurl guisp=#ff2222
hi spellcap gui=undercurl guisp=#ff2222
hi spelllocal gui=undercurl guisp=#cc2222
hi spellrare gui=undercurl guisp=#22cc22
hi statusline guibg=#2222ff guifg=#ffffff gui=none
hi statuslinenc guibg=#2222ff guifg=#999999 gui=none
hi tabline guibg=#cccccc guifg=#222222 gui=none
hi tablinesel guibg=#2222ff guifg=#ffffff gui=none
hi tablinefill guibg=#aaaaaa guifg=#aaaaaa gui=none
hi title guibg=#fafafa guifg=#6666ff gui=none
hi visual guibg=#cccccc guifg=#333333 gui=none
" visualnos?
hi warningmsg guibg=#fafafa guifg=#ff0000 gui=none
hi wildmenu guibg=#339900 guifg=#ffffff gui=none

36
colors/chocolateliquor.vim Executable file
View File

@ -0,0 +1,36 @@
" Vim color file
" Maintainer: Gerald S. Williams
" Last Change: 2007 Jun 13
" This started as a dark version (perhaps opposite is a better term) of
" PapayaWhip, but took on a life of its own. Easy on the eyes, but still has
" good contrast. Not bad on a color terminal, either (especially if yours
" default to PapayaWhip text on a ChocolateLiquor/#3f1f1f background).
"
" Only values that differ from defaults are specified.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "ChocolateLiquor"
hi Normal guibg=#3f1f1f guifg=PapayaWhip ctermfg=White
hi NonText guibg=#1f0f0f guifg=Brown2 ctermfg=Brown ctermbg=Black
hi LineNr guibg=#1f0f0f guifg=Brown2
hi DiffDelete guibg=DarkRed guifg=White ctermbg=DarkRed ctermfg=White
hi DiffAdd guibg=DarkGreen guifg=White ctermbg=DarkGreen ctermfg=White
hi DiffText gui=NONE guibg=DarkCyan guifg=Yellow ctermbg=DarkCyan ctermfg=Yellow
hi DiffChange guibg=DarkCyan guifg=White ctermbg=DarkCyan ctermfg=White
hi Constant ctermfg=Red
hi Comment guifg=LightBlue3
hi PreProc guifg=Plum ctermfg=Magenta
hi StatusLine guibg=White guifg=Sienna4 cterm=NONE ctermfg=Black ctermbg=Brown
hi StatusLineNC gui=NONE guifg=Black guibg=Gray ctermbg=Black ctermfg=Gray
hi VertSplit guifg=Gray
hi Search guibg=Gold3 ctermfg=Blue
hi Type gui=NONE guifg=DarkSeaGreen2
hi Statement gui=NONE guifg=Gold3
hi FoldColumn guibg=#1f0f0f ctermfg=Cyan ctermbg=Black
hi Folded guibg=grey20 ctermfg=Cyan ctermbg=Black

52
colors/clarity.vim Executable file
View File

@ -0,0 +1,52 @@
" Vim color - Clarity
"
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="clarity"
highlight Normal gui=NONE guifg=LightBlue2 guibg=#1F3055
highlight Comment gui=NONE guifg=Grey62 guibg=bg
highlight PreProc gui=NONE guifg=Salmon guibg=bg
highlight Precondit gui=NONE guifg=Khaki3 guibg=bg
highlight Identifier gui=NONE guifg=Khaki3 guibg=bg
highlight Type gui=BOLD guifg=Orange guibg=bg
highlight StorageClass gui=BOLD guifg=Cornsilk2 guibg=bg
highlight Todo gui=BOLD guifg=#1F3055 guibg=White
highlight NonText gui=NONE guifg=#334C51 guibg=SteelBlue4
highlight LineNr gui=NONE guifg=HoneyDew2 guibg=Grey25
highlight StatusLineNC gui=NONE guifg=Grey80 guibg=LightBlue4
highlight StatusLine gui=NONE guifg=DarkBlue guibg=#FFFFCA
highlight IncSearch gui=NONE guifg=Black guibg=#FFE568
highlight Search gui=UNDERLINE,BOLD guifg=#FFE568 guibg=bg
highlight Cursor gui=NONE guifg=Grey50 guibg=#FFE568
highlight CursorIM gui=NONE guifg=Grey50 guibg=#FFE568
highlight Title gui=BOLD guifg=OliveDrab3 guibg=bg
highlight WarningMsg gui=BOLD guifg=White guibg=Red4
highlight String gui=NONE guifg=Grey80 guibg=bg
highlight Number gui=NONE guifg=OliveDrab2 guibg=bg
highlight Constant gui=NONE guifg=#ACEDAB guibg=bg
highlight Visual gui=BOLD guifg=White guibg=bg
highlight Directory gui=NONE guifg=PeachPuff guibg=bg
highlight DiffAdd gui=NONE guifg=white guibg=SeaGreen
highlight DiffChange gui=BOLD guifg=white guibg=Blue
highlight DiffDelete gui=NONE guifg=Grey40 guibg=Grey20
highlight DiffText gui=BOLD guifg=HoneyDew1 guibg=FireBrick
highlight Typedef gui=NONE guifg=Cornsilk guibg=bg
highlight Define gui=NONE guifg=White guibg=bg
highlight Tag gui=NONE guifg=LightBlue2 guibg=bg
highlight Debug gui=BOLD guifg=Green guibg=bg
highlight Special gui=NONE guifg=NavajoWhite guibg=bg
highlight SpecialChar gui=NONE guifg=NavajoWhite guibg=bg
highlight Delimiter gui=NONE guifg=NavajoWhite guibg=bg
highlight SpecialComment gui=NONE guifg=NavajoWhite3 guibg=bg
highlight Conditional gui=BOLD guifg=Wheat2 guibg=bg
highlight Statement gui=BOLD guifg=Pink3 guibg=bg
highlight WildMenu gui=NONE guifg=White guibg=FireBrick
highlight browseSuffixes gui=NONE guifg=Cornsilk3 guibg=bg

81
colors/cleanphp.vim Executable file
View File

@ -0,0 +1,81 @@
" Vim color file
" Maintainer: Billy McIntosh <billymcintosh@ntlworld.com>
" Last Change: June 24, 2003
" Licence: Public Domain
" This package offers a eye-catching color scheme for PHP syntax
" First remove all existing highlighting.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "cleanphp"
hi Normal guifg=#008000 guibg=#d3e4f8
hi ErrorMsg guibg=#d3e4f8 guifg=Red
hi IncSearch gui=reverse
hi ModeMsg gui=bold
hi StatusLine gui=reverse,bold
hi StatusLineNC gui=reverse
hi VertSplit gui=reverse
hi Visual gui=reverse guifg=#c0c0c0 guibg=fg
hi VisualNOS gui=underline,bold
hi DiffText gui=bold guibg=Red
hi Cursor guibg=Black guifg=NONE
hi lCursor guibg=Black guifg=NONE
hi Directory guifg=#ff8040
hi LineNr guifg=#008000
hi MoreMsg gui=bold guifg=SeaGreen
hi NonText gui=bold guifg=#ff8040 guibg=#d3e4f8
hi Question gui=bold guifg=Black
hi Search guibg=#008000 guifg=NONE
hi SpecialKey guifg=#ff8040
hi Title gui=bold guifg=Magenta
hi WarningMsg guifg=Red
hi WildMenu guibg=Cyan guifg=#d3e4f8
hi Folded guibg=White guifg=Darkblue
hi FoldColumn guibg=#c0c0c0 guifg=Darkblue
hi DiffAdd guibg=Lightblue
hi DiffChange guibg=LightMagenta
hi DiffDelete gui=bold guifg=#ff8040 guibg=LightCyan
hi Comment guifg=#ff8040 guibg=#d3e4f8
hi Constant guifg=#BB0000 guibg=#d3e4f8
hi PreProc guifg=#008080 guibg=#d3e4f8
hi Statement gui=NONE guifg=#008000 guibg=#d3e4f8
hi Special guifg=#008080 guibg=#d3e4f8
hi Ignore guifg=#c0c0c0
hi Identifier guifg=#000080 guibg=#d3e4f8
hi Type guifg=#00BB00 guibg=#d3e4f8
hi link IncSearch Visual
hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Function Identifier
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator 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 Special
" vim: sw=2

79
colors/colorer.vim Executable file
View File

@ -0,0 +1,79 @@
" local syntax file - set colors on a per-machine basis:
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer: Sergey V. Beduev <shaman@interdon.net>
" Last Change: Sun Mar 28 11:19:38 EEST 2004
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "colorer"
hi Normal ctermfg=Gray guifg=DarkGray guibg=black
hi Visual ctermfg=DarkCyan guibg=black guifg=DarkCyan
hi Comment ctermfg=Brown guifg=#B46918 gui=NONE
hi PerlPOD ctermfg=Brown guifg=#B86A18 gui=NONE
hi Constant ctermfg=White guifg=White gui=NONE
hi Charachter ctermfg=Yellow guifg=Yellow gui=NONE
hi String ctermfg=Yellow guifg=Yellow gui=NONE
hi Number ctermfg=White guifg=White gui=NONE
hi Boolean ctermfg=Cyan guifg=DarkGray gui=NONE
hi Special ctermfg=DarkMagenta guifg=Red gui=NONE
hi Define ctermfg=LightMagenta guifg=Magenta gui=NONE
hi Identifier ctermfg=Green guifg=Green gui=NONE
hi Exception ctermfg=White guifg=White gui=NONE
hi Statement ctermfg=White guifg=White gui=NONE
hi Label ctermfg=White guifg=White gui=NONE
hi Keyword ctermfg=White guifg=White gui=NONE
hi PreProc ctermfg=Green guifg=Green gui=NONE
hi Type ctermfg=LightGreen guifg=Green gui=NONE
hi Function ctermfg=White guifg=White gui=NONE
hi Repeat ctermfg=White guifg=White gui=NONE
hi Operator ctermfg=White guifg=White gui=NONE
hi Ignore ctermfg=black guifg=bg
hi Folded ctermbg=LightBlue ctermfg=Gray guibg=DarkBlue guifg=DarkGray gui=NONE
hi Error term=reverse ctermbg=Red ctermfg=White guibg=darkRed guifg=White gui=NONE
hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Black guibg=#AD5500 gui=NONE
hi Done term=standout ctermbg=Gray ctermfg=White guifg=White guibg=Gray gui=NONE
hi SpellErrors ctermfg=DarkRed guifg=Black gui=NONE
hi MailQ ctermfg=darkcyan guibg=black gui=NONE
hi MailQu ctermfg=darkgreen guibg=black gui=NONE
hi MyDiffNew ctermfg=magenta guifg=red gui=NONE
hi MyDiffCommLine ctermfg=white ctermbg=red guifg=white guibg=darkred gui=NONE
hi MyDiffRemoved ctermfg=LightRed guifg=red gui=NONE
hi MyDiffSubName ctermfg=DarkCyan guifg=Cyan gui=NONE
hi MyDiffNormal ctermbg=White ctermfg=black guibg=White guifg=black gui=NONE
hi MoreMsg gui=NONE
hi ModeMsg gui=NONE
hi Title gui=NONE
hi NonText gui=NONE
hi DiffDelete gui=NONE
hi DiffText gui=NONE
hi StatusLine guifg=black guibg=gray gui=NONE
hi Question gui=NONE
" Common groups that link to default highlighting.
" You can specify other highlighting easily.
"hi link String Constant
"hi link Character Constant
"hi link Number Constant
"hi link Boolean Constant
hi link Float Number
hi link Conditional Repeat
hi link Include PreProc
hi link Structure Define
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 Normal
hi link SpecialComment Special
hi link Debug Special

83
colors/dante.vim Executable file
View File

@ -0,0 +1,83 @@
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" File: "/home/caciano/.vim/dante.vim"
" Created: "Thu, 23 May 2002 00:12:20 -0300 (caciano)"
" Updated: "Sat, 24 Aug 2002 14:04:21 -0300 (caciano)"
" Copyright (C) 2002, Caciano Machado <caciano@inf.ufrgs.br>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Colorscheme Option:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
hi clear
if exists("syntax on")
syntax reset
endif
let g:colors_name = "dante"
" General colors
hi Normal ctermfg=gray guifg=peachpuff3 guibg=black
hi Directory term=bold ctermfg=blue guifg=royalblue
hi ErrorMsg term=standout ctermfg=white ctermbg=red guifg=white guibg=red3
hi NonText term=bold ctermfg=darkgray guibg=gray3 guifg=gray20
hi SpecialKey term=bold ctermfg=darkgray guifg=gray30
hi LineNr term=underline ctermfg=darkgray guifg=ivory4 guibg=gray4
hi IncSearch term=reverse cterm=reverse gui=reverse,bold guifg=darkgoldenrod2
hi Search term=reverse ctermfg=black ctermbg=yellow guifg=gray10 guibg=gold2
hi Visual term=bold,reverse cterm=bold,reverse ctermfg=gray ctermbg=black gui=bold,reverse guifg=gray40 guibg=black
hi VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline
hi MoreMsg term=bold ctermfg=green gui=bold guifg=olivedrab1
hi ModeMsg term=bold cterm=bold gui=bold
hi Question term=standout ctermfg=green gui=bold guifg=olivedrab1
hi WarningMsg term=standout ctermfg=red gui=bold guifg=red3
hi WildMenu term=standout ctermfg=black ctermbg=yellow guifg=black guibg=gold2
hi Folded term=standout ctermfg=blue ctermbg=white guifg=royalblue1 guibg=white
hi FoldColumn term=standout ctermfg=blue ctermbg=white guifg=royalblue3 guibg=white
hi DiffAdd term=bold ctermbg=blue guibg=royalblue2
hi DiffChange term=bold ctermbg=darkmagenta guibg=maroon
hi DiffDelete term=bold cterm=bold ctermfg=lightblue ctermbg=cyan gui=bold guifg=lightblue guibg=cyan4
hi DiffText term=reverse cterm=bold ctermbg=red gui=bold guibg=red3
hi Cursor guifg=bg guibg=fg
hi lCursor guifg=bg guibg=fg
hi StatusLine term=reverse cterm=reverse gui=reverse guifg=gray60
hi StatusLineNC term=reverse cterm=reverse gui=reverse guifg=gray40
hi VertSplit term=reverse cterm=reverse gui=bold,reverse guifg=gray40
hi Title term=bold ctermfg=magenta gui=bold guifg=aquamarine
" syntax hi colors
hi Comment term=bold ctermfg=darkcyan guifg=cyan4
hi PreProc term=underline ctermfg=darkblue guifg=dodgerblue4
hi Constant term=underline ctermfg=darkred guifg=firebrick3
hi Type term=underline ctermfg=darkgreen gui=none guifg=chartreuse3
hi Statement term=bold ctermfg=darkyellow gui=none guifg=gold3
hi Identifier term=underline ctermfg=darkgreen guifg=darkolivegreen4
hi Ignore term=bold ctermfg=darkgray guifg=gray45
hi Special term=underline ctermfg=brown guifg=sienna
hi Error term=reverse ctermfg=gray ctermbg=red guifg=gray guibg=red3
hi Todo term=standout ctermfg=black ctermbg=yellow gui=bold guifg=gray10 guibg=yellow4
hi Underlined term=underline cterm=underline ctermfg=darkblue gui=underline guifg=slateblue
hi Number term=underline ctermfg=darkred guifg=red2
" syntax hi links
hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Function Identifier
hi link Number Constant
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Keyword Statement
hi link Exception Statement
hi link Operator 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 Special
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

92
colors/darkZ.vim Executable file
View File

@ -0,0 +1,92 @@
" darkZ 1.1 (Vim color file)
" Create by ☆andy☆
" QQ24375048
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
set cursorline
let g:colors_name="darkZ"
hi Normal guifg=#DFD6C1 guibg=gray16 gui=none
hi Cursor guifg=black guibg=yellow gui=none
hi ErrorMsg guifg=white guibg=red gui=none
hi VertSplit guifg=gray40 guibg=gray40 gui=none
hi Folded guifg=DarkSlateGray3 guibg=grey30 gui=none
hi FoldColumn guifg=tan guibg=grey30 gui=none
hi IncSearch guifg=#b0ffff guibg=#2050d0
hi LineNr guifg=gray40 gui=none
hi ModeMsg guifg=SkyBlue gui=none
hi MoreMsg guifg=SeaGreen gui=none
hi NonText guifg=cyan gui=none
hi Question guifg=springgreen gui=none
hi Search guifg=white guibg=#445599 gui=bold
hi SpecialKey guifg=cyan gui=none
hi StatusLine guifg=black guibg=Pink gui=bold
hi StatusLineNC guifg=grey guibg=gray40 gui=none
hi Title guifg=#ff4400 gui=none gui=bold
hi Visual guifg=gray17 guibg=tan1 gui=none
hi WarningMsg guifg=salmon gui=none
hi Pmenu guifg=white guibg=#445599 gui=none
hi PmenuSel guifg=#445599 guibg=gray
hi WildMenu guifg=gray guibg=gray17 gui=none
hi MatchParen guifg=black guibg=orange2 gui=bold
hi DiffAdd guifg=black guibg=wheat1
hi DiffChange guifg=black guibg=skyblue1
hi DiffText guifg=black guibg=hotpink1 gui=none
hi DiffDelete guibg=gray45 guifg=black gui=none
hi CursorLine guibg=gray24
hi CursorColumn guibg=gray24
hi Comment guifg=gray55 gui=italic
hi Constant guifg=#FF77FF gui=none
hi Identifier guifg=#6FDEF8 gui=none
hi Function guifg=#82EF2A gui=none
hi Statement guifg=#FCFC63 gui=none
hi PreProc guifg=#82EF2A gui=none
hi Type guifg=#33AFF3 gui=none
hi Special guifg=orange gui=none
hi Ignore guifg=red gui=none
hi Todo guifg=red guibg=yellow2 gui=none
hi SpecialKey ctermfg=red
hi NonText cterm=bold ctermfg=darkblue
hi Directory ctermfg=darkcyan
hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green
hi Search cterm=NONE ctermfg=white ctermbg=grey
hi MoreMsg ctermfg=darkgreen
hi ModeMsg cterm=NONE ctermfg=brown
hi LineNr 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 Comment ctermfg=darkcyan
hi Constant ctermfg=brown
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 ctermfg=darkgrey
hi Error cterm=bold ctermfg=7 ctermbg=1

105
colors/darkblue2.vim Executable file
View File

@ -0,0 +1,105 @@
" Vim color file
" Maintainer: Datila Carvalho <datila@hotmail.com>
" Last Change: May, 19, 2005
" Version: 0.2
" This is a VIM's version of the emacs color theme
" _Dark Blue2_ created by Chris McMahan.
""" Init stuff
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "darkblue2"
""" Colors
" GUI colors
hi Cursor guifg=#233b5a guibg=Yellow
hi CursorIM guifg=NONE guibg=Yellow
hi Directory gui=bold guifg=cyan
"hi DiffAdd
"hi DiffChange
"hi DiffDelete
hi DiffText guibg=grey50
hi ErrorMsg gui=bold guifg=White guibg=gray85
hi VertSplit gui=bold guifg=NONE guibg=gray80
"hi Folded
"hi FoldColumn
"hi IncSearch
hi LineNr gui=bold guifg=lightsteelblue guibg=#132b4a
hi ModeMsg gui=bold
"hi MoreMsg
"hi NonText
hi Normal guibg=#233b5a guifg=#fff8dc
"hi Question
hi Search gui=bold guifg=#233b5a guibg=lightgoldenrod
"hi SpecialKey
hi StatusLine guifg=steelblue4 guibg=lightgray
hi StatusLineNC guifg=royalblue4 guibg=lightsteelblue
"hi Title
hi Visual guifg=steelblue guibg=fg
hi VisualNOS gui=bold guifg=steelblue guibg=fg
hi WarningMsg guifg=White guibg=Tomato
"hi WildMenu
hi User2 guifg=lightskyblue guibg=#021a39 gui=bold
" If using Motif/Athena
hi Menu guibg=#233b5a guifg=#fff8dc
hi Scrollbar guibg=bg
" Colors for syntax highlighting
hi Comment gui=italic guifg=mediumaquamarine
hi Constant gui=bold guifg=lightgoldenrod1
hi String guifg=aquamarine
hi Character guifg=aquamarine
hi Number gui=bold guifg=lightgoldenrod1
hi Boolean gui=bold guifg=lightgoldenrod1
hi Float gui=bold guifg=lightgoldenrod1
hi Identifier gui=bold guifg=palegreen
hi Function guifg=lightskyblue
hi Statement gui=bold guifg=cyan
hi Conditional gui=bold guifg=cyan
hi Repeat gui=bold guifg=cyan
hi Label guifg=cyan
hi Operator guifg=cyan
"hi Keyword
"hi Exception
hi PreProc guifg=lightsteelblue
hi Include gui=bold guifg=lightsteelblue
hi Define guifg=lightsteelblue
hi Macro guifg=lightsteelblue
hi PreCondit guifg=lightsteelblue
hi Type gui=bold guifg=palegreen
hi StorageClass gui=bold guifg=lightgoldenrod1
hi Structure gui=bold guifg=lightgoldenrod1
hi Typedef gui=bold guifg=lightgoldenrod1
"hi Special
""Underline Character
"hi SpecialChar
"hi Tag
""Statement
"hi Delimiter
""Bold comment (in Java at least)
"hi SpecialComment
"hi Debug
hi Underlined gui=underline
hi Ignore guifg=bg
hi Error gui=bold guifg=White guibg=Red
"hi Todo

102
colors/darkbone.vim Executable file
View File

@ -0,0 +1,102 @@
" Name: darkbone.vim
" Maintainer: Kojo Sugita
" Last Change: 2008-11-22
" Revision: 1.1
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = 'darkbone'
"default colors
hi Normal guifg=#a0a0c0 guibg=#000000
hi NonText guifg=#606080 guibg=#101020 gui=none
hi SpecialKey guifg=#404060
hi Cursor guifg=#000000 guibg=#a0a0c0
hi CursorLine guibg=#303050
hi CursorColumn guibg=#303050
hi lCursor guifg=#000000 guibg=#a0a0c0
hi CursorIM guifg=#000000 guibg=#a0a0c0
" Directory
hi Directory guifg=#e0e0ff guibg=#000000 gui=bold
" Diff
hi DiffAdd guifg=#8090f0 guibg=#000000 gui=none
hi DiffChange guifg=#8090f0 guibg=#000000 gui=none
hi DiffDelete guifg=#8090f0 guibg=#000000 gui=none
hi DiffText guifg=#8090f0 guibg=#000000 gui=bold
" Message
hi ModeMsg guifg=#a0a0c0 guibg=#000000
hi MoreMsg guifg=#a0a0c0 guibg=#000000
hi ErrorMsg guifg=#ee1111 guibg=#000000
hi WarningMsg guifg=#ee1111 guibg=#000000
hi VertSplit guifg=#606080 guibg=#606080
" Folds
hi Folded guifg=#a0a0c0 guibg=#000000
hi FoldColumn guifg=#a0a0c0 guibg=#102010
" Search
hi Search guifg=#000000 guibg=#c0c0ff gui=none
hi IncSearch guifg=#000000 guibg=#c0c0ff gui=none
hi LineNr guifg=#606080 guibg=#000000 gui=none
hi Question guifg=#a0a0c0 guibg=#000000
"\n, \0, %d, %s, etc...
" hi Special guifg=#d0e080 guibg=#000000 gui=none
hi Special guifg=#808080 guibg=#000000 gui=none
" status line
hi StatusLine guifg=#c0c0ff guibg=#000000 gui=bold,underline
hi StatusLineNC guifg=#606080 guibg=#000000 gui=bold,underline
hi WildMenu guifg=#000000 guibg=#c0c0ff
hi Title guifg=#c0c0ff guibg=#000000 gui=bold
hi Visual guifg=#000000 guibg=#707090 gui=none
hi VisualNOS guifg=#a0a0c0 guibg=#000000
hi Number guifg=#d0e080 guibg=#000000
hi Char guifg=#d0e080 guibg=#000000
hi String guifg=#d0e080 guibg=#000000
hi Boolean guifg=#d0e080 guibg=#000000
hi Comment guifg=#606080
hi Constant guifg=#f0a0b0 guibg=#000000 gui=none
hi Identifier guifg=#8090f0
hi Statement guifg=#8090f0 gui=none
"Procedure name
hi Function guifg=#f0b040
"Define, def
" hi PreProc guifg=#f0a0b0 gui=none
hi PreProc guifg=#e0e0ff gui=none
hi Type guifg=#e0e0ff gui=none
hi Underlined guifg=#a0a0c0 gui=underline
hi Error guifg=#ee1111 guibg=#000000
hi Todo guifg=#8090f0 guibg=#000000 gui=none
hi SignColumn guibg=#000000
" Matches
hi MatchParen guifg=#a0a0c0 guibg=#404080 gui=none
if version >= 700
" Pmenu
hi Pmenu guibg=#202040
hi PmenuSel guibg=#404080 guifg=#a0a0c0
hi PmenuSbar guibg=#202040
" Tab
hi TabLine guifg=#606080 guibg=black gui=underline
hi TabLineFill guifg=#a0a0c0 guibg=black gui=none
hi TabLineSel guifg=#c0c0ff guibg=#606080 gui=bold
endif
" vim:set ts=8 sts=2 sw=2 tw=0:

300
colors/darkburn.vim Executable file
View File

@ -0,0 +1,300 @@
"=============================================================================
" Vim color file
" File: darkburn.vim
" Maintainer: Taurus Olson <taurusolson@gmail.com>
" License: GPL
" Created: 2009-03-27 20:25:21 CET
" Modified: 2009-06-06 21:18:55 CET
" Version: 1.2
" Modified version of zenburn originally created by:
" Maintainer: Jani Nurminen <slinky@iki.fi>
" Last Change: $Id: zenburn.vim,v 2.4 2008/11/18 20:43:18 slinky Exp $
" URL: http://slinky.imukuppi.org/zenburnpage/
" License: GPL
"=============================================================================
"
" Credits:
" - Jani Nurminen - original Zenburn
" - Steve Hall & Cream posse - higher-contrast Visual selection
" - Kurt Maier - 256 color console coloring, low and high contrast toggle,
" bug fixing
" - Charlie - spotted too bright StatusLine in non-high contrast mode
" - Pablo Castellazzi - CursorLine fix for 256 color mode
" - Tim Smith - force dark background
"
" CONFIGURABLE PARAMETERS:
"
" You can use the default (don't set any parameters), or you can
" set some parameters to tweak the Zenburn colours.
"
" * You can now set a darker background for bright environments. To activate, use:
" contrast Zenburn, use:
"
let g:darkburn_high_Contrast = 1
"
" * To get more contrast to the Visual selection, use
"
" let g:darkburn_alternate_Visual = 1
"
" * To use alternate colouring for Error message, use
"
let g:darkburn_alternate_Error = 1
"
" * The new default for Include is a duller orange. To use the original
" colouring for Include, use
"
let g:darkburn_alternate_Include = 1
"
" * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237
" as light values, and sets background to light for some people. If you have
" this problem, use:
"
let g:darkburn_force_dark_Background = 1
"
" * To turn the parameter(s) back to defaults, use UNLET:
"
" unlet g:darkburn_alternate_Include
"
" Setting to 0 won't work!
"
" That's it, enjoy!
"
" TODO
" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
" - IME colouring (CursorIM)
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="darkburn"
hi Boolean guifg=#dca3a3
hi Character guifg=#dca3a3 gui=bold
hi Comment guifg=#7f9f7f gui=italic
hi Conditional guifg=#f0dfaf gui=bold
hi Constant guifg=#dca3a3 gui=bold
hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold
hi Debug guifg=#bca3a3 gui=bold
hi Define guifg=#ffcfaf gui=bold
hi Delimiter guifg=#8f8f8f
hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold
hi DiffChange guibg=#333333
hi DiffDelete guifg=#333333 guibg=#464646
hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold
hi Directory guifg=#dcdccc gui=bold
hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold
hi Exception guifg=#c3bf9f gui=bold
hi Float guifg=#c0bed1
hi FoldColumn guifg=#93b3a3 guibg=#3f4040
hi Folded guifg=#93b3a3 guibg=#3f4040
hi Function guifg=#efef8f
hi Identifier guifg=#dcdcdc
hi IncSearch guibg=#f8f893 guifg=#385f38
hi Keyword guifg=#f0dfaf gui=bold
hi Label guifg=#dfcfaf gui=underline
hi LineNr guifg=#9fafaf guibg=#262626
hi Macro guifg=#ffcfaf gui=bold
hi ModeMsg guifg=#6fb86f gui=none
hi MoreMsg guifg=#ffffff gui=bold
hi NonText guifg=#404040
hi Number guifg=#8cd0d3
hi Operator guifg=#f0efd0
hi PreCondit guifg=#dfaf8f gui=bold
hi PreProc guifg=#ffb23f gui=bold
hi Question guifg=#ffffff gui=bold
hi Repeat guifg=#ffd7a7 gui=bold
hi Search guifg=#ffffe0 guibg=#284f28
hi SpecialChar guifg=#9fbfd6 gui=bold
hi SpecialComment guifg=#82a282 gui=bold
hi Special guifg=#9fbfd6
hi SpecialKey guifg=#9ece9e
hi Statement guifg=#6fb86f gui=none
hi StatusLine guifg=#313633 guibg=#ccdc90
hi StatusLineNC guifg=#2e3330 guibg=#88b090
hi StorageClass guifg=#c3bf9f gui=bold
hi String guifg=#b75151
hi Structure guifg=#efefaf gui=bold
hi Tag guifg=#e89393 gui=bold
hi Title guifg=#efefef gui=bold
hi Todo guifg=#dfdfdf guibg=bg gui=bold
hi Typedef guifg=#dfe4cf gui=bold
hi Type guifg=#dfdfbf gui=bold
hi Underlined guifg=#dcdccc gui=underline
hi VertSplit guifg=#2e3330 guibg=#688060
hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline
hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold
hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline
hi SpellBad guisp=#bc6c4c guifg=#dc8c6c
hi SpellCap guisp=#6c6c9c guifg=#8c8cbc
hi SpellRare guisp=#bc6c9c guifg=#bc8cbc
hi SpellLocal guisp=#7cac7c guifg=#9ccc9c
" Entering Kurt zone
if &t_Co > 255
hi Boolean ctermfg=181
hi Character ctermfg=181 cterm=bold
hi Comment ctermfg=108
hi Conditional ctermfg=223 cterm=bold
hi Constant ctermfg=181 cterm=bold
hi Cursor ctermfg=233 ctermbg=109 cterm=bold
hi Debug ctermfg=181 cterm=bold
hi Define ctermfg=223 cterm=bold
hi Delimiter ctermfg=245
hi DiffAdd ctermfg=66 ctermbg=237 cterm=bold
hi DiffChange ctermbg=236
hi DiffDelete ctermfg=236 ctermbg=238
hi DiffText ctermfg=217 ctermbg=237 cterm=bold
hi Directory ctermfg=188 cterm=bold
hi ErrorMsg ctermfg=115 ctermbg=236 cterm=bold
hi Exception ctermfg=249 cterm=bold
hi Float ctermfg=251
hi FoldColumn ctermfg=109 ctermbg=238
hi Folded ctermfg=109 ctermbg=238
hi Function ctermfg=228
hi Identifier ctermfg=223
hi IncSearch ctermbg=228 ctermfg=238
hi Keyword ctermfg=223 cterm=bold
hi Label ctermfg=187 cterm=underline
hi LineNr ctermfg=248 ctermbg=235
hi Macro ctermfg=223 cterm=bold
hi ModeMsg ctermfg=223 cterm=none
hi MoreMsg ctermfg=15 cterm=bold
hi NonText ctermfg=238
hi Number ctermfg=116
hi Operator ctermfg=230
hi PreCondit ctermfg=180 cterm=bold
hi PreProc ctermfg=223 cterm=bold
hi Question ctermfg=15 cterm=bold
hi Repeat ctermfg=223 cterm=bold
hi Search ctermfg=230 ctermbg=236
hi SpecialChar ctermfg=181 cterm=bold
hi SpecialComment ctermfg=108 cterm=bold
hi Special ctermfg=181
hi SpecialKey ctermfg=151
hi Statement ctermfg=187 ctermbg=234 cterm=none
hi StatusLine ctermfg=236 ctermbg=186
hi StatusLineNC ctermfg=235 ctermbg=108
hi StorageClass ctermfg=249 cterm=bold
hi String ctermfg=174
hi Structure ctermfg=229 cterm=bold
hi Tag ctermfg=181 cterm=bold
hi Title ctermfg=7 ctermbg=234 cterm=bold
hi Todo ctermfg=108 ctermbg=234 cterm=bold
hi Typedef ctermfg=253 cterm=bold
hi Type ctermfg=187 cterm=bold
hi Underlined ctermfg=188 ctermbg=234 cterm=bold
hi VertSplit ctermfg=236 ctermbg=65
hi VisualNOS ctermfg=236 ctermbg=210 cterm=bold
hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold
hi WildMenu ctermbg=236 ctermfg=194 cterm=bold
hi CursorLine ctermbg=236 cterm=none
" spellchecking, always "bright" background
hi SpellLocal ctermfg=14 ctermbg=237
hi SpellBad ctermfg=9 ctermbg=237
hi SpellCap ctermfg=12 ctermbg=237
hi SpellRare ctermfg=13 ctermbg=237
" pmenu
hi PMenu ctermfg=248 ctermbg=0
hi PMenuSel ctermfg=223 ctermbg=235
if exists("g:darkburn_high_Contrast")
hi Normal ctermfg=188 ctermbg=234
else
hi Normal ctermfg=188 ctermbg=237
hi Cursor ctermbg=109
hi diffadd ctermbg=237
hi diffdelete ctermbg=238
hi difftext ctermbg=237
hi errormsg ctermbg=237
hi foldcolumn ctermbg=238
hi folded ctermbg=238
hi incsearch ctermbg=228
hi linenr ctermbg=238
hi search ctermbg=238
hi statement ctermbg=237
hi statusline ctermbg=144
hi statuslinenc ctermbg=108
hi title ctermbg=237
hi todo ctermbg=237
hi underlined ctermbg=237
hi vertsplit ctermbg=65
hi visualnos ctermbg=210
hi warningmsg ctermbg=236
hi wildmenu ctermbg=236
endif
endif
if exists("g:darkburn_force_dark_Background")
" Force dark background, because of a bug in VIM: VIM sets background
" automatically during "hi Normal ctermfg=X"; it misinterprets the high
" value (234 or 237 above) as a light color, and wrongly sets background to
" light. See ":help highlight" for details.
set background=dark
endif
if exists("g:darkburn_high_Contrast")
" use new darker background
hi Normal guifg=#ffffff guibg=#1f1f1f
hi CursorLine guibg=#121212 gui=bold
hi Pmenu guibg=#242424 guifg=#ccccbc
hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold
hi PmenuSbar guibg=#2e3330 guifg=#000000
hi PMenuThumb guibg=#a0afa0 guifg=#040404
hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold
hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold
hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold
hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold
hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold
hi CursorColumn guifg=#dcdccc guibg=#2b2b2b
else
" Original, lighter background
hi Normal guifg=#dcdccc guibg=#3f3f3f
hi CursorLine guibg=#434443
hi Pmenu guibg=#2c2e2e guifg=#9f9f9f
hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold
hi PmenuSbar guibg=#2e3330 guifg=#000000
hi PMenuThumb guibg=#a0afa0 guifg=#040404
hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold
hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold
hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold
hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold
hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold
hi CursorColumn guifg=#dcdccc guibg=#4f4f4f
endif
if exists("g:darkburn_alternate_Visual")
" Visual with more contrast, thanks to Steve Hall & Cream posse
" gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
hi Visual guifg=#000000 guibg=#71d3b4 gui=none
hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none
else
" use default visual
hi Visual guifg=#71d3b4 guibg=#233323 gui=none
hi VisualNOS guifg=#71d3b4 guibg=#233323 gui=none
endif
if exists("g:darkburn_alternate_Error")
" use a bit different Error
hi Error guifg=#ef9f9f guibg=#201010 gui=bold
else
" default
hi Error guifg=#e37170 guibg=#332323 gui=none
endif
if exists("g:darkburn_alternate_Include")
" original setting
hi Include guifg=#ffcfaf gui=bold
else
" new, less contrasted one
hi Include guifg=#dfaf8f gui=bold
endif
" TODO check for more obscure syntax groups that they're ok
" vim: :

117
colors/darkslategray.vim Executable file
View File

@ -0,0 +1,117 @@
" vim: set tw=0 sw=4 sts=4 et:
" Vim color file
" Maintainer: Tuomas Susi <tsusi@cc.hut.fi>
" Last Change: 2004 October 05
" Version: 1.7
" Emacs in RedHat Linux used to have (still does?) a kind of 'Wheat on
" DarkSlateGray' color scheme by default. This color scheme is created in the
" same spirit.
"
" Darkslategray is intended to be nice to your eyes (low contrast) and to take
" advantage of syntax hilighting as much as possible.
"
" This color scheme is for the GUI only, I'm happy with default console colors.
" Needs at least vim 6.0.
" Init stuff
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "darkslategray"
" GUI colors
hi Cursor guifg=fg guibg=#da70d6
hi CursorIM guifg=NONE guibg=#ff83fa
hi Directory guifg=#e0ffff
hi DiffAdd guibg=#528b8b
hi DiffChange guibg=#8b636c
hi DiffDelete gui=bold guifg=fg guibg=#000000
hi DiffText gui=bold guibg=#6959cd
hi ErrorMsg gui=bold guifg=#ffffff guibg=#ff0000
hi VertSplit gui=bold guifg=#bdb76b guibg=#000000
hi Folded guifg=#000000 guibg=#bdb76b
hi FoldColumn guifg=#000000 guibg=#bdb76b
hi SignColumn gui=bold guifg=#bdb76b guibg=#20b2aa
hi IncSearch gui=bold guifg=#000000 guibg=#ffffff
hi LineNr gui=bold guifg=#bdb76b guibg=#528b8b
hi ModeMsg gui=bold
hi MoreMsg gui=bold guifg=#20b2aa
hi NonText gui=bold guifg=#ffffff
hi Normal guibg=#2f4f4f guifg=#f5deb3
hi Question gui=bold guifg=#ff6347
hi Search gui=bold guifg=#000000 guibg=#ffd700
hi SpecialKey guifg=#00ffff
hi StatusLine gui=bold guifg=#f0e68c guibg=#000000
hi StatusLineNC guibg=#bdb76b guifg=#404040
hi Title gui=bold guifg=#ff6347
hi Visual guifg=#000000 guibg=fg
hi VisualNOS gui=bold guifg=#000000 guibg=fg
hi WarningMsg guifg=#ffffff guibg=#ff6347
hi WildMenu gui=bold guifg=#000000 guibg=#ffff00
" I use GTK and don't wanna change these
"hi Menu foobar
"hi Scrollbar foobar
"hi Tooltip foobar
" Colors for syntax highlighting
hi Comment guifg=#da70d6
hi Constant guifg=#cdcd00
hi String guifg=#7fffd4
hi Character guifg=#7fffd4
hi Number guifg=#ff6347
hi Boolean guifg=#cdcd00
hi Float guifg=#ff6347
hi Identifier guifg=#afeeee
hi Function guifg=#ffffff
hi Statement gui=bold guifg=#4682b4
hi Conditional gui=bold guifg=#4682b4
hi Repeat gui=bold guifg=#4682b4
hi Label gui=bold guifg=#4682b4
hi Operator gui=bold guifg=#4682b4
hi Keyword gui=bold guifg=#4682b4
hi Exception gui=bold guifg=#4682b4
hi PreProc guifg=#cdcd00
hi Include guifg=#ffff00
hi Define guifg=#cdcd00
hi Macro guifg=#cdcd00
hi PreCondit guifg=#cdcd00
hi Type gui=bold guifg=#98fb98
hi StorageClass guifg=#00ff00
hi Structure guifg=#20b2aa
hi Typedef guifg=#00ff7f
hi Special guifg=#ff6347
"Underline Character
hi SpecialChar gui=underline guifg=#7fffd4
hi Tag guifg=#ff6347
"Statement
hi Delimiter gui=bold guifg=#b0c4de
"Bold comment (in Java at least)
hi SpecialComment gui=bold guifg=#da70d6
hi Debug gui=bold guifg=#ff0000
hi Underlined gui=underline
hi Ignore guifg=bg
hi Error gui=bold guifg=#ffffff guibg=#ff0000
hi Todo gui=bold guifg=#000000 guibg=#ff83fa

130
colors/darkspectrum.vim Executable file
View File

@ -0,0 +1,130 @@
" Vim color file
"
" Author: Brian Mock <mock.brian@gmail.com>
"
" Note: Based on Oblivion color scheme for gedit (gtk-source-view)
"
" cool help screens
" :he group-name
" :he highlight-groups
" :he cterm-colors
hi clear
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="darkspectrum"
hi Normal guifg=#efefef guibg=#2A2A2A
" highlight groups
hi Cursor guibg=#ffffff guifg=#000000
hi CursorLine guibg=#000000
"hi CursorLine guibg=#3e4446
hi CursorColumn guibg=#464646
"hi DiffText guibg=#4e9a06 guifg=#FFFFFF gui=bold
"hi DiffChange guibg=#4e9a06 guifg=#FFFFFF gui=bold
"hi DiffAdd guibg=#204a87 guifg=#FFFFFF gui=bold
"hi DiffDelete guibg=#5c3566 guifg=#FFFFFF gui=bold
hi DiffAdd guifg=#ffcc7f guibg=#a67429 gui=none
hi DiffChange guifg=#7fbdff guibg=#425c78 gui=none
hi DiffText guifg=#8ae234 guibg=#4e9a06 gui=none
"hi DiffDelete guifg=#252723 guibg=#000000 gui=none
hi DiffDelete guifg=#000000 guibg=#000000 gui=none
"hi ErrorMsg
hi Number guifg=#fce94f
hi Folded guibg=#000000 guifg=#FFFFFF gui=bold
hi vimFold guibg=#000000 guifg=#FFFFFF gui=bold
hi FoldColumn guibg=#000000 guifg=#FFFFFF gui=bold
hi LineNr guifg=#535353 guibg=#202020
hi NonText guifg=#535353 guibg=#202020
hi Folded guifg=#535353 guibg=#202020 gui=bold
hi FoldeColumn guifg=#535353 guibg=#202020 gui=bold
"hi VertSplit guibg=#ffffff guifg=#ffffff gui=none
hi VertSplit guibg=#3C3C3C guifg=#3C3C3C gui=none
hi StatusLine guifg=#FFFFFF guibg=#3C3C3C gui=none
hi StatusLineNC guifg=#808080 guibg=#3C3C3C gui=none
hi ModeMsg guifg=#fce94f
hi MoreMsg guifg=#fce94f
hi Visual guifg=#FFFFFF guibg=#3465a4 gui=none
hi VisualNOS guifg=#FFFFFF guibg=#204a87 gui=none
hi IncSearch guibg=#FFFFFF guifg=#ef5939
hi Search guibg=#ad7fa8 guifg=#FFFFFF
hi SpecialKey guifg=#8ae234
hi Title guifg=#ef5939
hi WarningMsg guifg=#ef5939
hi Number guifg=#fcaf3e
hi MatchParen guibg=#ad7fa8 guifg=#FFFFFF
hi Comment guifg=#8a8a8a
hi Constant guifg=#ef5939 gui=none
hi String guifg=#fce94f
hi Identifier guifg=#729fcf
hi Statement guifg=#ffffff gui=bold
hi PreProc guifg=#ffffff gui=bold
hi Type guifg=#8ae234 gui=bold
hi Special guifg=#e9b96e
hi Underlined guifg=#ad7fa8 gui=underline
hi Directory guifg=#729fcf
hi Ignore guifg=#555753
hi Todo guifg=#FFFFFF guibg=#ef5939 gui=bold
hi Function guifg=#ad7fa8
"hi WildMenu guibg=#2e3436 guifg=#ffffff gui=bold
"hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none
hi WildMenu guifg=#ffffff guibg=#3465a4 gui=none
hi Pmenu guibg=#000000 guifg=#c0c0c0
hi PmenuSel guibg=#3465a4 guifg=#ffffff
hi PmenuSbar guibg=#444444 guifg=#444444
hi PmenuThumb guibg=#888888 guifg=#888888
hi cppSTLType guifg=#729fcf gui=bold
hi spellBad guisp=#fcaf3e
hi spellCap guisp=#73d216
hi spellRare guisp=#ad7fa8
hi spellLocal guisp=#729fcf
hi link cppSTL Function
hi link Error Todo
hi link Character Number
hi link rubySymbol Number
hi link htmlTag htmlEndTag
"hi link htmlTagName htmlTag
hi link htmlLink Underlined
hi link pythonFunction Identifier
hi link Question Type
hi link CursorIM Cursor
hi link VisualNOS Visual
hi link xmlTag Identifier
hi link xmlTagName Identifier
hi link shDeref Identifier
hi link shVariable Function
hi link rubySharpBang Special
hi link perlSharpBang Special
hi link schemeFunc Statement
"hi link shSpecialVariables Constant
"hi link bashSpecialVariables Constant
" tabs (non gui)
hi TabLine guifg=#A3A3A3 guibg=#202020 gui=none
hi TabLineFill guifg=#535353 guibg=#202020 gui=none
hi TabLineSel guifg=#FFFFFF gui=bold
"hi TabLineSel guifg=#FFFFFF guibg=#000000 gui=bold
" vim: sw=4 ts=4

78
colors/dawn.vim Executable file
View File

@ -0,0 +1,78 @@
" Vim color file
" Maintainer: Ajit J. Thakkar (ajit AT unb DOT ca)
" Last Change: 2005 Nov. 24
" Version: 1.5
" URL: http://www.unb.ca/chem/ajit/vim.htm
" This GUI-only color scheme has a light grey background, and is a softer
" variant of the default and morning color schemes.
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "dawn"
hi Normal guifg=Black guibg=grey90
"hi Normal guifg=Black guibg=grey80
" Groups used in the 'highlight' and 'guicursor' options default value.
hi ErrorMsg gui=NONE guifg=Red guibg=Linen
hi IncSearch gui=NONE guifg=fg guibg=LightGreen
hi ModeMsg gui=NONE guifg=fg guibg=bg
hi StatusLine gui=NONE guifg=DarkBlue guibg=grey70
hi StatusLineNC gui=NONE guifg=grey90 guibg=grey70
hi VertSplit gui=NONE guifg=grey70 guibg=grey70
hi Visual gui=reverse guifg=Grey guibg=fg
hi VisualNOS gui=underline,bold guifg=fg guibg=bg
hi DiffText gui=NONE guifg=Blue guibg=LightYellow
"hi DiffText gui=NONE guifg=Blue guibg=MistyRose2
hi Cursor guifg=NONE guibg=Green
hi lCursor guifg=NONE guibg=Cyan
hi Directory guifg=Blue guibg=bg
hi LineNr guifg=Brown guibg=grey80
hi MoreMsg gui=NONE guifg=SeaGreen guibg=bg
hi NonText gui=NONE guifg=Blue guibg=grey80
hi Question gui=NONE guifg=SeaGreen guibg=bg
hi Search guifg=fg guibg=PeachPuff
hi SpecialKey guifg=Blue guibg=bg
hi Title gui=NONE guifg=Magenta guibg=bg
hi WarningMsg guifg=Red guibg=bg
hi WildMenu guifg=fg guibg=PeachPuff
hi Folded guifg=Grey40 guibg=bg " guifg=DarkBlue guibg=LightGrey
hi FoldColumn guifg=DarkBlue guibg=Grey
hi DiffAdd gui=NONE guifg=Blue guibg=LightCyan
hi DiffChange gui=NONE guifg=fg guibg=MistyRose2
hi DiffDelete gui=NONE guifg=LightBlue guibg=LightCyan
" Colors for syntax highlighting
hi Constant gui=NONE guifg=azure4 guibg=bg
"hi Constant gui=NONE guifg=DeepSkyBlue4 guibg=bg
hi String gui=NONE guifg=DarkOliveGreen4 guibg=bg
hi Special gui=NONE guifg=Cyan4 guibg=bg
hi Statement gui=NONE guifg=SlateBlue4 guibg=bg
hi Operator gui=NONE guifg=Purple guibg=bg
hi Ignore gui=NONE guifg=bg guibg=bg
if v:version >= 700
hi SpellBad gui=undercurl guisp=DeepPink1 guifg=fg guibg=bg
hi SpellCap gui=undercurl guisp=Blue guifg=fg guibg=bg
hi SpellRare gui=undercurl guisp=Black guifg=fg guibg=bg
hi SpellLocal gui=undercurl guisp=SeaGreen guifg=fg guibg=bg
endif
hi ToDo gui=NONE guifg=DeepPink1 guibg=bg
hi Error gui=NONE guifg=Red guibg=Linen
hi Comment gui=NONE guifg=RoyalBlue guibg=NONE
hi Identifier gui=NONE guifg=DodgerBlue3 guibg=NONE
"hi Identifier gui=NONE guifg=SteelBlue4 guibg=NONE
hi PreProc gui=NONE guifg=Magenta4 guibg=NONE
hi Type gui=NONE guifg=Brown guibg=NONE
hi Underlined gui=underline guifg=SlateBlue guibg=bg
"if exists("g:minimal_colors")
" hi Statement gui=NONE guifg=fg guibg=bg
" hi Identifier gui=NONE guifg=fg guibg=bg
" hi Type gui=NONE guifg=fg guibg=bg
"endif
" vim: sw=2

235
colors/deepblue.vim Executable file
View File

@ -0,0 +1,235 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: deepblue.vim
" Last Change: 2009-10-17 [17:02:05]
" Version: 110
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Help: :h deepblue.vim
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "deepblue"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
" cleanup
delfunction s:GetValue
" Default Highlight {{{1
"~~~~~~~~~~~~~~~~~~~
hi Normal guifg=#cccccc guibg=#001040 gui=NONE
hi Cursor guifg=bg guibg=#ffff66 gui=NONE
hi CursorIM guifg=bg guibg=#66ff66 gui=NONE
hi MatchParen guifg=bg guibg=#66ffff gui=NONE
" search
hi Search guifg=bg guibg=#33ff33 gui=NONE
hi IncSearch guifg=bg guibg=#ffff33 gui=NONE
" visual mode
if version < 700
hi Visual guifg=fg guibg=#001088 gui=NONE
hi VisualNOS guifg=fg guibg=#780078 gui=NONE
else
hi Visual guibg=#001088 gui=NONE
hi VisualNOS guibg=#780078 gui=NONE
endif
" line numbers and folding
hi LineNr guifg=#586878 guibg=bg gui=NONE
hi NonText guifg=#586878 guibg=bg gui=NONE
hi Folded guifg=#ed9393 guibg=#000030 gui=NONE
hi FoldColumn guifg=#ed9393 guibg=bg gui=NONE
hi SignColumn guifg=#9393ed guibg=bg gui=NONE
" windows, statusline
hi StatusLine guifg=bg guibg=#18cded gui=NONE
hi StatusLineNC guifg=#58ffcc guibg=#032e98 gui=NONE
hi VertSplit guifg=#58ffcc guibg=#032e98 gui=NONE
hi WildMenu guifg=#18ddfd guibg=#001e78 gui=underline
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=#18ddfd guibg=#001e78
hi Scrollbar guifg=#58ffcc guibg=#032e98
hi Tooltip guifg=#58ffcc guibg=#032e98
endif
endif
" vim >= 7.0 only
if version >= 700
hi CursorLine guibg=#102070 gui=NONE
hi CursorColumn guibg=#102070 gui=NONE
" tab pages
hi TabLine guifg=#58ffcc guibg=#032e98 gui=NONE
hi TabLineFill guifg=#58ffcc guibg=#032e98 gui=NONE
hi TabLineSel guifg=bg guibg=#18cded gui=NONE
" popup completion menu
hi Pmenu guifg=bg guibg=#18cded gui=NONE
hi PmenuSel guifg=#58ffde guibg=#032e78 gui=NONE
hi PmenuSbar guifg=#0e2e78 guibg=#0e2e78 gui=NONE
hi PmenuThumb guifg=#18cded guibg=#18cded gui=NONE
" spell checking
hi SpellBad guisp=#ed0000 gui=undercurl
hi SpellCap guisp=#0000ed gui=undercurl
hi SpellLocal guisp=#00eded gui=undercurl
hi SpellRare guisp=#ed00ed gui=undercurl
endif
" other texts
hi Question guifg=#66ff66 guibg=bg gui=NONE
hi WarningMsg guifg=#ef6666 guibg=bg gui=NONE
hi ErrorMsg guifg=#efefef guibg=#da0000 gui=NONE
hi Title guifg=#99ff66 guibg=bg gui=NONE
hi Directory guifg=#0099ff guibg=bg gui=NONE
hi MoreMsg guifg=#33ccfd guibg=#001088 gui=NONE
hi ModeMsg guifg=#33ccfd guibg=#001088 gui=NONE
hi SpecialKey guifg=#00ff99 guibg=bg gui=NONE
" diff
hi DiffAdd guifg=bg guibg=#99ef99 gui=NONE
hi DiffChange guifg=bg guibg=#9999ef gui=NONE
hi DiffDelete guifg=bg guibg=#ef9999 gui=NONE
hi DiffText guifg=bg guibg=#99efef gui=NONE
" Default Syntax Highlight {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~
hi Comment guifg=#557799 guibg=bg gui=NONE
hi SpecialComment guifg=#559999 guibg=bg gui=NONE
hi Constant guifg=#eded78 guibg=bg gui=NONE
hi Character guifg=#ed9393 guibg=bg gui=NONE
hi String guifg=#ed9393 guibg=bg gui=NONE
hi link Number Constant
hi link Boolean Constant
hi link Float Constant
hi Identifier guifg=#edcc48 guibg=bg gui=NONE
hi Function guifg=#edcc48 guibg=bg gui=NONE
hi Statement guifg=#00ccff guibg=bg gui=NONE
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
hi PreProc guifg=#66ccff guibg=bg gui=NONE
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi Type guifg=#99ff99 guibg=bg gui=NONE
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi Special guifg=#a878ed guibg=bg gui=NONE
hi link SpecialChar Special
hi link Delimiter Special
hi link Tag Special
hi Debug guifg=#999999 guibg=bg gui=NONE
hi Underlined guifg=#00ccff guibg=bg gui=underline
hi Ignore guifg=#203060 guibg=bg gui=NONE
hi Error guifg=#eaeaea guibg=#cc0000 gui=NONE
hi Todo guifg=bg guibg=#00ccff gui=underline
" Font Style {{{1
"~~~~~~~~~~~~
if 0 < s:mimic_font_style
" Function: s:MultiHi {{{2
" Sets highlight option(s) for all its arguments.
" Parameters:
" option -- a string in the form of "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the "bold & italics" groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "WildMenu", "TabLineSel", "StatusLine" , "MoreMsg", "ModeMsg", "Title" , "Statement", "PreProc", "Type", "Function" , "Identifier", "Special", "Todo")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "StatusLineNC", "Question" , "Comment", "SpecialComment")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "Identifier", "Function", "Todo")
endif
" cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui
" vim:noet:sw=22:ts=22:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

611
colors/dejavu.vim Executable file
View File

@ -0,0 +1,611 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: dejavu.vim
" Last Change: 2009-10-17 [17:02:20]
" Version: 125
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Help: :h dejavu.vim
" :h dejavu-options
" :h dejavu-variants
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "dejavu"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the user values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
let s:mimic_dejavu_alt = s:GetValue("mimic_dejavu_alt")
let s:mimic_dejavu_dark = s:GetValue("mimic_dejavu_dark")
" cleanup
delfunction s:GetValue
" Highlights {{{1
"~~~~~~~~~~~~
if "light" == &bg
" Light Colors: {{{2
" Default Highlight {{{3
"~~~~~~~~~~~~~~~~~~~
" Normal, cursors {{{4
if !s:mimic_dejavu_dark
hi Normal guifg=#000000 guibg=#ffffff gui=NONE ctermfg=black ctermbg=white cterm=NONE
hi Cursor guifg=bg guibg=#3dac7a gui=NONE ctermfg=fg ctermbg=green cterm=NONE
hi CursorIM guifg=bg guibg=#ac3d7a gui=NONE ctermfg=bg ctermbg=red cterm=NONE
hi MatchParen guifg=bg guibg=#3d7aac gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
else
hi Normal guifg=#000000 guibg=#e8e8e8 gui=NONE ctermfg=black ctermbg=gray cterm=NONE
hi Cursor guifg=bg guibg=#3d9c6a gui=NONE ctermfg=fg ctermbg=green cterm=NONE
hi CursorIM guifg=bg guibg=#9c3d6a gui=NONE ctermfg=bg ctermbg=red cterm=NONE
hi MatchParen guifg=bg guibg=#3d6a9c gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
endif
" search, visual mode {{{4
hi Search guifg=fg guibg=#ffff66 gui=NONE ctermfg=fg ctermbg=yellow cterm=NONE
hi IncSearch guifg=fg guibg=#66ff66 gui=NONE ctermfg=fg ctermbg=green cterm=NONE
if version < 700
if !s:mimic_dejavu_dark
hi Visual guifg=bg guibg=#90a0d8 gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
hi VisualNOS guifg=bg guibg=#d890a0 gui=NONE ctermfg=bg ctermbg=red cterm=NONE
hi LineNr guifg=#aaaaaa guibg=bg gui=NONE ctermfg=gray ctermbg=bg cterm=NONE
else
hi Visual guifg=bg guibg=#8090c8 gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
hi VisualNOS guifg=bg guibg=#c88090 gui=NONE ctermfg=bg ctermbg=red cterm=NONE
hi LineNr guifg=#888888 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
endif
else
if !s:mimic_dejavu_dark
hi Visual guibg=#cfcfd7 gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
hi VisualNOS guibg=#d7cfdf gui=NONE ctermfg=bg ctermbg=red cterm=NONE
hi LineNr guifg=#aaaaaa gui=NONE ctermfg=gray ctermbg=bg cterm=NONE
else
hi Visual guibg=#bfbfc7 gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
hi VisualNOS guibg=#c7bfcf gui=NONE ctermfg=bg ctermbg=red cterm=NONE
hi LineNr guifg=#888888 gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
endif
endif
" folding {{{4
if !s:mimic_dejavu_dark
hi NonText guifg=#aaaaaa guibg=bg gui=NONE ctermfg=gray ctermbg=bg cterm=NONE
hi Folded guifg=#1a7c3c guibg=#eaeaea gui=NONE ctermfg=darkgreen ctermbg=gray cterm=NONE
hi FoldColumn guifg=#1a7c3c guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
else
hi NonText guifg=#888888 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi Folded guifg=#0a6c2c guibg=#cecece gui=NONE ctermfg=darkgreen ctermbg=darkgray cterm=NONE
hi FoldColumn guifg=#0a6c2c guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
endif
hi SignColumn guifg=#1a7c3c guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
" windows, statusline {{{4
if !s:mimic_dejavu_dark
hi StatusLine guifg=bg guibg=#007777 gui=NONE ctermfg=bg ctermbg=darkcyan cterm=NONE
hi StatusLineNC guifg=#004455 guibg=#bbbbbb gui=NONE ctermfg=darkcyan ctermbg=gray cterm=NONE
hi VertSplit guifg=#004455 guibg=#bbbbbb gui=NONE ctermfg=darkcyan ctermbg=gray cterm=NONE
hi WildMenu guifg=#007777 guibg=bg gui=underline ctermfg=darkcyan ctermbg=bg cterm=NONE
else
hi StatusLine guifg=bg guibg=#006666 gui=NONE ctermfg=white ctermbg=darkcyan cterm=NONE
hi StatusLineNC guifg=#004455 guibg=#aaaaaa gui=NONE ctermfg=cyan ctermbg=darkgray cterm=NONE
hi VertSplit guifg=#004455 guibg=#aaaaaa gui=NONE ctermfg=cyan ctermbg=darkgray cterm=NONE
hi WildMenu guifg=#006666 guibg=bg gui=underline ctermfg=darkcyan ctermbg=white cterm=NONE
endif
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=#004455 guibg=#aaaaaa
hi Scrollbar guifg=#004455 guibg=#aaaaaa
hi Tooltip guifg=black guibg=lightyellow
endif
endif
" vim >= 7.0 only {{{4
if version >= 700
if !s:mimic_dejavu_dark
hi CursorLine guibg=#eaeaef gui=NONE ctermbg=cyan cterm=NONE
hi CursorColumn guibg=#eaeaef gui=NONE ctermbg=cyan cterm=NONE
" tab pages
hi TabLine guifg=#004455 guibg=#bbbbbb gui=NONE ctermfg=darkcyan ctermbg=gray cterm=NONE
hi TabLineFill guifg=#004455 guibg=#bbbbbb gui=NONE ctermfg=darkcyan ctermbg=gray cterm=NONE
hi TabLineSel guifg=bg guibg=#007777 gui=NONE ctermfg=bg ctermbg=darkcyan cterm=NONE
" popup completion menu
hi Pmenu guifg=bg guibg=#23818e gui=NONE ctermfg=bg ctermbg=darkcyan cterm=NONE
hi PmenuSel guifg=#23818e guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
hi PmenuSbar guifg=#606070 guibg=#606070 gui=NONE ctermfg=darkgray ctermbg=darkgray cterm=NONE
hi PmenuThumb guifg=#007777 guibg=#007777 gui=NONE ctermfg=darkcyan ctermbg=darkcyan cterm=NONE
else " dark colors
hi CursorLine guibg=#d2d2db gui=NONE ctermbg=cyan cterm=NONE
hi CursorColumn guibg=#d2d2db gui=NONE ctermbg=cyan cterm=NONE
" tab pages
hi TabLine guifg=#004455 guibg=#aaaaaa gui=NONE ctermfg=cyan ctermbg=darkgray cterm=NONE
hi TabLineFill guifg=#004455 guibg=#aaaaaa gui=NONE ctermfg=cyan ctermbg=darkgray cterm=NONE
hi TabLineSel guifg=bg guibg=#006666 gui=NONE ctermfg=white ctermbg=darkcyan cterm=NONE
" popup completion menu
hi Pmenu guifg=bg guibg=#13717e gui=NONE ctermfg=white ctermbg=darkcyan cterm=NONE
hi PmenuSel guifg=#13717e guibg=bg gui=NONE ctermfg=darkcyan ctermbg=white cterm=NONE
hi PmenuSbar guifg=#505060 guibg=#505060 gui=NONE ctermfg=darkgray ctermbg=darkgray cterm=NONE
hi PmenuThumb guifg=#006666 guibg=#006666 gui=NONE ctermfg=darkcyan ctermbg=darkcyan cterm=NONE
endif
" spell checking
hi SpellBad guisp=#cc6666 guibg=#ffdada gui=undercurl ctermfg=white ctermbg=red cterm=NONE
hi SpellCap guisp=#6666cc guibg=#dadaff gui=undercurl ctermfg=white ctermbg=blue cterm=NONE
hi SpellLocal guisp=#66cccc guibg=#daffff gui=undercurl ctermfg=black ctermbg=cyan cterm=NONE
hi SpellRare guisp=#cc66cc guibg=#ffdaff gui=undercurl ctermfg=black ctermbg=magenta cterm=NONE
endif
"}}}4
" other texts {{{4
if !s:mimic_dejavu_dark
hi Question guifg=#44a268 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
hi Title guifg=#a0214a guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi Directory guifg=#a26834 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi MoreMsg guifg=#3468a2 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi ModeMsg guifg=#004e8e guibg=#eaeaea gui=NONE ctermfg=darkcyan ctermbg=gray cterm=NONE
hi SpecialKey guifg=#a2a244 guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
else
hi Question guifg=#349258 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
hi Title guifg=#90113a guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi Directory guifg=#925824 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi MoreMsg guifg=#245892 guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi ModeMsg guifg=#002e7e guibg=#cacaca gui=NONE ctermfg=darkcyan ctermbg=darkgray cterm=NONE
hi SpecialKey guifg=#929234 guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
endif
hi WarningMsg guifg=#af2828 guibg=bg gui=NONE ctermfg=red ctermbg=bg cterm=NONE
hi ErrorMsg guifg=#efefef guibg=#cc0000 gui=NONE ctermfg=white ctermbg=red cterm=NONE
" diff {{{4
hi DiffAdd guifg=fg guibg=#66ff33 gui=NONE ctermfg=fg ctermbg=green cterm=NONE
hi DiffChange guifg=fg guibg=#33ccff gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
hi DiffDelete guifg=fg guibg=#ffff33 gui=NONE ctermfg=fg ctermbg=yellow cterm=NONE
hi DiffText guifg=fg guibg=#33ffff gui=NONE ctermfg=fg ctermbg=cyan cterm=NONE
" }}}3
" Default Syntax Highlight {{{3
"~~~~~~~~~~~~~~~~~~~~~~~~~~
if !s:mimic_dejavu_dark
" normal colors, for white background {{{4
hi Comment guifg=#026175 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
hi SpecialComment guifg=#027561 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Character guifg=#008844 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi String guifg=#008844 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Constant guifg=#1868ad guibg=bg gui=NONE ctermfg=blue ctermbg=bg cterm=NONE
hi Identifier guifg=#9c2a2a guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi Statement guifg=#a26834 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi PreProc guifg=#344482 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi PreCondit guifg=#6d5ca0 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi Type guifg=#a23468 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi Special guifg=#00547c guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi SpecialChar guifg=#007185 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
hi Delimiter guifg=#008571 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Debug guifg=#888888 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi Underlined guifg=#a05a31 guibg=bg gui=underline ctermfg=brown ctermbg=bg cterm=underline
hi Ignore guifg=#e0e0e0 guibg=bg gui=NONE ctermfg=bg ctermbg=bg cterm=NONE
hi Error guifg=#cc0000 guibg=bg gui=underline ctermfg=white ctermbg=red cterm=NONE
hi Todo guifg=bg guibg=#11a04a gui=NONE ctermfg=bg ctermbg=darkgreen cterm=NONE
" }}}4
else
" darker colors, for lightgray background {{{4
hi Comment guifg=#005165 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
hi SpecialComment guifg=#006551 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Character guifg=#007733 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi String guifg=#007733 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Constant guifg=#08589d guibg=bg gui=NONE ctermfg=blue ctermbg=bg cterm=NONE
hi Identifier guifg=#8c1a1a guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi Statement guifg=#925824 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi PreProc guifg=#243472 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi PreCondit guifg=#5d4c90 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi Type guifg=#922458 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi Special guifg=#00446c guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi SpecialChar guifg=#006175 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
hi Delimiter guifg=#007561 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Debug guifg=#666666 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi Underlined guifg=#a05a31 guibg=bg gui=underline ctermfg=brown ctermbg=bg cterm=NONE
hi Ignore guifg=#bbbbbb guibg=bg gui=NONE ctermfg=bg ctermbg=bg cterm=NONE
hi Error guifg=#bb0000 guibg=bg gui=underline ctermfg=white ctermbg=red cterm=NONE
hi Todo guifg=bg guibg=#01903a gui=NONE ctermfg=bg ctermbg=darkgreen cterm=NONE
" }}}4
endif
" linked groups {{{4
hi link Float Constant
hi link Number Constant
hi link Boolean Constant
hi link Function Identifier
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi link Tag Special
"}}}2
else
" Dark Colors: {{{2
" Default Highlight {{{3
"~~~~~~~~~~~~~~~~~~~
" Normal, cursors {{{4
if !s:mimic_dejavu_dark
if !s:mimic_dejavu_alt
hi Normal guifg=#b0b0b0 guibg=#333333 gui=NONE ctermfg=grey ctermbg=black cterm=NONE
else
hi Normal guifg=#b0b0b0 guibg=#000050 gui=NONE ctermfg=grey ctermbg=blue cterm=NONE
endif
else
if !s:mimic_dejavu_alt
hi Normal guifg=#b0b0b0 guibg=#000000 gui=NONE ctermfg=grey ctermbg=black cterm=NONE
else
hi Normal guifg=#b0b0b0 guibg=#000025 gui=NONE ctermfg=grey ctermbg=darkblue cterm=NONE
endif
endif
hi Cursor guifg=bg guibg=#8dfcba gui=NONE ctermfg=bg ctermbg=green cterm=NONE
hi CursorIM guifg=bg guibg=#fc8dba gui=NONE ctermfg=bg ctermbg=magenta cterm=NONE
hi MatchParen guifg=bg guibg=#8ddafc gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
" search, visual mode {{{4
hi Search guifg=bg guibg=#d5d113 gui=NONE ctermfg=bg ctermbg=yellow cterm=NONE
hi IncSearch guifg=bg guibg=#63e593 gui=NONE ctermfg=bg ctermbg=green cterm=NONE
if version < 700
if !s:mimic_dejavu_dark
hi Visual guifg=fg guibg=#1020a8 gui=NONE ctermfg=fg ctermbg=blue cterm=NONE
hi VisualNOS guifg=fg guibg=#a82010 gui=NONE ctermfg=fg ctermbg=red cterm=NONE
else
hi Visual guifg=fg guibg=#000073 gui=NONE ctermfg=fg ctermbg=darkblue cterm=NONE
hi VisualNOS guifg=fg guibg=#730000 gui=NONE ctermfg=fg ctermbg=darkred cterm=NONE
endif
else " visual mode with transparent fg
if !s:mimic_dejavu_dark
hi Visual guibg=#1020a8 gui=NONE ctermbg=blue cterm=NONE
hi VisualNOS guibg=#a81020 gui=NONE ctermbg=red cterm=NONE
else
hi Visual guibg=#000073 gui=NONE ctermbg=blue cterm=NONE
hi VisualNOS guibg=#730000 gui=NONE ctermbg=red cterm=NONE
endif
endif
" correct the cterm colors for blue/darkblue backgrounds,
" this reduces too much nested IFs in the above block.
if !has("gui_running") && s:mimic_dejavu_alt
if !s:mimic_dejavu_dark
hi Visual ctermfg=fg ctermbg=darkblue cterm=NONE
hi VisualNOS ctermfg=fg ctermbg=darkred cterm=NONE
else
hi Visual ctermfg=fg ctermbg=blue cterm=NONE
hi VisualNOS ctermfg=fg ctermbg=red cterm=NONE
endif
" make fg transparent
if version < 700
hi Visual ctermfg=NONE
hi VisualNOS ctermfg=NONE
else
hi Visual ctermfg=NONE
hi VisualNOS ctermfg=NONE
endif
endif
" line numbers, folding {{{4
if !s:mimic_dejavu_dark
if !s:mimic_dejavu_alt
hi LineNr guifg=#666666 guibg=bg gui=NONE ctermfg=gray ctermbg=bg cterm=NONE
hi NonText guifg=#666666 guibg=bg gui=NONE ctermfg=gray ctermbg=bg cterm=NONE
hi Folded guifg=#7aec9c guibg=#151515 gui=NONE ctermfg=green ctermbg=darkgray cterm=NONE
else
hi LineNr guifg=#444488 guibg=bg gui=NONE ctermfg=gray ctermbg=bg cterm=NONE
hi NonText guifg=#444488 guibg=bg gui=NONE ctermfg=gray ctermbg=bg cterm=NONE
hi Folded guifg=#7aec9c guibg=#000030 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
endif
else
if !s:mimic_dejavu_alt
hi LineNr guifg=#444444 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi NonText guifg=#444444 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi Folded guifg=#6adc8c guibg=#252525 gui=NONE ctermfg=green ctermbg=darkgray cterm=NONE
else
hi LineNr guifg=#333366 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi NonText guifg=#333366 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi Folded guifg=#6adc8c guibg=#000050 gui=NONE ctermfg=green ctermbg=blue cterm=NONE
endif
endif
hi FoldColumn guifg=#7aec9c guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi SignColumn guifg=#7a9cec guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
" windows, statusline {{{4
hi StatusLine guifg=bg guibg=#13c1ce gui=NONE ctermfg=bg ctermbg=cyan cterm=NONE
if !s:mimic_dejavu_dark
if !s:mimic_dejavu_alt
hi StatusLineNC guifg=#13c1ce guibg=#303080 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi VertSplit guifg=#13c1ce guibg=#303080 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi ModeMsg guifg=#44fec8 guibg=#202020 gui=NONE ctermfg=green ctermbg=darkgray cterm=NONE
else
hi StatusLineNC guifg=#33e1ee guibg=#2020b0 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi VertSplit guifg=#33e1ee guibg=#2020b0 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi ModeMsg guifg=#44fec8 guibg=#1020a0 gui=NONE ctermfg=green ctermbg=darkblue cterm=NONE
endif
else
if !s:mimic_dejavu_alt
hi StatusLineNC guifg=#13c1ce guibg=#101060 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi VertSplit guifg=#13c1ce guibg=#101060 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi ModeMsg guifg=#44fec8 guibg=#333333 gui=NONE ctermfg=green ctermbg=darkgray cterm=NONE
else
hi StatusLineNC guifg=#23d1de guibg=#101060 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi VertSplit guifg=#23d1de guibg=#101060 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi ModeMsg guifg=#44fec8 guibg=#102080 gui=NONE ctermfg=green ctermbg=blue cterm=NONE
endif
endif
hi WildMenu guifg=#13c1ce guibg=bg gui=underline ctermfg=cyan ctermbg=bg cterm=NONE
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=#13c1ce guibg=bg
hi Scrollbar guifg=#13a1ae guibg=#202060
hi Tooltip guifg=bg guibg=#61f09a
endif
endif
" vim >= 7.0 only {{{4
if version >= 700
" tab pages
if !s:mimic_dejavu_dark
if !s:mimic_dejavu_alt
hi CursorLine guibg=#202020 gui=NONE ctermbg=darkgray cterm=NONE
hi CursorColumn guibg=#202020 gui=NONE ctermbg=darkgray cterm=NONE
hi TabLine guifg=#13c1ce guibg=#303080 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi TabLineFill guifg=#13c1ce guibg=#303080 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
else
hi CursorLine guibg=#101070 gui=NONE ctermbg=darkblue cterm=NONE
hi CursorColumn guibg=#101070 gui=NONE ctermbg=darkblue cterm=NONE
hi TabLine guifg=#13c1ce guibg=#303080 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi TabLineFill guifg=#13c1ce guibg=#303080 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
endif
else
if !s:mimic_dejavu_alt
hi CursorLine guibg=#232323 gui=NONE ctermbg=darkgray cterm=NONE
hi CursorColumn guibg=#232323 gui=NONE ctermbg=darkgray cterm=NONE
hi TabLine guifg=#13c1ce guibg=#101060 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
hi TabLineFill guifg=#13c1ce guibg=#101060 gui=NONE ctermfg=cyan ctermbg=darkblue cterm=NONE
else
hi CursorLine guibg=#101050 gui=NONE ctermbg=blue cterm=NONE
hi CursorColumn guibg=#101050 gui=NONE ctermbg=blue cterm=NONE
hi TabLine guifg=#13c1ce guibg=#101060 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
hi TabLineFill guifg=#13c1ce guibg=#101060 gui=NONE ctermfg=cyan ctermbg=blue cterm=NONE
endif
endif
hi TabLineSel guifg=bg guibg=#13c1ce gui=NONE ctermfg=bg ctermbg=cyan cterm=NONE
" popup completion menu
hi Pmenu guifg=bg guibg=#23d1de gui=NONE ctermfg=bg ctermbg=cyan cterm=NONE
hi PmenuSel guifg=#23d1de guibg=bg gui=NONE ctermfg=cyan ctermbg=bg cterm=NONE
hi PmenuSbar guifg=#303040 guibg=#303040 gui=NONE ctermfg=darkblue ctermbg=darkblue cterm=NONE
hi PmenuThumb guifg=#13c1ce guibg=#13c1ce gui=NONE ctermfg=cyan ctermbg=cyan cterm=NONE
" spell checking
hi SpellBad guisp=#ff9999 gui=undercurl ctermfg=white ctermbg=red cterm=NONE
hi SpellCap guisp=#9999ff gui=undercurl ctermfg=white ctermbg=blue cterm=NONE
hi SpellLocal guisp=#99ffff gui=undercurl ctermfg=black ctermbg=cyan cterm=NONE
hi SpellRare guisp=#ff99ff gui=undercurl ctermfg=black ctermbg=magenta cterm=NONE
endif
" }}}4
" other texts {{{4
hi Question guifg=#94f2b8 guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi WarningMsg guifg=#ff7878 guibg=bg gui=NONE ctermfg=red ctermbg=bg cterm=NONE
hi ErrorMsg guifg=#efefef guibg=#cc0000 gui=NONE ctermfg=white ctermbg=red cterm=NONE
hi Title guifg=#f0719a guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
hi MoreMsg guifg=#84b8f2 guibg=bg gui=NONE ctermfg=cyan ctermbg=bg cterm=NONE
hi SpecialKey guifg=#d2d284 guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
if !s:mimic_dejavu_dark
hi Directory guifg=#f2b884 guibg=bg gui=NONE ctermfg=yellow ctermbg=bg cterm=NONE
else
hi Directory guifg=#f2b884 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
endi
" diff {{{4
hi DiffAdd guifg=bg guibg=#66ff33 gui=NONE ctermfg=black ctermbg=green cterm=NONE
hi DiffChange guifg=bg guibg=#33ccff gui=NONE ctermfg=white ctermbg=blue cterm=NONE
hi DiffDelete guifg=bg guibg=#ffff33 gui=NONE ctermfg=black ctermbg=yellow cterm=NONE
hi DiffText guifg=bg guibg=#33ffff gui=NONE ctermfg=black ctermbg=cyan cterm=NONE
" }}}3
" Default Syntax Highlight {{{3
"~~~~~~~~~~~~~~~~~~~~~~~~~~
if !s:mimic_dejavu_alt
hi Constant guifg=#68b8fd guibg=bg gui=NONE ctermfg=cyan ctermbg=bg cterm=NONE
hi PreProc guifg=#8494d2 guibg=bg gui=NONE ctermfg=blue ctermbg=bg cterm=NONE
hi PreCondit guifg=#9d8cd0 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi SpecialChar guifg=#13b1d5 guibg=bg gui=NONE ctermfg=blue ctermbg=bg cterm=NONE
hi Ignore guifg=#454545 guibg=bg gui=NONE ctermfg=bg ctermbg=bg cterm=NONE
else
hi Constant guifg=#68b8fd guibg=bg gui=NONE ctermfg=white ctermbg=bg cterm=NONE
hi PreProc guifg=#8494d2 guibg=bg gui=NONE ctermfg=white ctermbg=bg cterm=NONE
hi PreCondit guifg=#9d8cd0 guibg=bg gui=NONE ctermfg=white ctermbg=bg cterm=NONE
hi SpecialChar guifg=#13b1d5 guibg=bg gui=NONE ctermfg=cyan ctermbg=bg cterm=NONE
hi Ignore guifg=#151575 guibg=bg gui=NONE ctermfg=bg ctermbg=bg cterm=NONE
endif
hi Comment guifg=#13c1d5 guibg=bg gui=NONE ctermfg=cyan ctermbg=bg cterm=NONE
hi SpecialComment guifg=#55d5c1 guibg=bg gui=NONE ctermfg=cyan ctermbg=bg cterm=NONE
hi Character guifg=#55eea4 guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi String guifg=#55eea4 guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi Identifier guifg=#ec7a7a guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
hi Statement guifg=#f2b884 guibg=bg gui=NONE ctermfg=yellow ctermbg=bg cterm=NONE
hi Type guifg=#f284b8 guibg=bg gui=NONE ctermfg=magenta ctermbg=bg cterm=NONE
hi Special guifg=#3bc4ec guibg=bg gui=NONE ctermfg=cyan ctermbg=bg cterm=NONE
hi Delimiter guifg=#33d895 guibg=bg gui=NONE ctermfg=green ctermbg=bg cterm=NONE
hi Debug guifg=#808080 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi Underlined guifg=#f0aa81 guibg=bg gui=underline ctermfg=yellow ctermbg=bg cterm=underline
hi Error guifg=#efefef guibg=#cc0000 gui=underline ctermfg=white ctermbg=red cterm=NONE
hi Todo guifg=bg guibg=#61f09a gui=NONE ctermfg=bg ctermbg=green cterm=NONE
" darker style for cterm only {{{4
"
" Als Bonus setzen wir die dunklere Farben nur für cterm, und nur damit es
" Ein bischen unterschied gibt zwischen dark=0 und dark=1.
"
if 0 != s:mimic_dejavu_dark && !s:mimic_dejavu_alt
hi Comment ctermfg=darkcyan ctermbg=bg cterm=NONE
hi SpecialComment ctermfg=cyan ctermbg=bg cterm=NONE
hi Constant ctermfg=darkblue ctermbg=bg cterm=NONE
hi PreProc ctermfg=darkblue ctermbg=bg cterm=NONE
hi PreCondit ctermfg=darkblue ctermbg=bg cterm=NONE
hi Character ctermfg=darkgreen ctermbg=bg cterm=NONE
hi String ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Identifier ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Statement ctermfg=darkyellow ctermbg=bg cterm=NONE
hi Type ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi Special ctermfg=darkcyan ctermbg=bg cterm=NONE
hi SpecialChar ctermfg=darkblue ctermbg=bg cterm=NONE
hi Delimiter ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Debug ctermfg=darkgray ctermbg=bg cterm=NONE
hi Underlined ctermfg=darkyellow ctermbg=bg cterm=underline
endif
" linked groups {{{4
hi link Float Constant
hi link Number Constant
hi link Boolean Constant
hi link Function Identifier
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link Tag Special
" }}}2
endif
" Font Style {{{1
"~~~~~~~~~~~~
if has("gui_running") && 0 < s:mimic_font_style
" Function: s:MultiHi {{{2
" Sets highlight option(s) for all its arguments.
" Parameters:
" option -- a string in the form of "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the bold & italics groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "WildMenu", "TabLineSel", "StatusLine", "MoreMsg", "ModeMsg", "Title" , "Constant", "Statement", "PreProc", "PreCondit", "Type", "Identifier", "Special", "SpecialChar", "Todo")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "StatusLineNC", "Directory", "Comment", "SpecialComment", "Question")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "MoreMsg", "Title", "Identifier", "Todo")
endif
" cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui s:mimic_dejavu_alt s:mimic_dejavu_dark
" vim:noet:sw=24:ts=24:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

141
colors/denim.vim Executable file
View File

@ -0,0 +1,141 @@
" Maintainer: Tim Aldrich <aldy0169@yahoo.com>
" Last Change: 19 November 2001
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="denim"
" GUI colors {{{
hi Normal guifg=#FFFFFF guibg=#000038
hi Cursor guifg=#000038 guibg=#FFFFFF
hi CursorIM guifg=#6699CC guibg=#99CCCC
hi Directory guifg=#33CCFF guibg=#6699CC
hi DiffAdd guifg=#FFFFCC guibg=#000038
hi DiffChange guifg=#FF9900 guibg=#000038
hi DiffDelete guifg=#999999 guibg=#000038
hi DiffText guifg=#FFFFFF guibg=#000038
hi ErrorMsg guifg=#FFFFFF guibg=#FF0000
hi VertSplit guifg=#FFFFFF guibg=#000038
hi Folded guifg=#999999 guibg=#003366
hi FoldColumn guifg=#0000EE guibg=#6699CC
hi IncSearch guifg=#FFFF00 guibg=#000038
hi LineNr guifg=#FFFFEE guibg=#000038
hi ModeMsg guifg=#FFFFFF guibg=#000038
hi MoreMsg guifg=#FFFFFF guibg=#000038
hi NonText guifg=#FFFFFF guibg=#00003D
hi Question guifg=#FFFFFF guibg=#0000EE
hi Search guifg=#993300 guibg=#6699CC
hi SpecialKey guifg=#FFFF00 guibg=#000038
hi StatusLine guifg=#FFFFFF guibg=#000038
hi StatusLineNC guifg=#CCCCCC guibg=#000038
hi Title guifg=#FFFFFF guibg=#FF9900
hi Visual guifg=#003366 guibg=#6699FF
hi WarningMsg guifg=#FF0000 guibg=#FFFFFF
hi WildMenu guifg=#000038 guibg=#999999
" }}}
" cterm colors {{{
hi Normal ctermfg=white ctermbg=darkblue
hi Cursor ctermfg=darkblue ctermbg=white
hi CursorIM ctermfg=lightcyan ctermbg=lightcyan
hi Directory ctermfg=lightblue ctermbg=lightcyan
hi DiffAdd ctermfg=LightYellow ctermbg=darkblue
hi DiffChange ctermfg=darkred ctermbg=darkblue
hi DiffDelete ctermfg=grey ctermbg=darkblue
hi DiffText ctermfg=white ctermbg=darkblue
hi ErrorMsg ctermfg=red ctermbg=lightcyan
hi VertSplit ctermfg=white ctermbg=darkblue
hi Folded ctermfg=grey ctermbg=darkblue
hi FoldColumn ctermfg=darkred ctermbg=lightcyan
hi IncSearch ctermfg=yellow ctermbg=darkblue
hi LineNr ctermfg=lightyellow ctermbg=darkblue
hi ModeMsg ctermfg=white ctermbg=darkblue
hi MoreMsg ctermfg=white ctermbg=darkblue
hi NonText ctermfg=white ctermbg=lightblue
hi Question ctermfg=white ctermbg=darkblue
hi Search ctermfg=darkred ctermbg=lightcyan
hi SpecialKey ctermfg=yellow ctermbg=darkblue
hi StatusLine ctermfg=white ctermbg=darkblue
hi StatusLineNC ctermfg=lightgrey ctermbg=darkblue
hi Title ctermfg=white ctermbg=yellow
hi Visual ctermfg=lightblue ctermbg=cyan
hi WarningMsg ctermfg=red ctermbg=white
hi WildMenu ctermfg=darkblue ctermbg=grey
" }}}
" GUI hilight groups {{{
hi Comment guifg=#999999
hi Constant guifg=#33FF33
hi String guifg=#CCCC99
hi Character guifg=#33FF33
hi Number guifg=#33FF33
hi Boolean guifg=#33FF33
hi Float guifg=#33FF33
hi Identifier guifg=#33FFFF
hi Function guifg=#33FFFF
hi Statement guifg=#FFFFCC
hi Conditional guifg=#FFFFCC
hi Repeat guifg=#FFFFCC
hi Label guifg=#33FF99
hi Operator guifg=#FFFF00
hi Keyword guifg=#FFFF00
hi Exception guifg=#FFFFAA
hi PreProc guifg=#66CCFF
hi Include guifg=#66CCFF
hi Define guifg=#66CCFF
hi Macro guifg=#66CCFF
hi PreCondit guifg=#66CCFF
hi Type guifg=#33FF99
hi StorageClass guifg=#33FF99
hi Structure guifg=#33FF99
hi Typedef guifg=#33FF99
hi Special guifg=#00FF00
hi SpecialChar guifg=#00FF00
hi Tag guifg=#CCCCFF
hi Delimiter guifg=#CCCCFF
hi SpecialComment guifg=#FFFFCC
hi Debug guifg=#CC3300
hi Ignore guifg=#0066AA
hi Error guifg=#FF0000 guibg=#FFFFFF
hi Todo guifg=#999999 guibg=#FFFFFF
" }}}
" cterm hilight groups {{{
hi Comment ctermfg=grey
hi Constant ctermfg=lightgreen
hi String ctermfg=brown
hi Character ctermfg=lightgreen
hi Number ctermfg=lightgreen
hi Boolean ctermfg=lightgreen
hi Float ctermfg=lightgreen
hi Identifier ctermfg=lightcyan
hi Function ctermfg=lightcyan
hi Statement ctermfg=lightyellow
hi Conditional ctermfg=lightyellow
hi Repeat ctermfg=lightyellow
hi Label ctermfg=lightcyan
hi Operator ctermfg=yellow
hi Keyword ctermfg=yellow
hi Exception ctermfg=yellow
hi PreProc ctermfg=darkcyan
hi Include ctermfg=darkcyan
hi Define ctermfg=darkcyan
hi Macro ctermfg=darkcyan
hi PreCondit ctermfg=darkcyan
hi Type ctermfg=lightcyan
hi StorageClass ctermfg=lightcyan
hi Structure ctermfg=lightcyan
hi Typedef ctermfg=lightcyan
hi Special ctermfg=green
hi SpecialChar ctermfg=green
hi Tag ctermfg=brown
hi Delimiter ctermfg=brown
hi SpecialComment ctermfg=lightyellow
hi Debug ctermfg=magenta
hi Ignore ctermfg=lightblue
hi Error ctermfg=red ctermbg=white
hi Todo ctermfg=grey ctermbg=white
" }}}

105
colors/desert.vim Executable file
View File

@ -0,0 +1,105 @@
" Vim color file
" Maintainer: Hans Fugal <hans@fugal.net>
" Last Change: $Date: 2003/06/02 19:28:15 $
" URL: http://hans.fugal.net/vim/colors/desert.vim
" cool help screens
" :he group-name
" :he highlight-groups
" :he cterm-colors
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="desert"
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
" color terminal definitions
hi SpecialKey ctermfg=darkgreen
hi NonText cterm=bold ctermfg=darkblue
hi Directory ctermfg=darkcyan
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 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 Comment ctermfg=darkcyan
hi Constant ctermfg=brown
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 ctermfg=darkgrey
hi Error cterm=bold ctermfg=7 ctermbg=1
"vim: sw=4

338
colors/desert256.vim Executable file
View File

@ -0,0 +1,338 @@
" Vim color file
" Maintainer: Henry So, Jr. <henryso@panix.com>
" These are the colors of the "desert" theme by Hans Fugal with a few small
" modifications (namely that I lowered the intensity of the normal white and
" made the normal and nontext backgrounds black), modified to work with 88-
" and 256-color xterms.
"
" The original "desert" theme is available as part of the vim distribution or
" at http://hans.fugal.net/vim/colors/.
"
" The real feature of this color scheme, with a wink to the "inkpot" theme, is
" the programmatic approximation of the gui colors to the palettes of 88- and
" 256- color xterms. The functions that do this (folded away, for
" readability) are calibrated to the colors used for Thomas E. Dickey's xterm
" (version 200), which is available at http://dickey.his.com/xterm/xterm.html.
"
" I struggled with trying to parse the rgb.txt file to avoid the necessity of
" converting color names to #rrggbb form, but decided it was just not worth
" the effort. Maybe someone seeing this may decide otherwise...
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="desert256"
if has("gui_running") || &t_Co == 88 || &t_Co == 256
" functions {{{
" returns an approximate grey index for the given grey level
fun <SID>grey_number(x)
if &t_Co == 88
if a:x < 23
return 0
elseif a:x < 69
return 1
elseif a:x < 103
return 2
elseif a:x < 127
return 3
elseif a:x < 150
return 4
elseif a:x < 173
return 5
elseif a:x < 196
return 6
elseif a:x < 219
return 7
elseif a:x < 243
return 8
else
return 9
endif
else
if a:x < 14
return 0
else
let l:n = (a:x - 8) / 10
let l:m = (a:x - 8) % 10
if l:m < 5
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" returns the actual grey level represented by the grey index
fun <SID>grey_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 46
elseif a:n == 2
return 92
elseif a:n == 3
return 115
elseif a:n == 4
return 139
elseif a:n == 5
return 162
elseif a:n == 6
return 185
elseif a:n == 7
return 208
elseif a:n == 8
return 231
else
return 255
endif
else
if a:n == 0
return 0
else
return 8 + (a:n * 10)
endif
endif
endfun
" returns the palette index for the given grey index
fun <SID>grey_color(n)
if &t_Co == 88
if a:n == 0
return 16
elseif a:n == 9
return 79
else
return 79 + a:n
endif
else
if a:n == 0
return 16
elseif a:n == 25
return 231
else
return 231 + a:n
endif
endif
endfun
" returns an approximate color index for the given color level
fun <SID>rgb_number(x)
if &t_Co == 88
if a:x < 69
return 0
elseif a:x < 172
return 1
elseif a:x < 230
return 2
else
return 3
endif
else
if a:x < 75
return 0
else
let l:n = (a:x - 55) / 40
let l:m = (a:x - 55) % 40
if l:m < 20
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" returns the actual color level for the given color index
fun <SID>rgb_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 139
elseif a:n == 2
return 205
else
return 255
endif
else
if a:n == 0
return 0
else
return 55 + (a:n * 40)
endif
endif
endfun
" returns the palette index for the given R/G/B color indices
fun <SID>rgb_color(x, y, z)
if &t_Co == 88
return 16 + (a:x * 16) + (a:y * 4) + a:z
else
return 16 + (a:x * 36) + (a:y * 6) + a:z
endif
endfun
" returns the palette index to approximate the given R/G/B color levels
fun <SID>color(r, g, b)
" get the closest grey
let l:gx = <SID>grey_number(a:r)
let l:gy = <SID>grey_number(a:g)
let l:gz = <SID>grey_number(a:b)
" get the closest color
let l:x = <SID>rgb_number(a:r)
let l:y = <SID>rgb_number(a:g)
let l:z = <SID>rgb_number(a:b)
if l:gx == l:gy && l:gy == l:gz
" there are two possibilities
let l:dgr = <SID>grey_level(l:gx) - a:r
let l:dgg = <SID>grey_level(l:gy) - a:g
let l:dgb = <SID>grey_level(l:gz) - a:b
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
let l:dr = <SID>rgb_level(l:gx) - a:r
let l:dg = <SID>rgb_level(l:gy) - a:g
let l:db = <SID>rgb_level(l:gz) - a:b
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
if l:dgrey < l:drgb
" use the grey
return <SID>grey_color(l:gx)
else
" use the color
return <SID>rgb_color(l:x, l:y, l:z)
endif
else
" only one possibility
return <SID>rgb_color(l:x, l:y, l:z)
endif
endfun
" returns the palette index to approximate the 'rrggbb' hex string
fun <SID>rgb(rgb)
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
return <SID>color(l:r, l:g, l:b)
endfun
" sets the highlighting for the given group
fun <SID>X(group, fg, bg, attr)
if a:fg != ""
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
endif
if a:bg != ""
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfun
" }}}
call <SID>X("Normal", "cccccc", "000000", "")
" highlight groups
call <SID>X("Cursor", "708090", "f0e68c", "")
"CursorIM
"Directory
"DiffAdd
"DiffChange
"DiffDelete
"DiffText
"ErrorMsg
call <SID>X("VertSplit", "c2bfa5", "7f7f7f", "reverse")
call <SID>X("Folded", "ffd700", "4d4d4d", "")
call <SID>X("FoldColumn", "d2b48c", "4d4d4d", "")
call <SID>X("IncSearch", "708090", "f0e68c", "")
"LineNr
call <SID>X("ModeMsg", "daa520", "", "")
call <SID>X("MoreMsg", "2e8b57", "", "")
call <SID>X("NonText", "addbe7", "000000", "bold")
call <SID>X("Question", "00ff7f", "", "")
call <SID>X("Search", "f5deb3", "cd853f", "")
call <SID>X("SpecialKey", "9acd32", "", "")
call <SID>X("StatusLine", "c2bfa5", "000000", "reverse")
call <SID>X("StatusLineNC", "c2bfa5", "7f7f7f", "reverse")
call <SID>X("Title", "cd5c5c", "", "")
call <SID>X("Visual", "6b8e23", "f0e68c", "reverse")
"VisualNOS
call <SID>X("WarningMsg", "fa8072", "", "")
"WildMenu
"Menu
"Scrollbar
"Tooltip
" syntax highlighting groups
call <SID>X("Comment", "87ceeb", "", "")
call <SID>X("Constant", "ffa0a0", "", "")
call <SID>X("Identifier", "98fb98", "", "none")
call <SID>X("Statement", "f0e68c", "", "bold")
call <SID>X("PreProc", "cd5c5c", "", "")
call <SID>X("Type", "bdb76b", "", "bold")
call <SID>X("Special", "ffdead", "", "")
"Underlined
call <SID>X("Ignore", "666666", "", "")
"Error
call <SID>X("Todo", "ff4500", "eeee00", "")
" delete functions {{{
delf <SID>X
delf <SID>rgb
delf <SID>color
delf <SID>rgb_color
delf <SID>rgb_level
delf <SID>rgb_number
delf <SID>grey_color
delf <SID>grey_level
delf <SID>grey_number
" }}}
else
" color terminal definitions
hi SpecialKey ctermfg=darkgreen
hi NonText cterm=bold ctermfg=darkblue
hi Directory ctermfg=darkcyan
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 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 Comment ctermfg=darkcyan
hi Constant ctermfg=brown
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 ctermfg=darkgrey
hi Error cterm=bold ctermfg=7 ctermbg=1
endif
" vim: set fdl=0 fdm=marker:

65
colors/desertEx.vim Executable file
View File

@ -0,0 +1,65 @@
" Vim color file
" Maintainer: Mingbai <mbbill AT gmail DOT com>
" disable under win32 colsole
if has("win32") && !has("gui_running")
finish
endif
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="desertEx"
highlight Normal guifg=gray guibg=grey17 gui=NONE ctermfg=250 ctermbg=235 cterm=NONE
" highlight groups
highlight Cursor guifg=black guibg=yellow gui=NONE ctermfg=16 ctermbg=226 cterm=NONE
highlight DiffAdd guifg=black guibg=wheat1 ctermfg=16 ctermbg=223
highlight DiffChange guifg=black guibg=skyblue1 ctermfg=16 ctermbg=117
highlight DiffDelete guifg=black guibg=gray45 gui=NONE ctermfg=16 ctermbg=243 cterm=NONE
highlight DiffText guifg=black guibg=hotpink1 gui=NONE ctermfg=16 ctermbg=205 cterm=NONE
highlight ErrorMsg guifg=white guibg=red gui=NONE ctermfg=231 ctermbg=196 cterm=NONE
highlight FoldColumn guifg=tan guibg=grey30 gui=NONE ctermfg=180 ctermbg=239 cterm=NONE
highlight Folded guifg=darkslategray3 guibg=grey30 gui=NONE ctermfg=116 ctermbg=239 cterm=NONE
highlight IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=159 ctermbg=26
highlight LineNr guifg=burlywood3 gui=NONE ctermfg=180 cterm=NONE
highlight MatchParen guifg=cyan guibg=NONE gui=bold ctermfg=51 cterm=bold
highlight ModeMsg guifg=skyblue gui=NONE ctermfg=117 cterm=NONE
highlight MoreMsg guifg=seagreen gui=NONE ctermfg=29 cterm=NONE
highlight NonText guifg=cyan guibg=gray20 gui=NONE ctermfg=51 ctermbg=236 cterm=NONE
highlight Pmenu guifg=white guibg=#445599 gui=NONE ctermfg=231 ctermbg=61 cterm=NONE
highlight PmenuSel guifg=#445599 guibg=gray ctermfg=61 ctermbg=250
highlight Question guifg=springgreen gui=NONE ctermfg=48 cterm=NONE
highlight Search guifg=gray80 guibg=#445599 gui=NONE ctermfg=252 ctermbg=61 cterm=NONE
highlight SpecialKey guifg=gray30 gui=NONE ctermfg=240 cterm=NONE
highlight StatusLine guifg=black guibg=#c2bfa5 gui=bold ctermfg=16 ctermbg=144 cterm=bold
highlight StatusLineNC guifg=grey guibg=gray40 gui=NONE ctermfg=250 ctermbg=241 cterm=NONE
highlight Title guifg=indianred gui=NONE ctermfg=167 cterm=NONE
highlight VertSplit guifg=gray40 guibg=gray40 gui=NONE ctermfg=241 ctermbg=241 cterm=NONE
highlight Visual guifg=gray17 guibg=tan1 gui=NONE ctermfg=235 ctermbg=215 cterm=NONE
highlight WarningMsg guifg=salmon gui=NONE ctermfg=210 cterm=NONE
highlight WildMenu guifg=gray guibg=gray17 gui=NONE ctermfg=250 ctermbg=235 cterm=NONE
highlight colorcolumn guibg=gray30 ctermbg=240
" syntax highlighting groups
highlight Comment guifg=palegreen3 gui=NONE ctermfg=114 cterm=NONE
highlight Constant guifg=salmon gui=NONE ctermfg=210 cterm=NONE
highlight Identifier guifg=skyblue gui=NONE ctermfg=117 cterm=NONE
highlight Function guifg=skyblue gui=NONE ctermfg=117 cterm=NONE
highlight Statement guifg=lightgoldenrod2 gui=bold ctermfg=186 cterm=bold
highlight PreProc guifg=palevioletred2 gui=NONE ctermfg=211 cterm=NONE
highlight Type guifg=tan1 gui=bold ctermfg=215 cterm=bold
highlight Special guifg=aquamarine2 gui=NONE ctermfg=122 cterm=NONE
highlight Ignore guifg=grey40 gui=NONE ctermfg=241 cterm=NONE
highlight Todo guifg=orangered guibg=yellow2 gui=NONE ctermfg=202 ctermbg=226 cterm=NONE

71
colors/dusk.vim Executable file
View File

@ -0,0 +1,71 @@
" Vim color file
" Maintainer: Ajit J. Thakkar (ajit AT unb DOT ca)
" Last Change: 2005 Nov. 21
" Version: 1.1
" URL: http://www.unb.ca/chem/ajit/vim.htm
" This GUI-only color scheme has a blue-black background
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "dusk"
hi Normal guifg=ivory guibg=#1f3048
" Groups used in the 'highlight' and 'guicursor' options default value.
hi ErrorMsg gui=NONE guifg=Red guibg=Linen
hi IncSearch gui=NONE guibg=LightGreen guifg=Black
hi ModeMsg gui=NONE guifg=fg guibg=bg
hi StatusLine gui=NONE guifg=DarkBlue guibg=Grey
hi StatusLineNC gui=NONE guifg=Grey50 guibg=Grey
hi VertSplit gui=NONE guifg=Grey guibg=Grey
hi Visual gui=reverse guifg=fg guibg=LightSkyBlue4
hi VisualNOS gui=underline guifg=fg guibg=bg
hi DiffText gui=NONE guifg=Yellow guibg=LightSkyBlue4
hi Cursor guibg=Green guifg=Black
hi lCursor guibg=Cyan guifg=Black
hi Directory guifg=LightGreen guibg=bg
hi LineNr guifg=MistyRose3 guibg=bg
hi MoreMsg gui=NONE guifg=SeaGreen guibg=bg
hi NonText gui=NONE guifg=Cyan4 guibg=#102848
hi Question gui=NONE guifg=LimeGreen guibg=bg
hi Search gui=NONE guifg=SkyBlue4 guibg=Bisque
hi SpecialKey guifg=Cyan guibg=bg
hi Title gui=NONE guifg=Yellow2 guibg=bg
hi WarningMsg guifg=Tomato3 guibg=Linen
hi WildMenu gui=NONE guifg=SkyBlue4 guibg=Bisque
"hi Folded guifg=MistyRose2 guibg=bg
hi Folded guifg=MistyRose2 guibg=#102848
hi FoldColumn guifg=DarkBlue guibg=Grey
hi DiffAdd gui=NONE guifg=Blue guibg=LightCyan
hi DiffChange gui=NONE guifg=white guibg=LightCyan4
hi DiffDelete gui=NONE guifg=LightBlue guibg=LightCyan
" Colors for syntax highlighting
hi Constant gui=NONE guifg=MistyRose3 guibg=bg
hi String gui=NONE guifg=LightBlue3 guibg=bg
hi Special gui=NONE guifg=GoldenRod guibg=bg
hi Statement gui=NONE guifg=khaki guibg=bg
"hi Statement gui=NONE guifg=#d7cd7b guibg=bg
hi Operator gui=NONE guifg=Chartreuse guibg=bg
hi Ignore gui=NONE guifg=bg guibg=bg
if v:version >= 700
hi SpellBad gui=undercurl guisp=Red guifg=fg guibg=bg
hi SpellCap gui=undercurl guisp=GoldenRod guifg=fg guibg=bg
hi SpellRare gui=undercurl guisp=Ivory guifg=fg guibg=bg
hi SpellLocal gui=undercurl guisp=SeaGreen guifg=fg guibg=bg
endif
hi ToDo gui=NONE guifg=DodgerBlue guibg=bg
hi Error gui=NONE guifg=Red guibg=Linen
hi Comment gui=NONE guifg=SlateGrey guibg=bg
"hi Comment gui=NONE guifg=Lavender guibg=bg
hi Identifier gui=NONE guifg=BlanchedAlmond guibg=bg
hi PreProc gui=NONE guifg=#ffa0a0 guibg=bg
hi Type gui=NONE guifg=NavajoWhite guibg=bg
hi Underlined gui=underline guifg=fg guibg=bg
" vim: sw=2

66
colors/dw_blue.vim Executable file
View File

@ -0,0 +1,66 @@
"--------------------------------------------------------------------
" Name Of File: dw_blue.vim.
" Description: Gvim colorscheme, designed against VIM 7.0 GUI
" By: Steve Cadwallader
" Contact: demwiz@gmail.com
" Credits: Inspiration from the brookstream and redblack schemes.
" Last Change: Saturday, September 17, 2006.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="dw_blue"
"--------------------------------------------------------------------
hi Boolean guifg=#0000ff
hi cDefine guifg=#0000ff
hi cInclude guifg=#ffffff
hi Comment guifg=#696969
hi Constant guifg=#0000ff
hi Cursor guibg=#444444 guifg=#ffffff
hi CursorColumn guibg=#000011
hi CursorLine guibg=#000018
hi DiffAdd guibg=#333333 guifg=#0000ff
hi DiffChange guibg=#333333 guifg=#0000ff
hi DiffDelete guibg=#333333 guifg=#0000ff
hi DiffText guibg=#333333 guifg=#ffffff
hi Directory guibg=#000000 guifg=#0000ff
hi ErrorMsg guibg=#ffffff guifg=#000000
hi FoldColumn guibg=#222222 guifg=#ff0000
hi Folded guibg=#222222 guifg=#ff0000
hi Function guibg=#000000 guifg=#0000ff
hi Identifier guibg=#000000 guifg=#0000cc
hi IncSearch gui=none guibg=#0000bb guifg=#000000
hi LineNr guibg=#000000 guifg=#000088
hi MatchParen gui=none guibg=#222222 guifg=#0000ff
hi ModeMsg guibg=#000000 guifg=#0000ff
hi MoreMsg guibg=#000000 guifg=#0000ff
hi NonText guibg=#000000 guifg=#ffffff
hi Normal gui=none guibg=#000000 guifg=#c0c0c0
hi Operator gui=none guifg=#696969
hi PreProc gui=none guifg=#ffffff
hi Question guifg=#0000ff
hi Search gui=none guibg=#0000ff guifg=#000000
hi SignColumn guibg=#111111 guifg=#ffffff
hi Special gui=none guibg=#000000 guifg=#ffffff
hi SpecialKey guibg=#000000 guifg=#0000ff
hi Statement gui=bold guifg=#0000ff
hi StatusLine gui=none guibg=#0000ff guifg=#000000
hi StatusLineNC gui=none guibg=#444444 guifg=#000000
hi String gui=none guifg=#0000bb
hi TabLine gui=none guibg=#444444 guifg=#000000
hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff
hi TabLineSel gui=none guibg=#0000aa guifg=#000000
hi Title gui=none guifg=#0000ff
hi Todo gui=none guibg=#000000 guifg=#ff0000
hi Type gui=none guifg=#ffffff
hi VertSplit gui=none guibg=#000000 guifg=#ffffff
hi Visual guibg=#0000dd guifg=#000000
hi WarningMsg guibg=#888888 guifg=#000000
"- end of colorscheme -----------------------------------------------

66
colors/dw_cyan.vim Executable file
View File

@ -0,0 +1,66 @@
"--------------------------------------------------------------------
" Name Of File: dw_cyan.vim.
" Description: Gvim colorscheme, designed against VIM 7.0 GUI
" By: Steve Cadwallader
" Contact: demwiz@gmail.com
" Credits: Inspiration from the brookstream and redblack schemes.
" Last Change: Saturday, September 17, 2006.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="dw_cyan"
"--------------------------------------------------------------------
hi Boolean guifg=#00ffff
hi cDefine guifg=#00ffff
hi cInclude guifg=#ffffff
hi Comment guifg=#696969
hi Constant guifg=#00ffff
hi Cursor guibg=#444444 guifg=#ffffff
hi CursorColumn guibg=#001111
hi CursorLine guibg=#001818
hi DiffAdd guibg=#333333 guifg=#00ffff
hi DiffChange guibg=#333333 guifg=#00ffff
hi DiffDelete guibg=#333333 guifg=#00ffff
hi DiffText guibg=#333333 guifg=#ffffff
hi Directory guibg=#000000 guifg=#00ffff
hi ErrorMsg guibg=#ffffff guifg=#000000
hi FoldColumn guibg=#222222 guifg=#ff0000
hi Folded guibg=#222222 guifg=#ff0000
hi Function guibg=#000000 guifg=#00ffff
hi Identifier guibg=#000000 guifg=#00cccc
hi IncSearch gui=none guibg=#00bbbb guifg=#000000
hi LineNr guibg=#000000 guifg=#008888
hi MatchParen gui=none guibg=#222222 guifg=#00ffff
hi ModeMsg guibg=#000000 guifg=#00ffff
hi MoreMsg guibg=#000000 guifg=#00ffff
hi NonText guibg=#000000 guifg=#ffffff
hi Normal gui=none guibg=#000000 guifg=#c0c0c0
hi Operator gui=none guifg=#696969
hi PreProc gui=none guifg=#ffffff
hi Question guifg=#00ffff
hi Search gui=none guibg=#00ffff guifg=#000000
hi SignColumn guibg=#111111 guifg=#ffffff
hi Special gui=none guibg=#000000 guifg=#ffffff
hi SpecialKey guibg=#000000 guifg=#00ffff
hi Statement gui=bold guifg=#00ffff
hi StatusLine gui=none guibg=#00ffff guifg=#000000
hi StatusLineNC gui=none guibg=#444444 guifg=#000000
hi String gui=none guifg=#00bbbb
hi TabLine gui=none guibg=#444444 guifg=#000000
hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff
hi TabLineSel gui=none guibg=#00aaaa guifg=#000000
hi Title gui=none guifg=#00ffff
hi Todo gui=none guibg=#000000 guifg=#ff0000
hi Type gui=none guifg=#ffffff
hi VertSplit gui=none guibg=#000000 guifg=#ffffff
hi Visual guibg=#00dddd guifg=#000000
hi WarningMsg guibg=#888888 guifg=#000000
"- end of colorscheme -----------------------------------------------

66
colors/dw_green.vim Executable file
View File

@ -0,0 +1,66 @@
"--------------------------------------------------------------------
" Name Of File: dw_green.vim.
" Description: Gvim colorscheme, designed against VIM 7.0 GUI
" By: Steve Cadwallader
" Contact: demwiz@gmail.com
" Credits: Inspiration from the brookstream and redblack schemes.
" Last Change: Saturday, September 17, 2006.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="dw_green"
"--------------------------------------------------------------------
hi Boolean guifg=#00ff00
hi cDefine guifg=#00ff00
hi cInclude guifg=#ffffff
hi Comment guifg=#696969
hi Constant guifg=#00ff00
hi Cursor guibg=#444444 guifg=#ffffff
hi CursorColumn guibg=#001100
hi CursorLine guibg=#001800
hi DiffAdd guibg=#333333 guifg=#00ff00
hi DiffChange guibg=#333333 guifg=#00ff00
hi DiffDelete guibg=#333333 guifg=#00ff00
hi DiffText guibg=#333333 guifg=#ffffff
hi Directory guibg=#000000 guifg=#00ff00
hi ErrorMsg guibg=#ffffff guifg=#000000
hi FoldColumn guibg=#222222 guifg=#ff0000
hi Folded guibg=#222222 guifg=#ff0000
hi Function guibg=#000000 guifg=#00ff00
hi Identifier guibg=#000000 guifg=#00bb00
hi IncSearch gui=none guibg=#00bb00 guifg=#000000
hi LineNr guibg=#000000 guifg=#008800
hi MatchParen gui=none guibg=#222222 guifg=#00ff00
hi ModeMsg guibg=#000000 guifg=#00ff00
hi MoreMsg guibg=#000000 guifg=#00ff00
hi NonText guibg=#000000 guifg=#ffffff
hi Normal gui=none guibg=#000000 guifg=#c0c0c0
hi Operator gui=none guifg=#696969
hi PreProc gui=none guifg=#ffffff
hi Question guifg=#00ff00
hi Search gui=none guibg=#00ff00 guifg=#000000
hi SignColumn guibg=#111111 guifg=#ffffff
hi Special gui=none guibg=#000000 guifg=#ffffff
hi SpecialKey guibg=#000000 guifg=#00ff00
hi Statement gui=bold guifg=#00ff00
hi StatusLine gui=none guibg=#008800 guifg=#000000
hi StatusLineNC gui=none guibg=#444444 guifg=#000000
hi String gui=none guifg=#00bb00
hi TabLine gui=none guibg=#444444 guifg=#000000
hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff
hi TabLineSel gui=none guibg=#00aa00 guifg=#000000
hi Title gui=none guifg=#00ff00
hi Todo gui=none guibg=#000000 guifg=#ff0000
hi Type gui=none guifg=#ffffff
hi VertSplit gui=none guibg=#000000 guifg=#ffffff
hi Visual guibg=#00dd00 guifg=#000000
hi WarningMsg guibg=#888888 guifg=#000000
"- end of colorscheme -----------------------------------------------

66
colors/dw_orange.vim Executable file
View File

@ -0,0 +1,66 @@
"--------------------------------------------------------------------
" Name Of File: dw_orange.vim.
" Description: Gvim colorscheme, designed against VIM 7.0 GUI
" By: Steve Cadwallader
" Contact: demwiz@gmail.com
" Credits: Inspiration from the brookstream and redblack schemes.
" Last Change: Saturday, September 17, 2006.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="dw_orange"
"--------------------------------------------------------------------
hi Boolean guifg=#ffff00
hi cDefine guifg=#ffff00
hi cInclude guifg=#ffffff
hi Comment guifg=#696969
hi Constant guifg=#ffff00
hi Cursor guibg=#555555 guifg=#000000
hi CursorColumn guibg=#140500
hi CursorLine guibg=#260a00
hi DiffAdd guibg=#333333 guifg=#ffff00
hi DiffChange guibg=#333333 guifg=#ffff00
hi DiffDelete guibg=#333333 guifg=#ffff00
hi DiffText guibg=#333333 guifg=#ffffff
hi Directory guibg=#000000 guifg=#ffffff
hi ErrorMsg guibg=#ffffff guifg=#000000
hi FoldColumn guibg=#222222 guifg=#ff0000
hi Folded guibg=#222222 guifg=#ff0000
hi Function guifg=#ffff00
hi Identifier guibg=#000000 guifg=#d13800
hi IncSearch gui=none guibg=#bf3300 guifg=#000000
hi LineNr guibg=#000000 guifg=#de3b00
hi MatchParen gui=none guibg=#000000 guifg=#ffff00
hi ModeMsg guibg=#000000 guifg=#ff4400
hi MoreMsg guibg=#000000 guifg=#ffff00
hi NonText guibg=#000000 guifg=#ffffff
hi Normal gui=none guibg=#000000 guifg=#c0c0c0
hi Operator gui=none guifg=#696969
hi PreProc gui=none guifg=#ffffff
hi Question guifg=#ffff00
hi Search gui=none guibg=#ff4400 guifg=#000000
hi SignColumn guibg=#111111 guifg=#ffffff
hi Special gui=none guibg=#000000 guifg=#ffa600
hi SpecialKey guibg=#000000 guifg=#ff4400
hi Statement gui=bold guifg=#ff4400
hi StatusLine gui=none guibg=#ff3200 guifg=#000000
hi StatusLineNC gui=none guibg=#444444 guifg=#000000
hi String gui=none guifg=#d13800
hi TabLine gui=none guibg=#555555 guifg=#000000
hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff
hi TabLineSel gui=none guibg=#ff4400 guifg=#000000
hi Title gui=none guifg=#ffffff
hi Todo gui=none guibg=#000000 guifg=#ff0000
hi Type gui=none guifg=#ffffff
hi VertSplit gui=none guibg=#000000 guifg=#ffffff
hi Visual guibg=#d13800 guifg=#000000
hi WarningMsg guibg=#888888 guifg=#000000
"- end of colorscheme -----------------------------------------------

66
colors/dw_purple.vim Executable file
View File

@ -0,0 +1,66 @@
"--------------------------------------------------------------------
" Name Of File: dw_purple.vim.
" Description: Gvim colorscheme, designed against VIM 7.0 GUI
" By: Steve Cadwallader
" Contact: demwiz@gmail.com
" Credits: Inspiration from the brookstream and redblack schemes.
" Last Change: Saturday, September 17, 2006.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="dw_purple"
"--------------------------------------------------------------------
hi Boolean guifg=#ff00ff
hi cDefine guifg=#ff00ff
hi cInclude guifg=#ffffff
hi Comment guifg=#696969
hi Constant guifg=#ff00ff
hi Cursor guibg=#444444 guifg=#ffffff
hi CursorColumn guibg=#110011
hi CursorLine guibg=#180018
hi DiffAdd guibg=#333333 guifg=#ff00ff
hi DiffChange guibg=#333333 guifg=#ff00ff
hi DiffDelete guibg=#333333 guifg=#ff00ff
hi DiffText guibg=#333333 guifg=#ffffff
hi Directory guibg=#000000 guifg=#ff00ff
hi ErrorMsg guibg=#ffffff guifg=#000000
hi FoldColumn guibg=#222222 guifg=#ff0000
hi Folded guibg=#222222 guifg=#ff0000
hi Function guibg=#000000 guifg=#ff00ff
hi Identifier guibg=#000000 guifg=#cc00cc
hi IncSearch gui=none guibg=#bb00bb guifg=#000000
hi LineNr guibg=#000000 guifg=#880088
hi MatchParen gui=none guibg=#222222 guifg=#ff00ff
hi ModeMsg guibg=#000000 guifg=#ff00ff
hi MoreMsg guibg=#000000 guifg=#ff00ff
hi NonText guibg=#000000 guifg=#ffffff
hi Normal gui=none guibg=#000000 guifg=#c0c0c0
hi Operator gui=none guifg=#696969
hi PreProc gui=none guifg=#ffffff
hi Question guifg=#ff00ff
hi Search gui=none guibg=#ff00ff guifg=#000000
hi SignColumn guibg=#111111 guifg=#ffffff
hi Special gui=none guibg=#000000 guifg=#ffffff
hi SpecialKey guibg=#000000 guifg=#ff00ff
hi Statement gui=bold guifg=#ff00ff
hi StatusLine gui=none guibg=#ff00ff guifg=#000000
hi StatusLineNC gui=none guibg=#444444 guifg=#000000
hi String gui=none guifg=#bb00bb
hi TabLine gui=none guibg=#444444 guifg=#000000
hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff
hi TabLineSel gui=none guibg=#aa00aa guifg=#000000
hi Title gui=none guifg=#ff00ff
hi Todo gui=none guibg=#000000 guifg=#ff0000
hi Type gui=none guifg=#ffffff
hi VertSplit gui=none guibg=#000000 guifg=#ffffff
hi Visual guibg=#dd00dd guifg=#000000
hi WarningMsg guibg=#888888 guifg=#000000
"- end of colorscheme -----------------------------------------------

66
colors/dw_red.vim Executable file
View File

@ -0,0 +1,66 @@
"--------------------------------------------------------------------
" Name Of File: dw_red.vim.
" Description: Gvim colorscheme, designed against VIM 7.0 GUI
" By: Steve Cadwallader
" Contact: demwiz@gmail.com
" Credits: Inspiration from the brookstream and redblack schemes.
" Last Change: Saturday, September 17, 2006.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="dw_red"
"--------------------------------------------------------------------
hi Boolean guifg=#ff0000
hi cDefine guifg=#ff0000
hi cInclude guifg=#ffffff
hi Comment guifg=#696969
hi Constant guifg=#ff0000
hi Cursor guibg=#444444 guifg=#ffffff
hi CursorColumn guibg=#110000
hi CursorLine guibg=#180000
hi DiffAdd guibg=#333333 guifg=#ff0000
hi DiffChange guibg=#333333 guifg=#ff0000
hi DiffDelete guibg=#333333 guifg=#ff0000
hi DiffText guibg=#333333 guifg=#ffffff
hi Directory guibg=#000000 guifg=#ff0000
hi ErrorMsg guibg=#ffffff guifg=#000000
hi FoldColumn guibg=#222222 guifg=#ff0000
hi Folded guibg=#222222 guifg=#ff0000
hi Function guibg=#000000 guifg=#ff0000
hi Identifier guibg=#000000 guifg=#cc0000
hi IncSearch gui=none guibg=#bb0000 guifg=#000000
hi LineNr guibg=#000000 guifg=#880000
hi MatchParen gui=none guibg=#222222 guifg=#ff0000
hi ModeMsg guibg=#000000 guifg=#ff0000
hi MoreMsg guibg=#000000 guifg=#ff0000
hi NonText guibg=#000000 guifg=#ffffff
hi Normal gui=none guibg=#000000 guifg=#c0c0c0
hi Operator gui=none guifg=#696969
hi PreProc gui=none guifg=#ffffff
hi Question guifg=#ff0000
hi Search gui=none guibg=#ff0000 guifg=#000000
hi SignColumn guibg=#111111 guifg=#ffffff
hi Special gui=none guibg=#000000 guifg=#ffffff
hi SpecialKey guibg=#000000 guifg=#ff0000
hi Statement gui=bold guifg=#ff0000
hi StatusLine gui=none guibg=#ff0000 guifg=#000000
hi StatusLineNC gui=none guibg=#444444 guifg=#000000
hi String gui=none guifg=#bb0000
hi TabLine gui=none guibg=#444444 guifg=#000000
hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff
hi TabLineSel gui=none guibg=#aa0000 guifg=#000000
hi Title gui=none guifg=#ff0000
hi Todo gui=none guibg=#000000 guifg=#ff0000
hi Type gui=none guifg=#ffffff
hi VertSplit gui=none guibg=#000000 guifg=#ffffff
hi Visual guibg=#dd0000 guifg=#000000
hi WarningMsg guibg=#888888 guifg=#000000
"- end of colorscheme -----------------------------------------------

66
colors/dw_yellow.vim Executable file
View File

@ -0,0 +1,66 @@
"--------------------------------------------------------------------
" Name Of File: dw_yellow.vim.
" Description: Gvim colorscheme, designed against VIM 7.0 GUI
" By: Steve Cadwallader
" Contact: demwiz@gmail.com
" Credits: Inspiration from the brookstream and redblack schemes.
" Last Change: Saturday, September 17, 2006.
" Installation: Drop this file in your $VIMRUNTIME/colors/ directory.
"--------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="dw_yellow"
"--------------------------------------------------------------------
hi Boolean guifg=#ffff00
hi cDefine guifg=#ffff00
hi cInclude guifg=#ffffff
hi Comment guifg=#696969
hi Constant guifg=#ffff00
hi Cursor guibg=#444444 guifg=#ffffff
hi CursorColumn guibg=#111100
hi CursorLine guibg=#181800
hi DiffAdd guibg=#333333 guifg=#ffff00
hi DiffChange guibg=#333333 guifg=#ffff00
hi DiffDelete guibg=#333333 guifg=#ffff00
hi DiffText guibg=#333333 guifg=#ffffff
hi Directory guibg=#000000 guifg=#ffff00
hi ErrorMsg guibg=#ffffff guifg=#000000
hi FoldColumn guibg=#222222 guifg=#ff0000
hi Folded guibg=#222222 guifg=#ff0000
hi Function guibg=#000000 guifg=#ffff00
hi Identifier guibg=#000000 guifg=#cccc00
hi IncSearch gui=none guibg=#bbbb00 guifg=#000000
hi LineNr guibg=#000000 guifg=#888800
hi MatchParen gui=none guibg=#222222 guifg=#ffff00
hi ModeMsg guibg=#000000 guifg=#ffff00
hi MoreMsg guibg=#000000 guifg=#ffff00
hi NonText guibg=#000000 guifg=#ffffff
hi Normal gui=none guibg=#000000 guifg=#c0c0c0
hi Operator gui=none guifg=#696969
hi PreProc gui=none guifg=#ffffff
hi Question guifg=#ffff00
hi Search gui=none guibg=#ffff00 guifg=#000000
hi SignColumn guibg=#111111 guifg=#ffffff
hi Special gui=none guibg=#000000 guifg=#ffffff
hi SpecialKey guibg=#000000 guifg=#ffff00
hi Statement gui=bold guifg=#ffff00
hi StatusLine gui=none guibg=#ffff00 guifg=#000000
hi StatusLineNC gui=none guibg=#444444 guifg=#000000
hi String gui=none guifg=#bbbb00
hi TabLine gui=none guibg=#444444 guifg=#000000
hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff
hi TabLineSel gui=none guibg=#aaaa00 guifg=#000000
hi Title gui=none guifg=#ffff00
hi Todo gui=none guibg=#000000 guifg=#ff0000
hi Type gui=none guifg=#ffffff
hi VertSplit gui=none guibg=#000000 guifg=#ffffff
hi Visual guibg=#dddd00 guifg=#000000
hi WarningMsg guibg=#888888 guifg=#000000
"- end of colorscheme -----------------------------------------------

161
colors/earendel.vim Executable file
View File

@ -0,0 +1,161 @@
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "earendel"
execute "command! -nargs=1 Colo set background=<args>"
if &background == "light"
hi Normal ctermbg=15 ctermfg=0 guibg=#f0f0f0 guifg=#000000 gui=none
hi ColorColumn ctermbg=7 ctermfg=fg guibg=#d5d5d5 gui=none
hi Cursor guibg=#000000 guifg=#ffffff gui=none
hi CursorColumn ctermbg=7 ctermfg=fg guibg=#e0e0e0 gui=none
hi CursorLine ctermbg=7 ctermfg=fg guibg=#e0e0e0 gui=none
hi DiffAdd guibg=#bae981 guifg=fg gui=none
hi DiffChange guibg=#8495e6 guifg=fg gui=none
hi DiffDelete guibg=#ff95a5 guifg=fg gui=none
hi DiffText guibg=#b9c2f0 guifg=fg gui=bold
hi Directory guibg=bg guifg=#272fc2 gui=none
hi ErrorMsg guibg=#ca001f guifg=#ffffff gui=bold
hi FoldColumn ctermbg=bg guibg=bg guifg=#656565 gui=none
hi Folded guibg=#cacaca guifg=#324263 gui=bold
hi IncSearch guibg=#f7b69d gui=none
hi LineNr guibg=bg guifg=#656565 gui=none
hi ModeMsg ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold
hi MoreMsg guibg=bg guifg=#4a4a4a gui=bold
hi NonText ctermfg=8 guibg=bg guifg=#656565 gui=bold
hi Pmenu guibg=#aab8d5 guifg=fg gui=none
hi PmenuSbar guibg=#6a83b5 guifg=fg gui=none
hi PmenuSel guibg=#fee06b guifg=fg gui=none
hi PmenuThumb guibg=#c7cfe2 guifg=fg gui=none
hi Question guibg=bg guifg=#4a4a4a gui=bold
hi Search guibg=#fee481 gui=none
hi SignColumn ctermbg=bg guibg=bg guifg=#656565 gui=none
hi SpecialKey guibg=bg guifg=#844631 gui=none
hi StatusLine ctermbg=0 ctermfg=15 guibg=#96aad3 guifg=fg gui=bold
hi StatusLineNC ctermbg=7 ctermfg=fg guibg=#bcc7de guifg=#384547 gui=none
if has("spell")
hi SpellBad guisp=#ca001f gui=undercurl
hi SpellCap guisp=#272fc2 gui=undercurl
hi SpellLocal guisp=#0f8674 gui=undercurl
hi SpellRare guisp=#d16c7a gui=undercurl
endif
hi TabLine guibg=#d4d4d4 guifg=fg gui=underline
hi TabLineFill guibg=#d4d4d4 guifg=fg gui=underline
hi TabLineSel guibg=bg guifg=fg gui=bold
hi Title guifg=fg gui=bold
hi VertSplit ctermbg=7 ctermfg=fg guibg=#bcc7de guifg=#384547 gui=none
if version >= 700
hi Visual ctermbg=7 ctermfg=fg guibg=#bfbfbf gui=none
else
hi Visual ctermbg=7 ctermfg=fg guibg=#bfbfbf guifg=fg gui=none
endif
hi VisualNOS ctermbg=8 ctermfg=fg guibg=bg guifg=#324263 gui=bold,underline
hi WarningMsg guibg=bg guifg=#ca001f gui=bold
hi WildMenu guibg=#fedc56 guifg=fg gui=bold
hi Comment guibg=bg guifg=#558817 gui=none
hi Constant guibg=bg guifg=#a8660d gui=none
hi Error guibg=bg guifg=#bf001d gui=none
hi Identifier guibg=bg guifg=#0e7c6b gui=none
hi Ignore guibg=bg guifg=bg gui=none
hi lCursor guibg=#79bf21 guifg=#ffffff gui=none
hi MatchParen guibg=#0f8674 guifg=#ffffff gui=none
hi PreProc guibg=bg guifg=#a33243 gui=none
hi Special guibg=bg guifg=#844631 gui=none
hi Statement guibg=bg guifg=#2239a8 gui=bold
hi Todo guibg=#fedc56 guifg=#512b1e gui=bold
hi Type guibg=bg guifg=#1d318d gui=bold
hi Underlined ctermbg=bg ctermfg=fg guibg=bg guifg=#272fc2 gui=underline
hi htmlBold ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold
hi htmlBoldItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold,italic
hi htmlBoldUnderline ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold,underline
hi htmlBoldUnderlineItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold,underline,italic
hi htmlItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=italic
hi htmlUnderline ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=underline
hi htmlUnderlineItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=underline,italic
else
hi Normal ctermbg=0 ctermfg=7 guibg=#303030 guifg=#cacaca gui=none
hi ColorColumn ctermbg=8 ctermfg=15 guibg=#4a4a4a gui=none
hi Cursor guibg=#e5e5e5 guifg=#000000 gui=none
hi CursorColumn ctermbg=8 ctermfg=15 guibg=#404040 gui=none
hi CursorLine ctermbg=8 ctermfg=15 guibg=#404040 gui=none
hi DiffAdd guibg=#558817 guifg=#dadada gui=none
hi DiffChange guibg=#1b2e85 guifg=#dadada gui=none
hi DiffDelete guibg=#9f0018 guifg=#dadada gui=none
hi DiffText guibg=#2540ba guifg=#dadada gui=bold
hi Directory guibg=bg guifg=#8c91e8 gui=none
hi ErrorMsg guibg=#ca001f guifg=#e5e5e5 gui=bold
hi FoldColumn ctermbg=bg guibg=bg guifg=#9a9a9a gui=none
hi Folded guibg=#555555 guifg=#bfcadf gui=bold
hi IncSearch guibg=#a7380e guifg=#dadada gui=none
hi LineNr guibg=bg guifg=#9a9a9a gui=none
hi ModeMsg ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold
hi MoreMsg guibg=bg guifg=#b5b5b5 gui=bold
hi NonText ctermfg=8 guibg=bg guifg=#9a9a9a gui=bold
hi Pmenu guibg=#3d5078 guifg=#dadada gui=none
hi PmenuSbar guibg=#324263 guifg=#dadada gui=none
hi PmenuSel guibg=#f3c201 guifg=#000000 gui=none
hi PmenuThumb guibg=#5c77ad guifg=#dadada gui=none
hi Question guibg=bg guifg=#b5b5b5 gui=bold
hi Search guibg=#947601 guifg=#dadada gui=none
hi SignColumn ctermbg=bg guibg=bg guifg=#9a9a9a gui=none
hi SpecialKey guibg=bg guifg=#d3a901 gui=none
hi StatusLine ctermbg=7 ctermfg=0 guibg=#41609e guifg=#e5e5e5 gui=bold
hi StatusLineNC ctermbg=7 ctermfg=0 guibg=#35466a guifg=#afbacf gui=none
if has("spell")
hi SpellBad guisp=#ea0023 gui=undercurl
hi SpellCap guisp=#8c91e8 gui=undercurl
hi SpellLocal guisp=#16c9ae gui=undercurl
hi SpellRare guisp=#e09ea8 gui=undercurl
endif
hi TabLine guibg=#4a4a4a guifg=#e5e5e5 gui=underline
hi TabLineFill guibg=#4a4a4a guifg=#e5e5e5 gui=underline
hi TabLineSel guibg=bg guifg=#e5e5e5 gui=bold
hi Title ctermbg=bg ctermfg=15 guifg=#e5e5e5 gui=bold
hi VertSplit ctermbg=7 ctermfg=0 guibg=#35466a guifg=#afbacf gui=none
if version >= 700
hi Visual ctermbg=7 ctermfg=0 guibg=#606060 gui=none
else
hi Visual ctermbg=7 ctermfg=0 guibg=#606060 guifg=fg gui=none
endif
hi VisualNOS ctermbg=8 ctermfg=0 guibg=bg guifg=#bfcadf gui=bold,underline
hi WarningMsg guibg=bg guifg=#ea0023 gui=bold
hi WildMenu guibg=#fbca01 guifg=#000000 gui=bold
hi Comment guibg=bg guifg=#77be21 gui=none
hi Constant guibg=bg guifg=#dc8511 gui=none
hi Error guibg=bg guifg=#ea0023 gui=none
hi Identifier guibg=bg guifg=#16c9ae gui=none
hi Ignore guibg=bg guifg=bg gui=none
hi lCursor guibg=#c4ec93 guifg=#000000 gui=none
hi MatchParen guibg=#17d2b7 guifg=#000000 gui=none
hi PreProc guibg=bg guifg=#e09ea8 gui=none
hi Special guibg=bg guifg=#d3a901 gui=none
hi Statement guibg=bg guifg=#a7b4ed gui=bold
hi Todo guibg=#fedc56 guifg=#512b1e gui=bold
hi Type guibg=bg guifg=#95a4ea gui=bold
hi Underlined ctermbg=bg ctermfg=15 guibg=bg guifg=#8c91e8 gui=underline
hi htmlBold ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold
hi htmlBoldItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold,italic
hi htmlBoldUnderline ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold,underline
hi htmlBoldUnderlineItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold,underline,italic
hi htmlItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=italic
hi htmlUnderline ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=underline
hi htmlUnderlineItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=underline,italic
endif
hi! default link bbcodeBold htmlBold
hi! default link bbcodeBoldItalic htmlBoldItalic
hi! default link bbcodeBoldItalicUnderline htmlBoldUnderlineItalic
hi! default link bbcodeBoldUnderline htmlBoldUnderline
hi! default link bbcodeItalic htmlItalic
hi! default link bbcodeItalicUnderline htmlUnderlineItalic
hi! default link bbcodeUnderline htmlUnderline

92
colors/eclipse.vim Executable file
View File

@ -0,0 +1,92 @@
" Vim color file
" Maintainer: Juan frias <juandfrias at gmail dot com>
" Last Change: 2007 Feb 25
" Version: 1.0.1
" URL: http://www.axisym3.net/jdany/vim-the-editor/#eclipse
set background=light
highlight clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "eclipse"
highlight Normal gui=none guifg=#000000 guibg=#ffffff ctermfg=Gray
" Search
highlight IncSearch gui=underline guifg=#404040 guibg=#e0e040
highlight Search gui=none guifg=#544060 guibg=#f0c0ff ctermbg=1
" Messages
highlight ErrorMsg gui=none guifg=#f8f8f8 guibg=#4040ff
highlight WarningMsg gui=none guifg=#f8f8f8 guibg=#4040ff
highlight ModeMsg gui=none guifg=#d06000 guibg=bg
highlight MoreMsg gui=none guifg=#0090a0 guibg=bg
highlight Question gui=none guifg=#8000ff guibg=bg
" Split area
highlight StatusLine gui=none guifg=#ffffff guibg=#4570aa cterm=bold ctermbg=blue ctermfg=white
highlight StatusLineNC gui=none guifg=#ffffff guibg=#75a0da cterm=none ctermfg=darkgrey ctermbg=blue
highlight VertSplit gui=none guifg=#f8f8f8 guibg=#904838 ctermfg=darkgrey cterm=none ctermbg=blue
highlight WildMenu gui=none guifg=#f8f8f8 guibg=#ff3030
" Diff
highlight DiffText gui=none guifg=red guibg=#ffd0d0 cterm=bold ctermbg=5 ctermfg=3
highlight DiffChange gui=none guifg=black guibg=#ffe7e7 cterm=none ctermbg=5 ctermfg=7
highlight DiffDelete gui=none guifg=bg guibg=#e7e7ff ctermbg=black
highlight DiffAdd gui=none guifg=blue guibg=#e7e7ff ctermbg=green cterm=bold
" Cursor
highlight Cursor gui=none guifg=#ffffff guibg=#0080f0
highlight lCursor gui=none guifg=#ffffff guibg=#8040ff
highlight CursorIM gui=none guifg=#ffffff guibg=#8040ff
" Fold
highlight Folded gui=none guifg=#804030 guibg=#fff0d0 ctermbg=black ctermfg=black cterm=bold
highlight FoldColumn gui=none guifg=#6b6b6b guibg=#e7e7e7 ctermfg=black ctermbg=white
" Popup Menu
highlight PMenu ctermbg=green ctermfg=white
highlight PMenuSel ctermbg=white ctermfg=black
highlight PMenuSBar ctermbg=red ctermfg=white
highlight PMenuThumb ctermbg=white ctermfg=red
" Other
highlight Directory gui=none guifg=#7050ff guibg=bg
highlight LineNr gui=none guifg=#6b6b6b guibg=#eeeeee
highlight NonText gui=none guifg=#707070 guibg=#e7e7e7
highlight SpecialKey gui=none guifg=#c0c0c0 guibg=bg cterm=none ctermfg=4
highlight Title gui=bold guifg=#0033cc guibg=bg
highlight Visual gui=none guifg=#804020 guibg=#ffc0a0 ctermfg=DarkCyan
" Syntax group
highlight Comment gui=none guifg=#236e25 guibg=bg ctermfg=2
highlight Constant gui=none guifg=#00884c guibg=bg ctermfg=White
highlight Error gui=none guifg=#f8f8f8 guibg=#4040ff term=reverse ctermbg=Red ctermfg=White
highlight Identifier gui=none guifg=#b07800 guibg=bg ctermfg=Green
highlight Ignore gui=none guifg=bg guibg=bg ctermfg=black
highlight PreProc gui=none guifg=#683821 guibg=bg ctermfg=Green
highlight Special gui=none guifg=#8040f0 guibg=bg ctermfg=DarkMagenta
highlight Statement gui=none guifg=#b64f90 guibg=bg ctermfg=White
highlight Todo gui=none guifg=#ff5050 guibg=white term=standout ctermbg=Yellow ctermfg=Black
highlight Type gui=bold guifg=#7f0055 guibg=bg ctermfg=LightGreen
highlight Underlined gui=none guifg=blue guibg=bg
highlight String gui=none guifg=#8010a0 guibg=bg ctermfg=Yellow
highlight Number gui=none guifg=#0000ff guibg=bg ctermfg=White
if !has("gui_running")
hi link Float Number
hi link Conditional Repeat
hi link Include 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 Delimiter Normal
hi link SpecialComment Special
hi link Debug Special
endif
" vim:ff=unix:

105
colors/ekvoli.vim Executable file
View File

@ -0,0 +1,105 @@
" Vim color file
" Maintainer: Preben Randhol <randhol+ekvoli@pvv.org>
" Last Change: 2008 Feb 24
" License: GNU Public License (GPL) v2
"
" Version 1.6: Added colours for TVO and changed folding colour
highlight clear Normal
set background&
" Remove all existing highlighting and set the defaults.
highlight clear
" Load the syntax highlighting defaults, if it's enabled.
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "ekvoli"
hi Cursor guifg=white gui=reverse,bold
hi iCursor guifg=white gui=reverse,bold
hi rCursor guifg=white gui=reverse,bold
hi vCursor guifg=white gui=reverse,bold
hi lCursor guifg=white gui=reverse,bold
hi nCursor guifg=white gui=reverse,bold
hi CursorLine guibg=#05456f gui=none
hi CursorColumn guibg=#05456f gui=none
hi Normal guifg=white guibg=#001535
hi Error guibg=#6000a0 gui=bold,italic,undercurl guisp=white
hi ErrorMsg guifg=white guibg=#287eff gui=bold,italic
hi Visual guibg=#2080c0 guifg=white gui=bold
hi VisualNOS guibg=#6080a0 guifg=white gui=bold
hi Todo guibg=#00a0d0 guifg=white gui=underline
hi NonText guifg=#6590f0
hi Search guibg=#667799 guifg=white gui=bold
hi IncSearch guibg=#667799 guifg=white gui=bold
hi SpecialKey guifg=#00c0e0
hi Directory guifg=#00c0e0
hi Title guifg=#00a0f0 gui=none
hi WarningMsg guifg=lightblue
hi WildMenu guifg=white guibg=#0080c0
hi Pmenu guifg=white guibg=#005090
hi PmenuSel guifg=white guibg=#3070c0
hi ModeMsg guifg=#22cce2
hi MoreMsg guifg=#22cce2 gui=bold
hi Question guifg=#22cce2 gui=none
hi MatchParen guifg=white guibg=#3070c0 gui=bold
hi StatusLine guifg=white guibg=#104075 gui=bold
hi StatusLineNC guifg=#65a0f0 guibg=#104075 gui=none
hi VertSplit guifg=#305885 guibg=#305885 gui=none
hi Folded guifg=#65b0f6 guibg=#122555 gui=italic
hi FoldColumn guifg=white guibg=#103366 gui=none
hi LineNr guifg=#5080b0 gui=bold
hi DiffAdd guibg=#2080a0 guifg=white gui=bold
hi DiffChange guibg=#2080a0 guifg=white gui=bold
hi DiffDelete guibg=#306080 guifg=white gui=none
hi DiffText guibg=#8070a0 guifg=white gui=bold
hi SpellBad gui=undercurl,italic guisp=#76daff
hi SpellCap gui=undercurl guisp=#7ba2ba
hi SpellRare gui=undercurl guisp=#8080f0
hi SpellLocal gui=undercurl guisp=#c0c0e0
hi Comment guifg=#9590d5 gui=italic
hi Constant guifg=#87c6f0 gui=italic
hi Special guifg=#50a0e0 gui=bold
hi Identifier guifg=#7fe9ff
hi Statement guifg=white gui=bold
hi PreProc guifg=#3f8fff gui=none
hi type guifg=#90bfd0 gui=none
hi Ignore guifg=bg
hi Underlined gui=underline cterm=underline term=underline
" TVO - The Vim Outliner
hi otlTab0 gui=bold,underline guifg=#eeeeff
hi otlTab1 gui=bold,underline guifg=#3377ee
hi otlTab2 gui=bold,underline guifg=#22cae2
hi otlTab3 gui=bold,underline guifg=#9966ff
hi otlTab5 gui=bold,underline guifg=#22aae2
hi otlTab4 gui=bold,underline guifg=#92caf2
hi otlTab7 gui=bold,underline guifg=#22bae2
hi otlTab6 gui=bold,underline guifg=#8866ee
hi otlTab8 gui=bold,underline guifg=#1166ee
hi otlTab9 gui=bold,underline guifg=#99ddee
hi otlTodo gui=bold,underline guifg=white guibg=#00a0d0
hi otlTagRef guifg=white guibg=#8070a0
hi otlTagDef guifg=white guibg=#005090

71
colors/fine_blue.vim Executable file
View File

@ -0,0 +1,71 @@
" Vim color file
" Maintainer: Tiza
" Last Change: 2002/10/30 Wed 00:12.
" version: 1.7
" This color scheme uses a light background.
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "fine_blue"
hi Normal guifg=#404048 guibg=#f8f8f8
" Search
hi IncSearch gui=UNDERLINE guifg=#404054 guibg=#40ffff
hi Search gui=NONE guifg=#404054 guibg=#ffffa0
" Messages
hi ErrorMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4
hi WarningMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4
hi ModeMsg gui=NONE guifg=#0070ff guibg=NONE
hi MoreMsg gui=NONE guifg=#a800ff guibg=NONE
hi Question gui=NONE guifg=#008050 guibg=NONE
" Split area
hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404054
hi StatusLineNC gui=NONE guifg=#b8b8c0 guibg=#404054
hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404054
hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#00aacc
" Diff
hi DiffText gui=NONE guifg=#4040ff guibg=#c0c0ff
hi DiffChange gui=NONE guifg=#5050ff guibg=#e0e0ff
hi DiffDelete gui=NONE guifg=#4040ff guibg=#c8f2ea
hi DiffAdd gui=NONE guifg=#4040ff guibg=#c8f2ea
" Cursor
hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff
hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff
hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff
" Fold
hi Folded gui=NONE guifg=#7820ff guibg=#e0d8ff
hi FoldColumn gui=NONE guifg=#aa60ff guibg=#f0f0f4
" hi Folded gui=NONE guifg=#58587c guibg=#e0e0e8
" hi FoldColumn gui=NONE guifg=#9090b0 guibg=#f0f0f4
" Other
hi Directory gui=NONE guifg=#0070b8 guibg=NONE
hi LineNr gui=NONE guifg=#a0a0b0 guibg=NONE
hi NonText gui=BOLD guifg=#4000ff guibg=#ececf0
hi SpecialKey gui=NONE guifg=#d87000 guibg=NONE
hi Title gui=NONE guifg=#004060 guibg=#c8f0f8
hi Visual gui=NONE guifg=#404060 guibg=#dddde8
" hi VisualNOS gui=NONE guifg=#404060 guibg=#dddde8
" Syntax group
hi Comment gui=NONE guifg=#ff00c0 guibg=NONE
hi Constant gui=NONE guifg=#2020ff guibg=#e8e8ff
hi Error gui=BOLD guifg=#ffffff guibg=#ff4080
hi Identifier gui=NONE guifg=#c800ff guibg=NONE
hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE
hi PreProc gui=NONE guifg=#0070e6 guibg=NONE
hi Special gui=NONE guifg=#005858 guibg=#ccf7ee
hi Statement gui=NONE guifg=#008858 guibg=NONE
hi Todo gui=NONE guifg=#ff0070 guibg=#ffe0f4
hi Type gui=NONE guifg=#7040ff guibg=NONE
hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE

71
colors/fine_blue2.vim Executable file
View File

@ -0,0 +1,71 @@
" Vim color file
" Maintainer: Tiza
" Last Change: 2002/10/30 Wed 00:12.
" version: 1.7
" This color scheme uses a light background.
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "fine_blue"
hi Normal guifg=#404048 guibg=#f8f8f8
" Search
hi IncSearch gui=UNDERLINE guifg=#404054 guibg=#40ffff
hi Search gui=NONE guifg=#404054 guibg=#ffffa0
" Messages
hi ErrorMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4
hi WarningMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4
hi ModeMsg gui=NONE guifg=#0070ff guibg=NONE
hi MoreMsg gui=NONE guifg=#a800ff guibg=NONE
hi Question gui=NONE guifg=#008050 guibg=NONE
" Split area
hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404054
hi StatusLineNC gui=NONE guifg=#b8b8c0 guibg=#404054
hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404054
hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#00aacc
" Diff
hi DiffText gui=NONE guifg=#4040ff guibg=#c0c0ff
hi DiffChange gui=NONE guifg=#5050ff guibg=#e0e0ff
hi DiffDelete gui=NONE guifg=#4040ff guibg=#c8f2ea
hi DiffAdd gui=NONE guifg=#4040ff guibg=#c8f2ea
" Cursor
hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff
hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff
hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff
" Fold
hi Folded gui=NONE guifg=#7820ff guibg=#e0d8ff
hi FoldColumn gui=NONE guifg=#aa60ff guibg=#f0f0f4
" hi Folded gui=NONE guifg=#58587c guibg=#e0e0e8
" hi FoldColumn gui=NONE guifg=#9090b0 guibg=#f0f0f4
" Other
hi Directory gui=NONE guifg=#0070b8 guibg=NONE
hi LineNr gui=NONE guifg=#a0a0b0 guibg=NONE
hi NonText gui=BOLD guifg=#4000ff guibg=#ececf0
hi SpecialKey gui=NONE guifg=#d87000 guibg=NONE
hi Title gui=NONE guifg=#004060 guibg=#c8f0f8
hi Visual gui=NONE guifg=#404060 guibg=#dddde8
" hi VisualNOS gui=NONE guifg=#404060 guibg=#dddde8
" Syntax group
hi Comment gui=NONE guifg=#ff00c0 guibg=NONE
hi Constant gui=NONE guifg=#2020ff guibg=#e8e8ff
hi Error gui=BOLD guifg=#ffffff guibg=#ff4080
hi Identifier gui=NONE guifg=#c800ff guibg=NONE
hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE
hi PreProc gui=NONE guifg=#0070e6 guibg=NONE
hi Special gui=NONE guifg=#005858 guibg=#ccf7ee
hi Statement gui=NONE guifg=#008858 guibg=NONE
hi Todo gui=NONE guifg=#ff0070 guibg=#ffe0f4
hi Type gui=NONE guifg=#7040ff guibg=NONE
hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE

67
colors/fnaqevan.vim Executable file
View File

@ -0,0 +1,67 @@
" Vim color file
" Maintainer: Rafal Sulejman <rms@poczta.onet.pl>
" Last Change: 2002.06.18
"
" This color scheme uses a black (dark) background.
" First remove all existing highlighting.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "fnaqevan"
hi Normal guibg=#000000 guifg=#C0C0C0 gui=NONE
" Main colors
hi Constant guibg=#000000 guifg=#00B8E0 gui=NONE
hi Identifier guibg=#000000 guifg=#FFA850 gui=NONE
hi Special guibg=#000000 guifg=#B899C8 gui=NONE
hi Statement guibg=#000000 guifg=#EEE840 gui=NONE
hi Preproc guibg=#000000 guifg=#00B098 gui=NONE
hi Type guibg=#000000 guifg=#40D040 gui=NONE
" Secondary colors
hi Comment guibg=#000000 guifg=#006699 gui=NONE
hi Visual guibg=#005900 guifg=#40C940 gui=NONE
hi VisualNOS guibg=#005900 guifg=#40C940 gui=NONE
hi Search guibg=#707000 guifg=#FFFF00 gui=NONE
hi IncSearch guibg=#D05000 guifg=#FFE000 gui=NONE
" Special colors
hi WarningMsg guibg=#707000 guifg=#FFFF00 gui=NONE
hi MoreMsg guibg=#000070 guifg=#00B8E0 gui=NONE
hi ErrorMsg guibg=#CC0000 guifg=#FFEE00 gui=NONE
hi ModeMsg guibg=#000000 guifg=#E8E8E8 gui=NONE
hi WildMenu guibg=#5f5f5f guifg=#FFEE60 gui=NONE
hi StatusLine guibg=#1f1f1f guifg=#F0F0F0 gui=NONE
hi StatusLineNC guibg=#0f0f0f guifg=#eaea3a gui=NONE
hi VertSplit guibg=#1f1f1f guifg=#F0F0F0 gui=NONE
hi Error guibg=#EE0000 guifg=#FFDD60 gui=NONE
hi Todo guibg=#EEE000 guifg=#000000 gui=NONE
hi Title guibg=#000000 guifg=#ffffff gui=NONE
hi Question guibg=#005900 guifg=#40E840 gui=NONE
hi LineNr guibg=#000000 guifg=#F0B0E0 gui=NONE
hi Directory guibg=#000000 guifg=#D0D0D0 gui=NONE
hi NonText guibg=#000000 guifg=#FFDDAA gui=NONE
hi SpecialKey guibg=#000000 guifg=#FFFFFF gui=NONE
" Diff colors
hi DiffAdd guibg=#505050 guifg=#D0D0D0 gui=NONE
hi DiffChange guibg=#505050 guifg=#D0D0D0 gui=NONE
hi DiffDelete guibg=#505050 guifg=#D0D0D0 gui=NONE
hi DiffText guibg=#707070 guifg=#F0F0F0 gui=NONE
" Folding colors
hi Folded guibg=#703070 guifg=#DDB8DD gui=NONE
hi FoldColumn guibg=#C4153B guifg=#F0F0F0 gui=NONE
" Cursor colors
hi Cursor guibg=#FFFFFF guifg=#000000 gui=NONE
hi icursor guibg=#FFEE00 guifg=#000000 gui=NONE
hi ncursor guibg=#FFFFFF guifg=#000000 gui=NONE
hi rcursor guibg=#00CCFF guifg=#000000 gui=NONE
hi lcursor guibg=#40D040 guifg=#000000 gui=NONE

170
colors/fog.vim Executable file
View File

@ -0,0 +1,170 @@
" Vim color file
" vim: tw=0 ts=4 sw=4
" Maintainer: Thomas R. Kimpton <tomk@emcity.net>
" Last Change: 2001 Nov 8
" This color scheme is meant for the person that spends hours
" and hours and hours and... in vim and wants some contrast to
" help pick things out in the files they edit, but doesn't want
" **C**O**N**T**R**A**S**T**!
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "fog"
hi Normal ctermbg=White ctermfg=Black
" 660066 = darkish purple
hi Normal guifg=#660066 guibg=grey80
hi NonText term=bold
hi NonText ctermfg=LightBlue
hi NonText gui=bold guifg=LightBlue guibg=grey80
hi Comment ctermfg=DarkGrey ctermbg=White
" 444499 = darkish blue grey
hi Comment guifg=#444499
hi Constant term=underline
hi Constant ctermfg=Magenta
hi Constant guifg=#7070a0
hi Statement term=bold
hi Statement cterm=bold ctermfg=DarkGreen ctermbg=White
hi Statement guifg=DarkGreen gui=bold
hi identifier ctermfg=DarkGreen
hi identifier guifg=DarkGreen
hi preproc ctermfg=DarkGreen
hi preproc guifg=#408040
hi type ctermfg=DarkBlue
hi type guifg=DarkBlue
hi label ctermfg=yellow
hi label guifg=#c06000
hi operator ctermfg=darkYellow
hi operator guifg=DarkGreen gui=bold
hi StorageClass ctermfg=DarkRed ctermbg=White
hi StorageClass guifg=#a02060 gui=bold
hi Number ctermfg=Blue ctermbg=White
hi Number guifg=Blue
hi Special term=bold
hi Special ctermfg=LightRed
hi Special guifg=#aa8822
hi Cursor ctermbg=DarkMagenta
hi Cursor guibg=#880088 guifg=LightGrey
hi lCursor guibg=Cyan guifg=Black
hi ErrorMsg term=standout
hi ErrorMsg ctermbg=DarkRed ctermfg=White
hi ErrorMsg guibg=DarkRed guifg=White
hi DiffText term=reverse
hi DiffText cterm=bold ctermbg=DarkRed
hi DiffText gui=bold guibg=DarkRed
hi Directory term=bold
hi Directory ctermfg=LightRed
hi Directory guifg=Red gui=underline
hi LineNr term=underline
hi LineNr ctermfg=Yellow
hi LineNr guifg=#ccaa22
hi MoreMsg term=bold
hi MoreMsg ctermfg=LightGreen
hi MoreMsg gui=bold guifg=SeaGreen
hi Question term=standout
hi Question ctermfg=LightGreen
hi Question gui=bold guifg=DarkGreen
hi Search term=reverse
hi Search ctermbg=DarkYellow ctermfg=Black
hi Search guibg=#887722 guifg=Black
hi SpecialKey term=bold
hi SpecialKey ctermfg=LightBlue
hi SpecialKey guifg=Blue
hi SpecialChar ctermfg=DarkGrey ctermbg=White
hi SpecialChar guifg=DarkGrey gui=bold
hi Title term=bold
hi Title ctermfg=LightMagenta
hi Title gui=underline guifg=DarkMagenta
hi WarningMsg term=standout
hi WarningMsg ctermfg=LightRed
hi WarningMsg guifg=DarkBlue guibg=#9999cc
hi WildMenu term=standout
hi WildMenu ctermbg=Yellow ctermfg=Black
hi WildMenu guibg=Yellow guifg=Black gui=underline
hi Folded term=standout
hi Folded ctermbg=LightGrey ctermfg=DarkBlue
hi Folded guibg=LightGrey guifg=DarkBlue
hi FoldColumn term=standout
hi FoldColumn ctermbg=LightGrey ctermfg=DarkBlue
hi FoldColumn guibg=Grey guifg=DarkBlue
hi DiffAdd term=bold
hi DiffAdd ctermbg=DarkBlue
hi DiffAdd guibg=DarkBlue
hi DiffChange term=bold
hi DiffChange ctermbg=DarkMagenta
hi DiffChange guibg=DarkMagenta
hi DiffDelete term=bold
hi DiffDelete ctermfg=Blue ctermbg=DarkCyan
hi DiffDelete gui=bold guifg=Blue guibg=DarkCyan
hi Ignore ctermfg=LightGrey
hi Ignore guifg=grey90
hi IncSearch term=reverse
hi IncSearch cterm=reverse
hi IncSearch gui=reverse
hi ModeMsg term=bold
hi ModeMsg cterm=bold
hi ModeMsg gui=bold
hi StatusLine term=reverse,bold
hi StatusLine cterm=reverse,bold
hi StatusLine gui=reverse,bold
hi StatusLineNC term=reverse
hi StatusLineNC cterm=reverse
hi StatusLineNC gui=reverse
hi VertSplit term=reverse
hi VertSplit cterm=reverse
hi VertSplit gui=reverse
hi Visual term=reverse
hi Visual cterm=reverse
hi Visual gui=reverse guifg=DarkGrey guibg=fg
hi VisualNOS term=underline,bold
hi VisualNOS cterm=underline,bold
hi VisualNOS gui=underline,bold
hi Todo gui=reverse
" vim: sw=2

79
colors/freya.vim Executable file
View File

@ -0,0 +1,79 @@
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "freya"
hi Normal ctermbg=0 ctermfg=7 cterm=none guibg=#2a2a2a guifg=#dcdccc gui=none
hi Cursor guibg=fg guifg=bg gui=none
hi CursorColumn guibg=#3f3f3f gui=none
hi CursorLine guibg=#3f3f3f gui=none
hi DiffAdd guibg=#008b00 guifg=fg gui=none
hi DiffChange guibg=#00008b guifg=fg gui=none
hi DiffDelete guibg=#8b0000 guifg=fg gui=none
hi DiffText guibg=#0000cd guifg=fg gui=bold
hi Directory guibg=bg guifg=#d4b064 gui=none
hi ErrorMsg guibg=bg guifg=#f07070 gui=bold
hi FoldColumn ctermbg=bg guibg=bg guifg=#c2b680 gui=none
hi Folded guibg=#101010 guifg=#c2b680 gui=none
hi IncSearch guibg=#866a4f guifg=fg gui=none
hi LineNr guibg=bg guifg=#9f8f80 gui=none
hi ModeMsg guibg=bg guifg=fg gui=bold
hi MoreMsg guibg=bg guifg=#dabfa5 gui=bold
hi NonText ctermfg=8 guibg=bg guifg=#9f8f80 gui=bold
hi Pmenu guibg=#a78869 guifg=#000000 gui=none
hi PmenuSbar guibg=#B99F86 guifg=fg gui=none
hi PmenuSel guibg=#c0aa94 guifg=bg gui=none
hi PmenuThumb guibg=#f7f7f1 guifg=bg gui=none
hi Question guibg=bg guifg=#dabfa5 gui=bold
hi Search guibg=#c0aa94 guifg=bg gui=none
hi SignColumn ctermbg=bg guibg=bg guifg=#c2b680 gui=none
hi SpecialKey guibg=bg guifg=#d4b064 gui=none
if has("spell")
hi SpellBad guisp=#f07070 gui=undercurl
hi SpellCap guisp=#7070f0 gui=undercurl
hi SpellLocal guisp=#70f0f0 gui=undercurl
hi SpellRare guisp=#f070f0 gui=undercurl
endif
hi StatusLine ctermbg=7 ctermfg=0 guibg=#736559 guifg=#f7f7f1 gui=bold
hi StatusLineNC ctermbg=8 ctermfg=0 guibg=#564d43 guifg=#f7f7f1 gui=none
hi TabLine guibg=#564d43 guifg=#f7f7f1 gui=underline
hi TabLineFill guibg=#564d43 guifg=#f7f7f1 gui=underline
hi TabLineSel guibg=bg guifg=#f7f7f1 gui=bold
hi Title ctermbg=0 ctermfg=15 guifg=#f7f7f1 gui=bold
hi VertSplit ctermbg=7 ctermfg=0 guibg=#564d43 guifg=#f7f7f1 gui=none
if version >= 700
hi Visual ctermbg=7 ctermfg=0 guibg=#5f5f5f gui=none
else
hi Visual ctermbg=7 ctermfg=0 guibg=#5f5f5f guifg=fg gui=none
endif
hi VisualNOS guibg=bg guifg=#c0aa94 gui=bold,underline
hi WarningMsg guibg=bg guifg=#f07070 gui=none
hi WildMenu guibg=#c0aa94 guifg=bg gui=bold
hi Comment guibg=bg guifg=#c2b680 gui=none
hi Constant guibg=bg guifg=#afe091 gui=none
hi Error guibg=bg guifg=#f07070 gui=none
hi Identifier guibg=bg guifg=#dabfa5 gui=none
hi Ignore guibg=bg guifg=bg gui=none
hi lCursor guibg=#c0aa94 guifg=bg gui=none
hi MatchParen guibg=#008b8b gui=none
hi PreProc guibg=bg guifg=#c2aed0 gui=none
hi Special guibg=bg guifg=#d4b064 gui=none
hi Statement guibg=bg guifg=#e0af91 gui=bold
hi Todo guibg=#aed0ae guifg=bg gui=none
hi Type guibg=bg guifg=#dabfa5 gui=bold
hi Underlined guibg=bg guifg=#d4b064 gui=underline
hi htmlBold ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold
hi htmlItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=italic
hi htmlUnderline ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline
hi htmlBoldItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,italic
hi htmlBoldUnderline ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline
hi htmlBoldUnderlineItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline,italic
hi htmlUnderlineItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline,italic

69
colors/fruit.vim Executable file
View File

@ -0,0 +1,69 @@
" Vim color file
" Maintainer: Tiza
" Last Change: 2002/08/28 Wed 00:28.
" version: 1.3
" This color scheme uses a light background.
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "fruit"
hi Normal guifg=#404040 guibg=#f8f8f8
" Search
hi IncSearch gui=UNDERLINE guifg=#404040 guibg=#40ffff
hi Search gui=NONE guifg=#404040 guibg=#ffff60
" Messages
hi ErrorMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4
hi WarningMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4
hi ModeMsg gui=NONE guifg=#ff4080 guibg=NONE
hi MoreMsg gui=NONE guifg=#009070 guibg=NONE
hi Question gui=NONE guifg=#f030d0 guibg=NONE
" Split area
hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404040
hi StatusLineNC gui=NONE guifg=#a4a4a4 guibg=#404040
hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404040
hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#ff4080
" Diff
hi DiffText gui=NONE guifg=#e04040 guibg=#ffd8d8
hi DiffChange gui=NONE guifg=#408040 guibg=#d0f0d0
hi DiffDelete gui=NONE guifg=#4848ff guibg=#ffd0ff
hi DiffAdd gui=NONE guifg=#4848ff guibg=#ffd0ff
" Cursor
hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff
hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff
hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff
" Fold
hi Folded gui=NONE guifg=#20605c guibg=#b8e8dc
hi FoldColumn gui=NONE guifg=#40a098 guibg=#f0f0f0
" Other
hi Directory gui=NONE guifg=#0070b8 guibg=NONE
hi LineNr gui=NONE guifg=#acacac guibg=NONE
hi NonText gui=BOLD guifg=#00a0c0 guibg=#ececec
hi SpecialKey gui=NONE guifg=#4040ff guibg=NONE
hi Title gui=NONE guifg=#0050a0 guibg=#c0e8ff
hi Visual gui=NONE guifg=#484848 guibg=#e0e0e0
" hi VisualNOS gui=NONE guifg=#484848 guibg=#e0e0e0
" Syntax group
hi Comment gui=NONE guifg=#ff4080 guibg=NONE
hi Constant gui=NONE guifg=#8016ff guibg=NONE
hi Error gui=BOLD guifg=#ffffff guibg=#ff4080
hi Identifier gui=NONE guifg=#008888 guibg=NONE
hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE
hi PreProc gui=NONE guifg=#e06800 guibg=NONE
hi Special gui=NONE guifg=#4a9400 guibg=NONE
hi Statement gui=NONE guifg=#f030d0 guibg=NONE
hi Todo gui=UNDERLINE guifg=#ff0070 guibg=#ffe0f4
hi Type gui=NONE guifg=#0070e6 guibg=NONE
hi Underlined gui=UNDERLINE guifg=fg guibg=NONE

147
colors/fruity.vim Executable file
View File

@ -0,0 +1,147 @@
"
" Fruity Color Scheme
" ===================
"
" Author: Armin Ronacher <armin.ronacher@active-4.com>
" Version: 0.2
"
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "fruity"
" Default Colors
hi Normal guifg=#ffffff guibg=#111111
hi NonText guifg=#444444 guibg=#000000
hi Cursor guibg=#aaaaaa
hi lCursor guibg=#aaaaaa
" Search
hi Search guifg=#800000 guibg=#ffae00
hi IncSearch guifg=#800000 guibg=#ffae00
" Window Elements
hi StatusLine guifg=#ffffff guibg=#8090a0 gui=bold
hi StatusLineNC guifg=#506070 guibg=#a0b0c0
hi VertSplit guifg=#a0b0c0 guibg=#a0b0c0
hi Folded guifg=#111111 guibg=#8090a0
hi IncSearch guifg=#708090 guibg=#f0e68c
hi Pmenu guifg=#ffffff guibg=#cb2f27
hi SignColumn guibg=#111111
hi CursorLine guibg=#181818
hi LineNr guifg=#aaaaaa guibg=#222222
" Specials
hi Todo guifg=#e50808 guibg=#520000 gui=bold
hi Title guifg=#ffffff gui=bold
hi Special guifg=#fd8900
" Syntax Elements
hi String guifg=#0086d2
hi Constant guifg=#0086d2
hi Number guifg=#0086f7 gui=bold
hi Statement guifg=#fb660a gui=bold
hi Function guifg=#ff0086 gui=bold
hi PreProc guifg=#ff0007 gui=bold
hi Comment guifg=#00d2ff guibg=#0f140f gui=italic
hi Type guifg=#cdcaa9 gui=bold
hi Error guifg=#ffffff guibg=#ab0000
hi Identifier guifg=#ff0086 gui=bold
hi Label guifg=#ff0086
" Python Highlighting for python.vim
hi pythonCoding guifg=#ff0086
hi pythonRun guifg=#ff0086
hi pythonBuiltinObj guifg=#2b6ba2 gui=bold
hi pythonBuiltinFunc guifg=#2b6ba2 gui=bold
hi pythonException guifg=#ee0000 gui=bold
hi pythonExClass guifg=#66cd66 gui=bold
hi pythonSpaceError guibg=#270000
hi pythonDocTest guifg=#2f5f49
hi pythonDocTest2 guifg=#3b916a
hi pythonFunction guifg=#ee0000 gui=bold
hi pythonClass guifg=#ff0086 gui=bold
" JavaScript Highlighting
hi javaScript guifg=#ffffff
hi javaScriptRegexpString guifg=#aa6600
hi javaScriptDocComment guifg=#aaaaaa
hi javaScriptCssStyles guifg=#dd7700
hi javaScriptDomElemFuncs guifg=#66cd66
hi javaScriptHtmlElemFuncs guifg=#dd7700
hi javaScriptLabel guifg=#00bdec gui=italic
hi javaScriptPrototype guifg=#00bdec
hi javaScriptConditional guifg=#ff0007 gui=bold
hi javaScriptRepeat guifg=#ff0007 gui=bold
hi javaScriptFunction guifg=#ff0086 gui=bold
" CSS Highlighting
hi cssIdentifier guifg=#66cd66 gui=bold
hi cssBraces guifg=#00bdec gui=bold
" Ruby Highlighting
hi rubyFunction guifg=#0066bb gui=bold
hi rubyClass guifg=#ff0086 gui=bold
hi rubyModule guifg=#ff0086 gui=bold,underline
hi rubyKeyword guifg=#008800 gui=bold
hi rubySymbol guifg=#aa6600
hi rubyIndentifier guifg=#008aff
hi rubyGlobalVariable guifg=#dd7700
hi rubyConstant guifg=#5894d2 gui=bold
hi rubyBlockParameter guifg=#66cd66
hi rubyPredefinedIdentifier guifg=#555555 gui=bold
hi rubyString guifg=#0086d2
hi rubyStringDelimiter guifg=#dd7700
hi rubySpaceError guibg=#270000
hi rubyDocumentation guifg=#aaaaaa
hi rubyData guifg=#555555
" XML Highlighting
hi xmlTag guifg=#00bdec
hi xmlTagName guifg=#00bdec
hi xmlEndTag guifg=#00bdec
hi xmlNamespace guifg=#00bdec gui=underline
hi xmlAttribPunct guifg=#cccaa9 gui=bold
hi xmlEqual guifg=#cccaa9 gui=bold
hi xmlCdata guifg=#bf0945 gui=bold
hi xmlCdataCdata guifg=#ac1446 guibg=#23010c gui=none
hi xmlCdataStart guifg=#bf0945 gui=bold
hi xmlCdataEnd guifg=#bf0945 gui=bold
" HTML Highlighting
hi htmlTag guifg=#00bdec gui=bold
hi htmlEndTag guifg=#00bdec gui=bold
hi htmlSpecialTagName guifg=#66cd66
hi htmlTagName guifg=#66cd66
hi htmlTagN guifg=#66cd66
hi htmlEvent guifg=#ffffff
" Django Highlighting
hi djangoTagBlock guifg=#ff0007 guibg=#200000 gui=bold
hi djangoVarBlock guifg=#ff0007 guibg=#200000
hi djangoArgument guifg=#0086d2 guibg=#200000
hi djangoStatement guifg=#fb660a guibg=#200000 gui=bold
hi djangoComment guifg=#008800 guibg=#002300 gui=italic
hi djangoFilter guifg=#ff0086 guibg=#200000 gui=italic
" Jinja Highlighting
hi jinjaTagBlock guifg=#ff0007 guibg=#200000 gui=bold
hi jinjaVarBlock guifg=#ff0007 guibg=#200000
hi jinjaString guifg=#0086d2 guibg=#200000
hi jinjaNumber guifg=#bf0945 guibg=#200000 gui=bold
hi jinjaStatement guifg=#fb660a guibg=#200000 gui=bold
hi jinjaComment guifg=#008800 guibg=#002300 gui=italic
hi jinjaFilter guifg=#ff0086 guibg=#200000
hi jinjaRaw guifg=#aaaaaa guibg=#200000
hi jinjaOperator guifg=#ffffff guibg=#200000
hi jinjaVariable guifg=#92cd35 guibg=#200000
hi jinjaAttribute guifg=#dd7700 guibg=#200000
hi jinjaSpecial guifg=#008ffd guibg=#200000
" ERuby Highlighting (for my eruby.vim)
hi erubyRubyDelim guifg=#2c8a16 gui=bold
hi erubyComment guifg=#4d9b3a gui=italic

121
colors/fu.vim Executable file
View File

@ -0,0 +1,121 @@
" Vim color file
"
" Name: fu.vim
" Version: 1.1
" Maintainer: Aaron Mueller <mail@aaron-mueller.de>
" Contributors: Florian Eitel <feitel@indeedgeek.de>
" Tinou <tinoucas@gmail.com>
"
" This is a compositon from railscast, mustang and xoria256 with a lot of
" improvemts in the colors. Want to change toe colors to your needs? Go to
" this page to see what number is set wo what color:
" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
"
" History:
" 2010-06-09 - Merge changes from Florian Eitel in this file. There was many
" whitespace issues and some unused highlight settings which are removed
" now. Also merged Tinous GUI version of the whole colorscheme. Thanks a
" lot dudes!
"
" 2010-06-09 - Initial setup and creation of this file. Additional colors for
" Ruby and the diff view are added.
"
if &t_Co != 256 && ! has("gui_running")
echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)"
finish
endif
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "fu"
" General colors
hi Normal ctermfg=252 ctermbg=234 guifg=#d0d0d0 guibg=#1c1c1c
hi CursorColumn ctermbg=238 guibg=#444444
hi Cursor ctermbg=214 guibg=#ffaf00
hi CursorLine ctermbg=238 guibg=#444444
hi FoldColumn ctermfg=248 ctermbg=bg guifg=#a8a8a8 guibg=#000000
hi Folded ctermfg=255 ctermbg=60 guifg=#eeeeee guibg=#5f5f87
hi IncSearch ctermfg=0 ctermbg=223 guifg=#000000 guibg=#ffd7af
hi NonText ctermfg=248 ctermbg=233 cterm=bold guifg=#a8a8a8 guibg=#121212
hi Search ctermfg=0 ctermbg=149 guifg=#000000 guibg=#afd75f
hi SignColumn ctermfg=248 guifg=#a8a8a8
hi SpecialKey ctermfg=77 guifg=#5fd75f
hi StatusLine ctermfg=232 ctermbg=255 guifg=#080808 guibg=#eeeeee
hi StatusLineNC ctermfg=237 ctermbg=253 guifg=#3a3a3a guibg=#dadada
hi TabLine ctermfg=253 ctermbg=237 guifg=#dadada guibg=#3a3a3a
hi TabLineFill ctermfg=0 ctermbg=0 guifg=#000000 guibg=#000000
hi TabLineSel ctermfg=255 ctermbg=33 guifg=#eeeeee guibg=#0087ff
hi VertSplit ctermfg=237 ctermbg=237 guifg=#3a3a3a guibg=#3a3a3a
hi Visual ctermfg=24 ctermbg=153 guifg=#005f87 guibg=#afd7ff
hi VIsualNOS ctermfg=24 ctermbg=153 guifg=#005f87 guibg=#afd7ff
hi LineNr ctermfg=248 ctermbg=232 guifg=#a8a8a8 guibg=#080808
hi ModeMsg ctermfg=220 guifg=#ffd700
hi ErrorMsg ctermfg=196 ctermbg=52 guifg=#ff0000 guibg=#5f0000
hi SpellBad ctermfg=196 ctermbg=52
if version >= 700
hi CursorLine ctermbg=236 guibg=#303030
hi CursorColumn ctermbg=236 guibg=#303030
hi MatchParen ctermfg=157 ctermbg=237 cterm=bold guifg=#afffaf guibg=#3a3a3a
hi Pmenu ctermfg=255 ctermbg=236 guifg=#eeeeee guibg=#303030
hi PmenuSel ctermfg=0 ctermbg=74 guifg=#000000 guibg=#5fafd7
hi PmenuSbar ctermbg=243 guibg=#767676
hi PmenuThumb ctermbg=252 guibg=#d0d0d0
hi WildMenu ctermfg=255 ctermbg=33 guifg=#eeeeee guibg=#0087ff
endif
" Syntax highlighting
hi Comment ctermfg=244 guifg=#808080
hi Constant ctermfg=220 cterm=bold guifg=#ffd700
hi String ctermfg=107 ctermbg=233 guifg=#87af5f guibg=#121212
hi Character ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000
hi Number ctermfg=214 guifg=#ffaf00
hi Boolean ctermfg=148 guifg=#afd700
hi Identifier ctermfg=149 guifg=#afd75f
hi Function ctermfg=231 guifg=#ffffff
hi Statement ctermfg=103 guifg=#8787af
hi Conditional ctermfg=105 guifg=#8787ff
hi Repeat ctermfg=105 guifg=#8787ff
hi Label ctermfg=105 guifg=#8787ff
hi Operator ctermfg=243 guifg=#767676
hi Keyword ctermfg=190 guifg=#d7ff00
hi Exception ctermfg=166 ctermbg=0 guifg=#d75f00 guibg=#000000
hi PreProc ctermfg=229 guifg=#ffffaf
hi Type ctermfg=111 guifg=#87afff
hi Structure ctermfg=111 ctermbg=233 guifg=#87afff guibg=#121212
hi Special ctermfg=220 guifg=#ffd700
hi SpecialComment ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000
hi Error ctermfg=196 ctermbg=52 guifg=#ff0000 guibg=#5f0000
hi Todo ctermfg=46 ctermbg=22 guifg=#00ff00 guibg=#005f00
" Diff
hi diffAdd ctermfg=bg ctermbg=151 guifg=#afd787
hi diffDelete ctermfg=bg ctermbg=246 guifg=#d78787
hi diffChange ctermfg=bg ctermbg=181 guifg=#000000 guibg=#afd7af
hi diffText ctermfg=bg ctermbg=174 cterm=bold guifg=#000000 guibg=#949494
" Ruby
hi rubyBlockParameter ctermfg=27 guifg=#005fff
hi rubyClass ctermfg=75 guifg=#5fafff
hi rubyConstant ctermfg=167 guifg=#d75f5f
hi rubyInterpolation ctermfg=107 guifg=#87af5f
hi rubyLocalVariableOrMethod ctermfg=189 guifg=#d7d7ff
hi rubyPredefinedConstant ctermfg=167 guifg=#d75f5f
hi rubyPseudoVariable ctermfg=221 guifg=#ffd75f
hi rubyStringDelimiter ctermfg=143 guifg=#afaf5f

237
colors/gaea.vim Executable file
View File

@ -0,0 +1,237 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: gaea.vim
" Last Change: 2009-10-17 [17:02:31]
" Version: 110
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Help: :h gaea.vim
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "gaea"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
" cleanup
delfunction s:GetValue
" Default Highlight {{{1
hi Normal guifg=black guibg=white gui=NONE
hi Cursor guifg=bg guibg=fg gui=NONE
hi CursorIM guifg=bg guibg=darkred gui=NONE
hi MatchParen guifg=fg guibg=chartreuse gui=NONE
" search
hi Search guifg=fg guibg=gold gui=NONE
hi IncSearch guifg=gold guibg=indianred4 gui=NONE
" visual mode
if version < 700
hi Visual guifg=fg guibg=khaki1 gui=NONE
hi VisualNOS guifg=fg guibg=darkolivegreen1 gui=NONE
" diff
hi DiffAdd guifg=fg guibg=chartreuse gui=NONE
hi DiffChange guifg=fg guibg=steelblue1 gui=NONE
hi DiffDelete guifg=fg guibg=gold gui=NONE
hi DiffText guifg=fg guibg=cadetblue1 gui=NONE
else
hi Visual guibg=khaki1 gui=NONE
hi VisualNOS guibg=darkolivegreen1 gui=NONE
" diff
hi DiffAdd guibg=chartreuse gui=NONE
hi DiffChange guibg=steelblue1 gui=NONE
hi DiffDelete guibg=gold gui=NONE
hi DiffText guibg=cadetblue1 gui=NONE
endif
" line numbers and folding
hi LineNr guifg=darkseagreen4 guibg=bg gui=NONE
hi NonText guifg=sienna4 guibg=wheat3 gui=NONE
hi Folded guifg=brown guibg=wheat3 gui=NONE
hi FoldColumn guifg=brown guibg=wheat3 gui=NONE
hi SignColumn guifg=firebrick3 guibg=wheat3 gui=NONE
" windows, statusline
hi StatusLine guifg=fg guibg=burlywood3 gui=NONE
hi StatusLineNC guifg=wheat2 guibg=burlywood4 gui=NONE
hi VertSplit guifg=wheat2 guibg=burlywood4 gui=NONE
hi WildMenu guifg=gold guibg=indianred4 gui=NONE
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=fg guibg=burlywood
hi Scrollbar guifg=wheat1 guibg=burlywood4
hi Tooltip guifg=green4 guibg=darkseagreen2
endif
endif
" vim >= 7.0 only
if version >= 700
hi CursorLine guibg=lemonchiffon1 gui=NONE
hi CursorColumn guibg=lemonchiffon1 gui=NONE
" tab pages
hi TabLine guifg=wheat2 guibg=burlywood4 gui=NONE
hi TabLineFill guifg=wheat2 guibg=burlywood4 gui=NONE
hi TabLineSel guifg=fg guibg=burlywood3 gui=NONE
" popup completion menu
hi Pmenu guifg=fg guibg=darkseagreen2 gui=NONE
hi PmenuSel guifg=darkseagreen1 guibg=green4 gui=NONE
hi PmenuSbar guifg=darkseagreen3 guibg=darkseagreen3 gui=NONE
hi PmenuThumb guifg=darkseagreen4 guibg=darkseagreen4 gui=NONE
" spell checking
hi SpellBad guisp=red gui=undercurl
hi SpellCap guisp=blue gui=undercurl
hi SpellLocal guisp=cyan3 gui=undercurl
hi SpellRare guisp=orchid2 gui=undercurl
endif
" other texts
hi Question guifg=forestgreen guibg=bg gui=NONE
hi WarningMsg guifg=red2 guibg=bg gui=NONE
hi ErrorMsg guifg=bg guibg=red2 gui=NONE
hi Title guifg=deepskyblue4 guibg=bg gui=NONE
hi Directory guifg=green4 guibg=bg gui=NONE
hi MoreMsg guifg=sienna4 guibg=wheat1 gui=NONE
hi ModeMsg guifg=fg guibg=darkseagreen2 gui=NONE
hi SpecialKey guifg=royalblue2 guibg=bg gui=NONE
" Default Syntax Highlight {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~
hi Comment guifg=sienna guibg=bg gui=NONE
hi SpecialComment guifg=salmon3 guibg=bg gui=NONE
hi Constant guifg=darkorange2 guibg=bg gui=NONE
hi Character guifg=tan3 guibg=bg gui=NONE
hi String guifg=tan3 guibg=bg gui=NONE
hi link Number Constant
hi link Boolean Constant
hi link Float Constant
hi Identifier guifg=darkolivegreen4 guibg=bg gui=NONE
hi Function guifg=darkolivegreen4 guibg=bg gui=NONE
hi Statement guifg=green4 guibg=bg gui=NONE
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
hi PreProc guifg=tomato3 guibg=bg gui=NONE
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi Type guifg=olivedrab4 guibg=bg gui=NONE
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi Special guifg=deepskyblue4 guibg=bg gui=NONE
hi link SpecialChar Special
hi link Delimiter Special
hi link Tag Special
hi Debug guifg=grey40 guibg=bg gui=NONE
hi Underlined guifg=forestgreen guibg=bg gui=underline
hi Ignore guifg=grey90 guibg=bg gui=NONE
hi Error guifg=bg guibg=red3 gui=NONE
hi Todo guifg=brown4 guibg=burlywood1 gui=NONE
" Font Style {{{1
"~~~~~~~~~~~~
if 0 < s:mimic_font_style
" Function: s:MultiHi {{{2
" Sets highlight option(s) on all its arguments.
" Parameters:
" option -- a string in the form of "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the "bold & italics" groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "WildMenu", "TabLineSel", "StatusLine", "MoreMsg", "ModeMsg", "Title", "Constant", "Statement", "PreProc", "Type", "Identifier", "Function", "Special", "Special", "Todo", "Directory")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "StatusLineNC", "TabLine", "Comment", "SpecialComment", "Question", "Identifier", "Function", "TODO")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "MoreMsg", "Title", "Special", "Identifier", "Function", "Todo", "Directory")
endif
" cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui
" vim:noet:sw=22:ts=22:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

163
colors/gentooish.vim Executable file
View File

@ -0,0 +1,163 @@
" Vim color file
" Name: gentooish.vim
" Author: Brian Carper<brian@briancarper.net>
" Version: 0.3
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
if has('gui_running')
hi Normal gui=NONE guifg=#cccccc guibg=#191919
hi IncSearch gui=NONE guifg=#000000 guibg=#8bff95
hi Search gui=NONE guifg=#cccccc guibg=#863132
hi ErrorMsg gui=NONE guifg=#cccccc guibg=#863132
hi WarningMsg gui=NONE guifg=#cccccc guibg=#863132
hi ModeMsg gui=NONE guifg=#cccccc guibg=NONE
hi MoreMsg gui=NONE guifg=#cccccc guibg=NONE
hi Question gui=NONE guifg=#cccccc guibg=NONE
hi StatusLine gui=BOLD guifg=#cccccc guibg=#333333
hi User1 gui=BOLD guifg=#999999 guibg=#333333
hi User2 gui=BOLD guifg=#8bff95 guibg=#333333
hi StatusLineNC gui=NONE guifg=#999999 guibg=#333333
hi VertSplit gui=NONE guifg=#cccccc guibg=#333333
hi WildMenu gui=BOLD guifg=#cf7dff guibg=#1F0F29
hi DiffText gui=NONE guifg=#000000 guibg=#4cd169
hi DiffChange gui=NONE guifg=NONE guibg=#541691
hi DiffDelete gui=NONE guifg=#cccccc guibg=#863132
hi DiffAdd gui=NONE guifg=#cccccc guibg=#306d30
hi Cursor gui=NONE guifg=#000000 guibg=#8bff95
hi Folded gui=NONE guifg=#aaa400 guibg=#000000
hi FoldColumn gui=NONE guifg=#cccccc guibg=#000000
hi Directory gui=NONE guifg=#8bff95 guibg=NONE
hi LineNr gui=NONE guifg=#bbbbbb guibg=#222222
hi NonText gui=NONE guifg=#555555 guibg=NONE
hi SpecialKey gui=NONE guifg=#6f6f2f guibg=NONE
hi Title gui=NONE guifg=#9a383a guibg=NONE
hi Visual gui=NONE guifg=#cccccc guibg=#1d474f
hi Comment gui=NONE guifg=#666666 guibg=NONE
hi Constant gui=NONE guifg=#b8bb00 guibg=NONE
hi Boolean gui=NONE guifg=#00ff00 guibg=NONE
hi String gui=NONE guifg=#5dff9e guibg=#0f291a
hi Error gui=NONE guifg=#990000 guibg=#000000
hi Identifier gui=NONE guifg=#4cbbd1 guibg=NONE
hi Ignore gui=NONE guifg=#555555
hi Number gui=NONE guifg=#ddaa66 guibg=NONE
hi PreProc gui=NONE guifg=#9a383a guibg=NONE
hi Special gui=NONE guifg=#ffcd8b guibg=NONE
hi Statement gui=NONE guifg=#4cd169 guibg=NONE
hi Todo gui=NONE guifg=#cccccc guibg=#863132
hi Type gui=NONE guifg=#c476f1 guibg=NONE
hi Underlined gui=UNDERLINE guifg=#cccccc guibg=NONE
hi Visual gui=NONE guifg=#ffffff guibg=#6e4287
hi VisualNOS gui=NONE guifg=#cccccc guibg=#000000
hi CursorLine gui=NONE guifg=NONE guibg=#222222
hi CursorColumn gui=NONE guifg=NONE guibg=#222222
hi lispList gui=NONE guifg=#555555
if v:version >= 700
hi Pmenu gui=NONE guifg=#cccccc guibg=#222222
hi PMenuSel gui=BOLD guifg=#c476f1 guibg=#000000
hi PmenuSbar gui=NONE guifg=#cccccc guibg=#000000
hi PmenuThumb gui=NONE guifg=#cccccc guibg=#333333
hi SpellBad gui=undercurl guisp=#cc6666
hi SpellRare gui=undercurl guisp=#cc66cc
hi SpellLocal gui=undercurl guisp=#cccc66
hi SpellCap gui=undercurl guisp=#66cccc
hi MatchParen gui=NONE guifg=#ffffff guibg=#005500
endif
else
" Dumped via CSApprox, then edited slightly
" (http://www.vim.org/scripts/script.php?script_id=2390)
hi SpecialKey term=bold ctermfg=58
hi NonText term=bold ctermfg=240
hi Directory term=bold ctermfg=120
hi ErrorMsg term=standout ctermfg=252 ctermbg=95
hi IncSearch term=reverse ctermfg=16 ctermbg=120
hi Search term=reverse ctermfg=252 ctermbg=95
hi MoreMsg term=bold ctermfg=252
hi ModeMsg term=bold ctermfg=252
hi LineNr term=underline ctermfg=250 ctermbg=235
hi Question term=standout ctermfg=252
hi StatusLine term=bold,reverse cterm=bold ctermfg=252 ctermbg=236
hi StatusLineNC term=reverse cterm=bold ctermfg=240 ctermbg=236
hi VertSplit term=reverse ctermfg=252 ctermbg=236
hi Title term=bold ctermfg=95
hi Visual term=reverse ctermfg=231 ctermbg=60
hi VisualNOS term=bold,underline ctermfg=252 ctermbg=16
hi WarningMsg term=standout ctermfg=252 ctermbg=95
hi WildMenu term=standout cterm=bold ctermfg=177 ctermbg=16
hi Folded term=standout ctermfg=142 ctermbg=16
hi FoldColumn term=standout ctermfg=252 ctermbg=16
hi DiffAdd term=bold ctermfg=252 ctermbg=59
hi DiffChange term=bold ctermbg=54
hi DiffDelete term=bold ctermfg=252 ctermbg=95
hi DiffText term=reverse ctermfg=16 ctermbg=77
hi SignColumn term=standout ctermfg=51 ctermbg=250
hi TabLine term=underline cterm=underline ctermbg=248
hi TabLineSel term=bold cterm=bold
hi TabLineFill term=reverse ctermfg=234 ctermbg=252
hi CursorColumn term=reverse ctermbg=235
hi CursorLine term=underline ctermbg=235
hi Cursor ctermfg=16 ctermbg=120
hi lCursor ctermfg=234 ctermbg=252
hi Normal ctermfg=252 ctermbg=234
hi Comment term=bold ctermfg=241
hi Constant term=underline ctermfg=142
hi Special term=bold ctermfg=222
hi Identifier term=underline ctermfg=74
hi Statement term=bold ctermfg=77
hi PreProc term=underline ctermfg=95
hi Type term=underline ctermfg=177
hi Underlined term=underline cterm=underline ctermfg=252
hi Ignore ctermfg=240
hi Error term=reverse ctermfg=88 ctermbg=16
hi Todo term=standout ctermfg=252 ctermbg=95
hi String ctermfg=85 ctermbg=16
hi Number ctermfg=179
hi Boolean ctermfg=46
hi Special term=bold ctermfg=222
hi Identifier term=underline ctermfg=74
hi Statement term=bold ctermfg=77
hi PreProc term=underline ctermfg=95
hi Type term=underline ctermfg=177
hi Underlined term=underline cterm=underline ctermfg=252
hi Ignore ctermfg=240
hi Error term=reverse ctermfg=88 ctermbg=16
hi Todo term=standout ctermfg=252 ctermbg=95
hi String ctermfg=85 ctermbg=16
hi Number ctermfg=179
hi Boolean ctermfg=46
hi User1 cterm=bold ctermfg=246 ctermbg=236
hi User2 cterm=bold ctermfg=120 ctermbg=236
if v:version >= 700
hi SpellBad term=reverse cterm=undercurl ctermfg=167
hi SpellCap term=reverse cterm=undercurl ctermfg=80
hi SpellRare term=reverse cterm=undercurl ctermfg=170
hi SpellLocal term=underline cterm=undercurl ctermfg=185
hi Pmenu ctermfg=252 ctermbg=235
hi PmenuSel cterm=bold ctermfg=177 ctermbg=16
hi PmenuSbar ctermfg=252 ctermbg=16
hi PmenuThumb ctermfg=252 ctermbg=236
hi MatchParen term=reverse ctermfg=231 ctermbg=22
endif
endif

139
colors/github.vim Executable file
View File

@ -0,0 +1,139 @@
" Vim color file
"
" Author: Anthony Carapetis <anthony.carapetis@gmail.com>
"
" Note: Based on github's syntax highlighting theme
" Used Brian Mock's darkspectrum as a starting point/template
" Thanks to Ryan Heath for an easy list of some of the colours:
" http://rpheath.com/posts/356-github-theme-for-syntax-gem
hi clear
set background=light
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="github"
hi Normal guifg=#000000 guibg=#F8F8FF
" {{{ Cursor
hi Cursor guibg=#444454 guifg=#F8F8FF
hi CursorLine guibg=#D8D8DD
hi CursorColumn guibg=#E8E8EE
" }}}
" {{{ Diff
hi DiffAdd guifg=#003300 guibg=#DDFFDD gui=none
hi DiffChange guibg=#ececec gui=none
hi DiffText guifg=#000033 guibg=#DDDDFF gui=none
hi DiffDelete guifg=#DDCCCC guibg=#FFDDDD gui=none
" }}}
" {{{ Folding / Line Numbering / Status Lines
hi Folded guibg=#ECECEC guifg=#808080 gui=bold
hi vimFold guibg=#ECECEC guifg=#808080 gui=bold
hi FoldColumn guibg=#ECECEC guifg=#808080 gui=bold
hi LineNr guifg=#959595 guibg=#ECECEC gui=bold
hi NonText guifg=#808080 guibg=#ECECEC
hi Folded guifg=#808080 guibg=#ECECEC gui=bold
hi FoldeColumn guifg=#808080 guibg=#ECECEC gui=bold
hi VertSplit guibg=#bbbbbb guifg=#bbbbbb gui=none
hi StatusLine guibg=#bbbbbb guifg=#404040 gui=bold
hi StatusLineNC guibg=#d4d4d4 guifg=#404040 gui=italic
" }}}
" {{{ Misc
hi ModeMsg guifg=#990000
hi MoreMsg guifg=#990000
hi Title guifg=#ef5939
hi WarningMsg guifg=#ef5939
hi SpecialKey guifg=#177F80 gui=italic
hi MatchParen guibg=#cdcdfd guifg=#000000
hi Underlined guifg=#000000 gui=underline
hi Directory guifg=#990000
" }}}
" {{{ Search, Visual, etc
hi Visual guifg=#FFFFFF guibg=#3465a4 gui=none
hi VisualNOS guifg=#FFFFFF guibg=#204a87 gui=none
hi IncSearch guibg=#cdcdfd guifg=#000000 gui=italic
hi Search guibg=#cdcdfd guifg=#000000 gui=italic
" }}}
" {{{ Syntax groups
hi Ignore guifg=#808080
hi Identifier guifg=#0086B3
hi PreProc guifg=#A0A0A0 gui=bold
hi Comment guifg=#999988
hi Constant guifg=#177F80 gui=none
hi String guifg=#D81745
hi Function guifg=#990000 gui=bold
hi Statement guifg=#000000 gui=bold
hi Type guifg=#445588 gui=bold
hi Number guifg=#1C9898
hi Todo guifg=#FFFFFF guibg=#990000 gui=bold
hi Special guifg=#159828 gui=bold
hi rubySymbol guifg=#960B73
hi Error guibg=#f8f8ff guifg=#ff1100 gui=undercurl
hi Todo guibg=#f8f8ff guifg=#ff1100 gui=underline
hi Label guifg=#000000 gui=bold
hi StorageClass guifg=#000000 gui=bold
hi Structure guifg=#000000 gui=bold
hi TypeDef guifg=#000000 gui=bold
" }}}
" {{{ Completion menus
hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none
hi Pmenu guibg=#808080 guifg=#ffffff gui=bold
hi PmenuSel guibg=#cdcdfd guifg=#000000 gui=italic
hi PmenuSbar guibg=#000000 guifg=#444444
hi PmenuThumb guibg=#aaaaaa guifg=#aaaaaa
" }}}
" {{{ Spelling
hi spellBad guisp=#fcaf3e
hi spellCap guisp=#73d216
hi spellRare guisp=#fcaf3e
hi spellLocal guisp=#729fcf
" }}}
" {{{ Aliases
hi link cppSTL Function
hi link cppSTLType Type
hi link Character Number
hi link htmlTag htmlEndTag
"hi link htmlTagName htmlTag
hi link htmlLink Underlined
hi link pythonFunction Identifier
hi link Question Type
hi link CursorIM Cursor
hi link VisualNOS Visual
hi link xmlTag Identifier
hi link xmlTagName Identifier
hi link shDeref Identifier
hi link shVariable Function
hi link rubySharpBang Special
hi link perlSharpBang Special
hi link schemeFunc Statement
"hi link shSpecialVariables Constant
"hi link bashSpecialVariables Constant
" }}}
" {{{ Tabs (non-gui0
hi TabLine guifg=#404040 guibg=#dddddd gui=none
hi TabLineFill guifg=#404040 guibg=#dddddd gui=none
hi TabLineSel guifg=#404040 gui=bold
" }}}
"
" vim: sw=4 ts=4 foldmethod=marker

70
colors/golden.vim Executable file
View File

@ -0,0 +1,70 @@
" vim: tw=0 ts=4 sw=4
" Vim color file
"
" Creator: Ryan Phillips <ryan@trolocsis.com>
" Credits: This color scheme originated from the idea of
" Jeffrey Bakker, the creator of webcpp (http://webcpp.sourceforge.net/).
" URL: http://www.trolocsis.com/vim/golden.vim
"
hi clear
set background=dark
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "golden"
hi Normal ctermfg=yellow guifg=#ddbb00 guibg=black
hi Scrollbar ctermfg=Yellow guifg=#ddbb00 guibg=black
hi Menu ctermfg=darkyellow guifg=#ffddaa guibg=black
hi SpecialKey ctermfg=yellow term=bold cterm=bold guifg=#ffddaa
hi NonText ctermfg=LightBlue term=bold cterm=bold gui=bold guifg=#DBCA98
hi Directory ctermfg=DarkYellow term=bold cterm=bold guifg=#ffddaa
hi ErrorMsg term=standout cterm=bold ctermfg=White ctermbg=Red guifg=White guibg=Red
hi Search term=reverse ctermfg=white ctermbg=red guifg=white guibg=Red
hi MoreMsg term=bold cterm=bold ctermfg=Yellow gui=bold guifg=#ddbb00
hi ModeMsg term=bold ctermfg=DarkYellow cterm=bold gui=bold guifg=Black guibg=#ddbb00
hi LineNr term=underline ctermfg=Brown cterm=bold guifg=#978345
hi Question term=standout cterm=bold ctermfg=Brown gui=bold guifg=#ffddaa
hi StatusLine term=bold,reverse cterm=bold ctermfg=Black ctermbg=DarkGrey gui=bold guifg=#978345 guibg=#2E2E2E
hi StatusLineNC term=reverse ctermfg=white ctermbg=black guifg=grey guibg=#3E3E3E
hi Title term=bold cterm=bold ctermfg=brown gui=bold guifg=#DBCA98
hi Visual term=reverse cterm=reverse gui=reverse
hi WarningMsg term=standout cterm=bold ctermfg=darkblue guifg=Red
hi Cursor guifg=bg guibg=#FF5E06 ctermbg=Brown
hi Comment term=bold cterm=bold ctermfg=brown guifg=#978345
hi Constant term=underline cterm=bold ctermfg=red guifg=Red
hi Special term=bold cterm=bold ctermfg=red guifg=Orange
hi Identifier term=underline ctermfg=lightgray guifg=#DBCA98
hi Statement term=bold cterm=bold ctermfg=lightgreen gui=bold guifg=#ffff60
hi PreProc term=underline ctermfg=brown guifg=#ffddaa
hi Type term=underline cterm=bold ctermfg=lightgreen gui=bold guifg=#FFE13F
hi Error term=reverse ctermfg=darkcyan ctermbg=black guifg=Red guibg=Black
hi Todo term=standout ctermfg=black ctermbg=yellow guifg=#FFE13F guibg=#2E2E2E
hi VertSplit guifg=#2E2E2E guibg=#978345 ctermfg=black ctermbg=darkgrey
hi Folded guifg=orange guibg=#2E2E2E ctermfg=yellow
hi link IncSearch Visual
hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Function Identifier
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator 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 Special

235
colors/greyhouse.vim Executable file
View File

@ -0,0 +1,235 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: greyhouse.vim
" Last Change: 2009-10-17 [17:02:43]
" Version: 120
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Help: :h greyhouse.vim
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "greyhouse"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
" cleanup
delfunction s:GetValue
" Default Highlight {{{1
"~~~~~~~~~~~~~~~~~~~
hi Normal guifg=#000000 guibg=#d3d3d3 gui=NONE ctermfg=black ctermbg=gray cterm=NONE
hi Cursor guifg=#ffffff guibg=#000099 gui=NONE ctermfg=white ctermbg=darkblue cterm=NONE
hi CursorIM guifg=#ffffff guibg=#003300 gui=NONE ctermfg=white ctermbg=darkgreen cterm=NONE
hi MatchParen guifg=#ffffff guibg=#990000 gui=NONE ctermfg=white ctermbg=darkred cterm=NONE
" search
hi Search guifg=#000000 guibg=#78d878 gui=NONE ctermfg=fg ctermbg=green cterm=NONE
hi IncSearch guifg=#000000 guibg=#78d8d8 gui=NONE ctermfg=fg ctermbg=cyan cterm=NONE
" visual mode, line number
if version < 700
hi Visual guifg=fg guibg=#b3b3b3 gui=NONE ctermfg=bg ctermbg=black cterm=NONE
hi VisualNOS guifg=fg guibg=#d3a3a3 gui=NONE ctermfg=bg ctermbg=darkred cterm=NONE
hi LineNr guifg=#886688 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
else
hi Visual guibg=#b3b3b3 gui=NONE ctermfg=bg ctermbg=black cterm=NONE
hi VisualNOS guibg=#d3a3a3 gui=NONE ctermfg=bg ctermbg=darkred cterm=NONE
hi LineNr guifg=#886688 gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
endif
" folding
hi NonText guifg=#886688 guibg=bg gui=NONE ctermfg=darkgray ctermbg=bg cterm=NONE
hi Folded guifg=#553355 guibg=#b8b8b8 gui=NONE ctermfg=darkmagenta ctermbg=darkgray cterm=NONE
hi FoldColumn guifg=#664466 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi SignColumn guifg=#446666 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
" windows, statusline
hi StatusLine guifg=bg guibg=#333333 gui=NONE ctermfg=bg ctermbg=black cterm=NONE
hi StatusLineNC guifg=fg guibg=#999999 gui=NONE ctermfg=fg ctermbg=darkgray cterm=NONE
hi VertSplit guifg=fg guibg=#999999 gui=NONE ctermfg=fg ctermbg=darkgray cterm=NONE
hi WildMenu guifg=fg guibg=bg gui=underline ctermfg=fg ctermbg=bg cterm=NONE
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=black guibg=grey75
hi Scrollbar guifg=black guibg=grey75
hi Tooltip guifg=grey25 guibg=lightyellow
endif
endif
" vim >= 7.0 only
if version >= 700
hi CursorLine guibg=#c3c3c3 gui=NONE ctermbg=white cterm=NONE
hi CursorColumn guibg=#c3c3c3 gui=NONE ctermbg=white cterm=NONE
" tab pages
hi TabLine guifg=fg guibg=#999999 gui=NONE ctermfg=fg ctermbg=darkgray cterm=NONE
hi TabLineFill guifg=fg guibg=#999999 gui=NONE ctermfg=fg ctermbg=darkgray cterm=NONE
hi TabLineSel guifg=bg guibg=#333333 gui=NONE ctermfg=bg ctermbg=black cterm=NONE
" popup completion menu
hi Pmenu guifg=bg guibg=#666666 gui=NONE ctermfg=bg ctermbg=darkgray cterm=NONE
hi PmenuSel guifg=fg guibg=#cccccc gui=underline ctermfg=fg ctermbg=gray cterm=NONE
hi PmenuSbar guifg=#333333 guibg=#333333 gui=NONE ctermfg=black ctermbg=black cterm=NONE
hi PmenuThumb guifg=#444444 guibg=#444444 gui=NONE ctermfg=darkgray ctermbg=darkgray cterm=NONE
" spell checking
hi SpellBad guisp=#990000 gui=undercurl ctermfg=bg ctermbg=darkred cterm=NONE
hi SpellCap guisp=#000099 gui=undercurl ctermfg=bg ctermbg=darkblue cterm=NONE
hi SpellLocal guisp=#009999 gui=undercurl ctermfg=fg ctermbg=darkcyan cterm=NONE
hi SpellRare guisp=#990099 gui=undercurl ctermfg=bg ctermbg=darkmagenta cterm=NONE
endif
" other texts
hi Question guifg=#900090 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi WarningMsg guifg=#900000 guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi ErrorMsg guifg=bg guibg=#a00000 gui=NONE ctermfg=yellow ctermbg=red cterm=NONE
hi Title guifg=#006800 guibg=bg gui=NONE ctermfg=fg ctermbg=bg cterm=NONE
hi Directory guifg=#000090 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi MoreMsg guifg=#606000 guibg=bg gui=NONE ctermfg=darkyellow ctermbg=bg cterm=NONE
hi ModeMsg guifg=#703000 guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi SpecialKey guifg=#007050 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
" diff
hi DiffAdd guifg=fg guibg=#99e899 gui=NONE ctermfg=fg ctermbg=bg cterm=NONE
hi DiffChange guifg=fg guibg=#9999e8 gui=NONE ctermfg=fg ctermbg=bg cterm=NONE
hi DiffDelete guifg=fg guibg=#e89999 gui=NONE ctermfg=fg ctermbg=bg cterm=NONE
hi DiffText guifg=fg guibg=#99e8e8 gui=NONE ctermfg=fg ctermbg=bg cterm=NONE
" Default Syntax Highlight {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~
hi Comment guifg=#205e50 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi SpecialComment guifg=#505320 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi Character guifg=#0000a0 guibg=bg gui=NONE ctermfg=blue ctermbg=bg cterm=NONE
hi String guifg=#0000a0 guibg=bg gui=NONE ctermfg=blue ctermbg=bg cterm=NONE
hi Constant guifg=#400080 guibg=bg gui=NONE ctermfg=darkyellow ctermbg=bg cterm=NONE
hi link Float Constant
hi link Number Constant
hi link Boolean Constant
hi Identifier guifg=#495a16 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi link Function Identifier
hi Statement guifg=#004080 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
hi PreProc guifg=#804040 guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi Type guifg=#800080 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi Special guifg=#9c6911 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi SpecialChar guifg=#3a5c57 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi link Tag Special
hi link Delimiter SpecialChar
hi Debug guifg=#666666 guibg=bg gui=NONE ctermfg=darkgrey ctermbg=bg cterm=NONE
hi Underlined guifg=#004080 guibg=bg gui=underline ctermfg=darkblue ctermbg=bg cterm=underline
hi Ignore guifg=#b3b3b3 guibg=bg gui=NONE ctermfg=bg ctermbg=bg cterm=NONE
hi Error guifg=#cc0000 guibg=bg gui=underline ctermfg=white ctermbg=red cterm=NONE
hi Todo guifg=fg guibg=#cccc00 gui=underline ctermfg=fg ctermbg=yellow cterm=NONE
" Font Style {{{1
"~~~~~~~~~~~~
if has("gui_running") && 0 < s:mimic_font_style
" Function: s:MultiHi {{{2
" Sets highlight option(s) for all its arguments.
" Parameters:
" option -- a string in the form of "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the "bold & italics" groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "WildMenu", "TabLineSel", "StatusLine", "MoreMsg", "ModeMsg", "Title", "Constant", "Statement", "PreProc", "Type", "Identifier", "Special", "SpecialChar", "Todo")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "StatusLineNC", "Comment", "SpecialComment", "Question")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "MoreMsg", "Title", "Identifier", "Todo")
endif
" cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui
" vim:noet:sw=22:ts=22:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

103
colors/guardian.vim Executable file
View File

@ -0,0 +1,103 @@
" Vim color file
" Maintainer: Anders Korte <anderskorte@eml.cc>
" Last Change: 6 Apr 2005
" Guardian color scheme 1.2
" Rich-syntax colors for source editing and other vimming.
set background=dark
hi clear
syntax reset
" Colors for the User Interface.
hi Cursor guibg=#cc4455 guifg=white gui=bold ctermbg=4 ctermfg=15
hi link CursorIM Cursor
hi Normal guibg=#332211 guifg=white gui=none ctermbg=0 ctermfg=15
hi NonText guibg=#445566 guifg=#ffeecc gui=bold ctermbg=8 ctermfg=14
hi Visual guibg=#557799 guifg=white gui=none ctermbg=9 ctermfg=15
hi Linenr guibg=bg guifg=#aaaaaa gui=none ctermbg=bg ctermfg=7
hi Directory guibg=bg guifg=#337700 gui=none ctermbg=bg ctermfg=10
hi IncSearch guibg=#0066cc guifg=white gui=none ctermbg=1 ctermfg=15
hi link Seach IncSearch
hi SpecialKey guibg=bg guifg=fg gui=none ctermbg=bg ctermfg=fg
hi Titled guibg=bg guifg=fg gui=none ctermbg=bg ctermfg=fg
hi ErrorMsg guibg=bg guifg=#ff0000 gui=bold ctermbg=bg ctermfg=12
hi ModeMsg guibg=bg guifg=#ffeecc gui=none ctermbg=bg ctermfg=14
hi link MoreMsg ModeMsg
hi Question guibg=bg guifg=#ccffcc gui=bold ctermbg=bg ctermfg=10
hi link WarningMsg ErrorMsg
hi StatusLine guibg=#ffeecc guifg=black gui=bold ctermbg=14 ctermfg=0
hi StatusLineNC guibg=#cc4455 guifg=white gui=none ctermbg=4 ctermfg=11
hi VertSplit guibg=#cc4455 guifg=white gui=none ctermbg=4 ctermfg=11
hi DiffAdd guibg=#446688 guifg=fg gui=none ctermbg=1 ctermfg=fg
hi DiffChange guibg=#558855 guifg=fg gui=none ctermbg=2 ctermfg=fg
hi DiffDelete guibg=#884444 guifg=fg gui=none ctermbg=4 ctermfg=fg
hi DiffText guibg=#884444 guifg=fg gui=bold ctermbg=4 ctermfg=fg
" Colors for Syntax Highlighting.
hi Comment guibg=#334455 guifg=#dddddd gui=none ctermbg=8 ctermfg=7
hi Constant guibg=bg guifg=white gui=bold ctermbg=8 ctermfg=15
hi String guibg=bg guifg=#ffffcc gui=italic ctermbg=bg ctermfg=14
hi Character guibg=bg guifg=#ffffcc gui=bold ctermbg=bg ctermfg=14
hi Number guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
hi Boolean guibg=bg guifg=#bbddff gui=none ctermbg=1 ctermfg=15
hi Float guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
hi Identifier guibg=bg guifg=#ffddaa gui=bold ctermbg=bg ctermfg=12
hi Function guibg=bg guifg=#ffddaa gui=bold ctermbg=bg ctermfg=12
hi Statement guibg=bg guifg=#ffffcc gui=bold ctermbg=bg ctermfg=14
hi Conditional guibg=bg guifg=#ff6666 gui=bold ctermbg=bg ctermfg=12
hi Repeat guibg=bg guifg=#ff9900 gui=bold ctermbg=4 ctermfg=14
hi Label guibg=bg guifg=#ffccff gui=bold ctermbg=bg ctermfg=13
hi Operator guibg=bg guifg=#cc9966 gui=bold ctermbg=6 ctermfg=15
hi Keyword guibg=bg guifg=#66ffcc gui=bold ctermbg=bg ctermfg=10
hi Exception guibg=bg guifg=#66ffcc gui=bold ctermbg=bg ctermfg=10
hi PreProc guibg=bg guifg=#ffcc99 gui=bold ctermbg=4 ctermfg=14
hi Include guibg=bg guifg=#99cc99 gui=bold ctermbg=bg ctermfg=10
hi link Define Include
hi link Macro Include
hi link PreCondit Include
hi Type guibg=bg guifg=#ff7788 gui=bold ctermbg=bg ctermfg=12
hi StorageClass guibg=bg guifg=#99cc99 gui=bold ctermbg=bg ctermfg=10
hi Structure guibg=bg guifg=#99ff99 gui=bold ctermbg=bg ctermfg=10
hi Typedef guibg=bg guifg=#99cc99 gui=italic ctermbg=bg ctermfg=10
hi Special guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
hi SpecialChar guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
hi Tag guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
hi Delimiter guibg=bg guifg=fg gui=bold ctermbg=1 ctermfg=fg
hi SpecialComment guibg=#334455 guifg=#dddddd gui=italic ctermbg=1 ctermfg=15
hi Debug guibg=bg guifg=#ff9999 gui=none ctermbg=8 ctermfg=12
hi Underlined guibg=bg guifg=#99ccff gui=underline ctermbg=bg ctermfg=9 cterm=underline
hi Title guibg=#445566 guifg=white gui=bold ctermbg=1 ctermfg=15
hi Ignore guibg=bg guifg=#cccccc gui=italic ctermbg=bg ctermfg=8
hi Error guibg=#ff0000 guifg=white gui=bold ctermbg=12 ctermfg=15
hi Todo guibg=#556677 guifg=#ff0000 gui=bold ctermbg=1 ctermfg=12
hi htmlH2 guibg=bg guifg=fg gui=bold ctermbg=8 ctermfg=fg
hi link htmlH3 htmlH2
hi link htmlH4 htmlH3
hi link htmlH5 htmlH4
hi link htmlH6 htmlH5
" And finally.
let g:colors_name = "Guardian"
let colors_name = "Guardian"

138
colors/habilight.vim Executable file
View File

@ -0,0 +1,138 @@
" Vim color file
" A version of nuvola.vim colorscheme, original by Dr. J. Pfefferl
" I changed some colors and added some highlights for C and Vim 7
" vim: tw=0 ts=4 sw=4
" Maintainer: Christian Habermann
" Email: christian( at )habermann-net( point )de
" Version: 1.2
" History: 1.2: nicer colors for paren matching
" 1.1: Vim 7 support added (completion, spell checker, paren, tabs)
" 1.0: initial version
"
" Intro {{{1
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "habiLight"
" Normal {{{1
hi Normal ctermfg=black ctermbg=NONE guifg=black guibg=#F9F5F9
" Search {{{1
hi IncSearch cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=UNDERLINE guifg=Black guibg=#FFE568
hi Search term=reverse cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=NONE guifg=Black guibg=#FFE568
" Messages {{{1
hi ErrorMsg gui=BOLD guifg=#EB1513 guibg=NONE
hi! link WarningMsg ErrorMsg
hi ModeMsg gui=BOLD guifg=#0070ff guibg=NONE
hi MoreMsg guibg=NONE guifg=seagreen
hi! link Question MoreMsg
" Split area {{{1
hi StatusLine term=BOLD,reverse cterm=NONE ctermfg=Yellow ctermbg=DarkGray gui=BOLD guibg=#56A0EE guifg=white
hi StatusLineNC gui=NONE guibg=#56A0EE guifg=#E9E9F4
hi! link VertSplit StatusLineNC
hi WildMenu gui=UNDERLINE guifg=#56A0EE guibg=#E9E9F4
" Diff {{{1
hi DiffText gui=NONE guifg=#f83010 guibg=#ffeae0
hi DiffChange gui=NONE guifg=#006800 guibg=#d0ffd0
hi DiffDelete gui=NONE guifg=#2020ff guibg=#c8f2ea
hi! link DiffAdd DiffDelete
" Cursor {{{1
hi Cursor gui=none guifg=black guibg=orange
"hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff
hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff
" Fold {{{1
hi Folded gui=NONE guibg=#B5EEB5 guifg=black
"hi FoldColumn gui=NONE guibg=#9FD29F guifg=black
hi! link FoldColumn Folded
" Other {{{1
hi Directory gui=NONE guifg=#0000ff guibg=NONE
hi LineNr gui=NONE guifg=#8080a0 guibg=NONE
hi NonText gui=BOLD guifg=#4000ff guibg=#EFEFF7
"hi SpecialKey gui=NONE guifg=#A35B00 guibg=NONE
hi Title gui=BOLD guifg=#1014AD guibg=NONE
hi Visual term=reverse ctermfg=yellow ctermbg=black gui=NONE guifg=Black guibg=#BDDFFF
hi VisualNOS term=reverse ctermfg=yellow ctermbg=black gui=UNDERLINE guifg=Black guibg=#BDDFFF
" Syntax group {{{1
hi Comment term=BOLD ctermfg=darkgray guifg=darkcyan
hi Constant term=UNDERLINE ctermfg=red guifg=#B91F49
hi Error term=REVERSE ctermfg=15 ctermbg=9 guibg=Red guifg=White
hi Identifier term=UNDERLINE ctermfg=Blue guifg=Blue
hi Number term=UNDERLINE ctermfg=red gui=NONE guifg=#00C226
hi PreProc term=UNDERLINE ctermfg=darkblue guifg=#1071CE
hi Special term=BOLD ctermfg=darkmagenta guifg=red2
hi Statement term=BOLD ctermfg=DarkRed gui=NONE guifg=#F06F00
hi Tag term=BOLD ctermfg=DarkGreen guifg=DarkGreen
hi Todo term=STANDOUT ctermbg=Yellow ctermfg=blue guifg=Blue guibg=Yellow
hi Type term=UNDERLINE ctermfg=Blue gui=NONE guifg=Blue
hi! link String Constant
hi! link Character Constant
hi! link Boolean Constant
hi! link Float Number
hi! link Function Identifier
hi! link Conditional Statement
hi! link Repeat Statement
hi! link Label Statement
hi! link Operator 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 SpecialChar Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
" HTML {{{1
hi htmlLink gui=UNDERLINE guifg=#0000ff guibg=NONE
hi htmlBold gui=BOLD
hi htmlBoldItalic gui=BOLD,ITALIC
hi htmlBoldUnderline gui=BOLD,UNDERLINE
hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC
hi htmlItalic gui=ITALIC
hi htmlUnderline gui=UNDERLINE
hi htmlUnderlineItalic gui=UNDERLINE,ITALIC
" Tabs {{{1
highlight TabLine term=underline cterm=underline ctermfg=0 ctermbg=7 gui=underline guibg=LightGrey
highlight TabLineFill term=reverse cterm=reverse gui=reverse
highlight TabLineSel term=bold cterm=bold gui=bold
" Spell Checker {{{1
if v:version >= 700
highlight SpellBad term=reverse ctermbg=12 gui=undercurl guisp=Red
highlight SpellCap term=reverse ctermbg=9 gui=undercurl guisp=Blue
highlight SpellRare term=reverse ctermbg=13 gui=undercurl guisp=Magenta
highlight SpellLocale term=underline ctermbg=11 gui=undercurl guisp=DarkCyan
endif
" Completion {{{1
highlight Pmenu ctermbg=13 guifg=Black guibg=#BDDFFF
highlight PmenuSel ctermbg=7 guifg=Black guibg=Orange
highlight PmenuSbar ctermbg=7 guifg=#CCCCCC guibg=#CCCCCC
highlight PmenuThumb cterm=reverse gui=reverse guifg=Black guibg=#AAAAAA
" Misc {{{1
highlight KDE guifg=magenta gui=NONE
highlight mySpecialSymbols guifg=magenta gui=NONE
highlight MatchParen term=reverse ctermbg=11 gui=bold guibg=#B5EEB5 guifg=black
" vim600:foldmethod=marker

385
colors/herald.vim Executable file
View File

@ -0,0 +1,385 @@
" Vim color file
" Name: herald.vim
" Author: Fabio Cevasco <h3rald@h3rald.com>
" Version: 0.2.0
" Notes: Supports 8, 16, 256 and 16,777,216 (RGB) color modes
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "herald"
set background=dark
" Set some syntax-related variables
let ruby_operators = 1
if has("gui_running")
" -> Text; Miscellaneous
hi Normal guibg=#1F1F1F guifg=#D0D0D0 gui=none
hi SpecialKey guibg=#1F1F1F guifg=#E783E9 gui=none
hi VertSplit guibg=#1F1F1F guifg=#FFEE68 gui=none
hi SignColumn guibg=#1F1F1F guifg=#BF81FA gui=none
hi NonText guibg=#1F1F1F guifg=#FC6984 gui=none
hi Directory guibg=#1F1F1F guifg=#FFEE68 gui=none
hi Title guibg=#1F1F1F guifg=#6DF584 gui=bold
" -> Cursor
hi Cursor guibg=#FFEE68 guifg=#1F1F1F gui=none
hi CursorIM guibg=#FFEE68 guifg=#1F1F1F gui=none
hi CursorColumn guibg=#000000 gui=none
hi CursorLine guibg=#000000 gui=none
" -> Folding
hi FoldColumn guibg=#001336 guifg=#003DAD gui=none
hi Folded guibg=#001336 guifg=#003DAD gui=none
" -> Line info
hi LineNr guibg=#000000 guifg=#696567 gui=none
hi StatusLine guibg=#000000 guifg=#696567 gui=none
hi StatusLineNC guibg=#25365a guifg=#696567 gui=none
" -> Messages
hi ErrorMsg guibg=#A32024 guifg=#D0D0D0 gui=none
hi Question guibg=#1F1F1F guifg=#FFA500 gui=none
hi WarningMsg guibg=#FFA500 guifg=#000000 gui=none
hi MoreMsg guibg=#1F1F1F guifg=#FFA500 gui=none
hi ModeMsg guibg=#1F1F1F guifg=#FFA500 gui=none
" -> Search
hi Search guibg=#696567 guifg=#FFEE68 gui=none
hi IncSearch guibg=#696567 guifg=#FFEE68 gui=none
" -> Diff
hi DiffAdd guibg=#006124 guifg=#ED9000 gui=none
hi DiffChange guibg=#0B294A guifg=#A36000 gui=none
hi DiffDelete guibg=#081F38 guifg=#ED9000 gui=none
hi DiffText guibg=#12457D guifg=#ED9000 gui=underline
" -> Menu
hi Pmenu guibg=#140100 guifg=#660300 gui=none
hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none
hi PmenuSbar guibg=#430300 gui=none
hi PmenuThumb guibg=#720300 gui=none
hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none
" -> Tabs
hi TabLine guibg=#141414 guifg=#1F1F1F gui=none
hi TabLineFill guibg=#000000 gui=none
hi TabLineSel guibg=#1F1F1F guifg=#D0D0D0 gui=bold
"
" -> Visual Mode
hi Visual guibg=#000000 guifg=#FFB539 gui=none
hi VisualNOS guibg=#000000 guifg=#696567 gui=none
" -> Code
hi Comment guibg=#1F1F1F guifg=#696567 gui=none
hi Constant guibg=#1F1F1F guifg=#6DF584 gui=none
hi String guibg=#1F1F1F guifg=#FFB539 gui=none
hi Error guibg=#1F1F1F guifg=#FC4234 gui=none
hi Identifier guibg=#1F1F1F guifg=#70BDF1 gui=none
hi Function guibg=#1F1F1F guifg=#90CBF1 gui=none
hi Ignore guibg=#1F1F1F guifg=#1F1F1F gui=none
hi MatchParen guibg=#FFA500 guifg=#1F1F1F gui=none
hi PreProc guibg=#1F1F1F guifg=#BF81FA gui=none
hi Special guibg=#1F1F1F guifg=#FFEE68 gui=none
hi Todo guibg=#1F1F1F guifg=#FC4234 gui=bold
hi Underlined guibg=#1F1F1F guifg=#FC4234 gui=underline
hi Statement guibg=#1F1F1F guifg=#E783E9 gui=none
hi Operator guibg=#1F1F1F guifg=#FC6984 gui=none
hi Delimiter guibg=#1F1F1F guifg=#FC6984 gui=none
hi Type guibg=#1F1F1F guifg=#FFEE68 gui=none
hi Exception guibg=#1F1F1F guifg=#FC4234 gui=none
" -> HTML-specific
hi htmlBold guibg=#1F1F1F guifg=#D0D0D0 gui=bold
hi htmlBoldItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,italic
hi htmlBoldUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline
hi htmlBoldUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline,italic
hi htmlItalic guibg=#1F1F1F guifg=#D0D0D0 gui=italic
hi htmlUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=underline
hi htmlUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=underline,italic
elseif &t_Co == 256
" -> Text; Miscellaneous
hi Normal ctermbg=234 ctermfg=252 cterm=none
hi SpecialKey ctermbg=234 ctermfg=176 cterm=none
hi VertSplit ctermbg=234 ctermfg=227 cterm=none
hi SignColumn ctermbg=234 ctermfg=141 cterm=none
hi NonText ctermbg=234 ctermfg=204 cterm=none
hi Directory ctermbg=234 ctermfg=227 cterm=none
hi Title ctermbg=234 ctermfg=84 cterm=bold
" -> Cursor
hi Cursor ctermbg=227 ctermfg=234 cterm=none
hi CursorIM ctermbg=227 ctermfg=234 cterm=none
hi CursorColumn ctermbg=0 cterm=none
hi CursorLine ctermbg=0 cterm=none
" -> Folding
hi FoldColumn ctermbg=234 ctermfg=25 cterm=none
hi Folded ctermbg=234 ctermfg=25 cterm=none
" -> Line info
hi LineNr ctermbg=0 ctermfg=241 cterm=none
hi StatusLine ctermbg=0 ctermfg=241 cterm=none
hi StatusLineNC ctermbg=237 ctermfg=241 cterm=none
" -> Messages
hi ErrorMsg ctermbg=124 ctermfg=252 cterm=none
hi Question ctermbg=234 ctermfg=214 cterm=none
hi WarningMsg ctermbg=214 ctermfg=0 cterm=none
hi MoreMsg ctermbg=234 ctermfg=214 cterm=none
hi ModeMsg ctermbg=234 ctermfg=214 cterm=none
" -> Search
hi Search ctermbg=241 ctermfg=227 cterm=none
hi IncSearch ctermbg=241 ctermfg=227 cterm=none
" -> Diff
hi DiffAdd ctermbg=22 ctermfg=208 cterm=none
hi DiffChange ctermbg=235 ctermfg=130 cterm=none
hi DiffDelete ctermbg=234 ctermfg=208 cterm=none
hi DiffText ctermbg=24 ctermfg=208 cterm=underline
" -> Menu
hi Pmenu ctermbg=0 ctermfg=52 cterm=none
hi PmenuSel ctermbg=208 ctermfg=52 cterm=none
hi PmenuSbar ctermbg=52 cterm=none
hi PmenuThumb ctermbg=52 cterm=none
hi PmenuSel ctermbg=208 ctermfg=52 cterm=none
" -> Tabs
hi TabLine ctermbg=233 ctermfg=234 cterm=none
hi TabLineFill ctermbg=0 cterm=none
hi TabLineSel ctermbg=234 ctermfg=252 cterm=bold
"
" -> Visual Mode
hi Visual ctermbg=0 ctermfg=215 cterm=none
hi VisualNOS ctermbg=0 ctermfg=241 cterm=none
" -> Code
hi Comment ctermbg=234 ctermfg=241 cterm=none
hi Constant ctermbg=234 ctermfg=84 cterm=none
hi String ctermbg=234 ctermfg=215 cterm=none
hi Error ctermbg=234 ctermfg=203 cterm=none
hi Identifier ctermbg=234 ctermfg=75 cterm=none
hi Function ctermbg=234 ctermfg=117 cterm=none
hi Ignore ctermbg=234 ctermfg=234 cterm=none
hi MatchParen ctermbg=214 ctermfg=234 cterm=none
hi PreProc ctermbg=234 ctermfg=141 cterm=none
hi Special ctermbg=234 ctermfg=227 cterm=none
hi Todo ctermbg=234 ctermfg=203 cterm=bold
hi Underlined ctermbg=234 ctermfg=203 cterm=underline
hi Statement ctermbg=234 ctermfg=176 cterm=none
hi Operator ctermbg=234 ctermfg=204 cterm=none
hi Delimiter ctermbg=234 ctermfg=204 cterm=none
hi Type ctermbg=234 ctermfg=227 cterm=none
hi Exception ctermbg=234 ctermfg=203 cterm=none
" -> HTML-specific
hi htmlBold ctermbg=234 ctermfg=252 cterm=bold
hi htmlBoldItalic ctermbg=234 ctermfg=252 cterm=bold,italic
hi htmlBoldUnderline ctermbg=234 ctermfg=252 cterm=bold,underline
hi htmlBoldUnderlineItalic ctermbg=234 ctermfg=252 cterm=bold,underline,italic
hi htmlItalic ctermbg=234 ctermfg=252 cterm=italic
hi htmlUnderline ctermbg=234 ctermfg=252 cterm=underline
hi htmlUnderlineItalic ctermbg=234 ctermfg=252 cterm=underline,italic
elseif &t_Co == 16
" -> Text; Miscellaneous
hi Normal ctermbg=8 ctermfg=15 cterm=none
hi SpecialKey ctermbg=8 ctermfg=5 cterm=none
hi VertSplit ctermbg=8 ctermfg=14 cterm=none
hi SignColumn ctermbg=8 ctermfg=5 cterm=none
hi NonText ctermbg=8 ctermfg=4 cterm=none
hi Directory ctermbg=8 ctermfg=14 cterm=none
hi Title ctermbg=8 ctermfg=10 cterm=bold
" -> Cursor
hi Cursor ctermbg=14 ctermfg=8 cterm=none
hi CursorIM ctermbg=14 ctermfg=8 cterm=none
hi CursorColumn ctermbg=0 cterm=none
hi CursorLine ctermbg=0 cterm=none
" -> Folding
hi FoldColumn ctermbg=0 ctermfg=1 cterm=none
hi Folded ctermbg=0 ctermfg=1 cterm=none
" -> Line info
hi LineNr ctermbg=0 ctermfg=7 cterm=none
hi StatusLine ctermbg=0 ctermfg=7 cterm=none
hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none
" -> Messages
hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none
hi Question ctermbg=8 ctermfg=14 cterm=none
hi WarningMsg ctermbg=14 ctermfg=0 cterm=none
hi MoreMsg ctermbg=8 ctermfg=14 cterm=none
hi ModeMsg ctermbg=8 ctermfg=14 cterm=none
" -> Search
hi Search ctermbg=7 ctermfg=14 cterm=none
hi IncSearch ctermbg=7 ctermfg=14 cterm=none
" -> Diff
hi DiffAdd ctermbg=0 ctermfg=10 cterm=none
hi DiffChange ctermbg=0 ctermfg=14 cterm=none
hi DiffDelete ctermbg=0 ctermfg=12 cterm=none
hi DiffText ctermbg=1 ctermfg=14 cterm=underline
" -> Menu
hi Pmenu ctermbg=0 ctermfg=4 cterm=none
hi PmenuSel ctermbg=14 ctermfg=4 cterm=none
hi PmenuSbar ctermbg=0 cterm=none
hi PmenuThumb ctermbg=4 cterm=none
hi PmenuSel ctermbg=14 ctermfg=4 cterm=none
" -> Tabs
hi TabLine ctermbg=7 ctermfg=8 cterm=none
hi TabLineFill ctermbg=0 cterm=none
hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold
"
" -> Visual Mode
hi Visual ctermbg=0 ctermfg=14 cterm=none
hi VisualNOS ctermbg=0 ctermfg=7 cterm=none
" -> Code
hi Comment ctermbg=8 ctermfg=7 cterm=none
hi Constant ctermbg=8 ctermfg=10 cterm=none
hi String ctermbg=8 ctermfg=6 cterm=none
hi Error ctermbg=8 ctermfg=4 cterm=none
hi Identifier ctermbg=8 ctermfg=11 cterm=none
hi Function ctermbg=8 ctermfg=11 cterm=none
hi Ignore ctermbg=8 ctermfg=8 cterm=none
hi MatchParen ctermbg=14 ctermfg=8 cterm=none
hi PreProc ctermbg=8 ctermfg=5 cterm=none
hi Special ctermbg=8 ctermfg=14 cterm=none
hi Todo ctermbg=8 ctermfg=12 cterm=bold
hi Underlined ctermbg=8 ctermfg=12 cterm=underline
hi Statement ctermbg=8 ctermfg=13 cterm=none
hi Operator ctermbg=8 ctermfg=4 cterm=none
hi Delimiter ctermbg=8 ctermfg=4 cterm=none
hi Type ctermbg=8 ctermfg=14 cterm=none
hi Exception ctermbg=8 ctermfg=12 cterm=none
" -> HTML-specific
hi htmlBold ctermbg=8 ctermfg=7 cterm=bold
hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic
hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline
hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic
hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic
hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline
hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic
elseif &t_Co == 8
" -> Text; Miscellaneous
hi Normal ctermbg=8 ctermfg=7 cterm=none
hi SpecialKey ctermbg=8 ctermfg=5 cterm=none
hi VertSplit ctermbg=8 ctermfg=6 cterm=none
hi SignColumn ctermbg=8 ctermfg=5 cterm=none
hi NonText ctermbg=8 ctermfg=4 cterm=none
hi Directory ctermbg=8 ctermfg=6 cterm=none
hi Title ctermbg=8 ctermfg=2 cterm=bold
" -> Cursor
hi Cursor ctermbg=6 ctermfg=8 cterm=none
hi CursorIM ctermbg=6 ctermfg=8 cterm=none
hi CursorColumn ctermbg=0 cterm=none
hi CursorLine ctermbg=0 cterm=none
" -> Folding
hi FoldColumn ctermbg=0 ctermfg=1 cterm=none
hi Folded ctermbg=0 ctermfg=1 cterm=none
" -> Line info
hi LineNr ctermbg=0 ctermfg=7 cterm=none
hi StatusLine ctermbg=0 ctermfg=7 cterm=none
hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none
" -> Messages
hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none
hi Question ctermbg=8 ctermfg=6 cterm=none
hi WarningMsg ctermbg=6 ctermfg=0 cterm=none
hi MoreMsg ctermbg=8 ctermfg=6 cterm=none
hi ModeMsg ctermbg=8 ctermfg=6 cterm=none
" -> Search
hi Search ctermbg=7 ctermfg=6 cterm=none
hi IncSearch ctermbg=7 ctermfg=6 cterm=none
" -> Diff
hi DiffAdd ctermbg=0 ctermfg=2 cterm=none
hi DiffChange ctermbg=0 ctermfg=6 cterm=none
hi DiffDelete ctermbg=0 ctermfg=4 cterm=none
hi DiffText ctermbg=1 ctermfg=6 cterm=underline
" -> Menu
hi Pmenu ctermbg=0 ctermfg=4 cterm=none
hi PmenuSel ctermbg=6 ctermfg=4 cterm=none
hi PmenuSbar ctermbg=0 cterm=none
hi PmenuThumb ctermbg=4 cterm=none
hi PmenuSel ctermbg=6 ctermfg=4 cterm=none
" -> Tabs
hi TabLine ctermbg=7 ctermfg=8 cterm=none
hi TabLineFill ctermbg=0 cterm=none
hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold
"
" -> Visual Mode
hi Visual ctermbg=0 ctermfg=6 cterm=none
hi VisualNOS ctermbg=0 ctermfg=7 cterm=none
" -> Code
hi Comment ctermbg=8 ctermfg=7 cterm=none
hi Constant ctermbg=8 ctermfg=2 cterm=none
hi String ctermbg=8 ctermfg=6 cterm=none
hi Error ctermbg=8 ctermfg=4 cterm=none
hi Identifier ctermbg=8 ctermfg=3 cterm=none
hi Function ctermbg=8 ctermfg=3 cterm=none
hi Ignore ctermbg=8 ctermfg=8 cterm=none
hi MatchParen ctermbg=6 ctermfg=8 cterm=none
hi PreProc ctermbg=8 ctermfg=5 cterm=none
hi Special ctermbg=8 ctermfg=6 cterm=none
hi Todo ctermbg=8 ctermfg=4 cterm=bold
hi Underlined ctermbg=8 ctermfg=4 cterm=underline
hi Statement ctermbg=8 ctermfg=5 cterm=none
hi Operator ctermbg=8 ctermfg=4 cterm=none
hi Delimiter ctermbg=8 ctermfg=4 cterm=none
hi Type ctermbg=8 ctermfg=6 cterm=none
hi Exception ctermbg=8 ctermfg=4 cterm=none
" -> HTML-specific
hi htmlBold ctermbg=8 ctermfg=7 cterm=bold
hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic
hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline
hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic
hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic
hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline
hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic
endif
hi! default link bbcodeBold htmlBold
hi! default link bbcodeBoldItalic htmlBoldItalic
hi! default link bbcodeBoldItalicUnderline htmlBoldUnderlineItalic
hi! default link bbcodeBoldUnderline htmlBoldUnderline
hi! default link bbcodeItalic htmlItalic
hi! default link bbcodeItalicUnderline htmlUnderlineItalic
hi! default link bbcodeUnderline htmlUnderline
" Spellcheck formatting
if has("spell")
hi SpellBad guisp=#FC4234 gui=undercurl
hi SpellCap guisp=#70BDF1 gui=undercurl
hi SpellLocal guisp=#FFEE68 gui=undercurl
hi SpellRare guisp=#6DF584 gui=undercurl
endif

66
colors/impact.vim Executable file
View File

@ -0,0 +1,66 @@
" Vim color file
" Maintainer: Shirk <shirk@gmx.net>
" Last Change: 19 September 2005 - 0.2
" URL: trinity.gentoofreaks.org
" cool help screens
" :he group-name
" :he highlight-groups
" :he cterm-colors
set background=dark "or light
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="impact"
if exists("g:impact_transbg")
hi Normal ctermfg=LightGray ctermbg=none
hi NonText ctermfg=DarkGray ctermbg=none
hi Statement ctermfg=Blue ctermbg=none
hi Comment ctermfg=DarkGray ctermbg=none cterm=bold term=bold
hi Constant ctermfg=DarkCyan ctermbg=none
hi Identifier ctermfg=Cyan ctermbg=none
hi Type ctermfg=DarkGreen ctermbg=none
hi Folded ctermfg=DarkGreen ctermbg=none cterm=underline term=none
hi Special ctermfg=Blue ctermbg=none
hi PreProc ctermfg=LightGray ctermbg=none cterm=bold term=bold
hi Scrollbar ctermfg=Blue ctermbg=none
hi Cursor ctermfg=white ctermbg=none
hi ErrorMsg ctermfg=Red ctermbg=none cterm=bold term=bold
hi WarningMsg ctermfg=Yellow ctermbg=none
hi VertSplit ctermfg=White ctermbg=none
hi Directory ctermfg=Cyan ctermbg=DarkBlue
hi Visual ctermfg=White ctermbg=DarkGray cterm=underline term=none
hi Title ctermfg=White ctermbg=DarkBlue
hi StatusLine term=bold cterm=bold,underline ctermfg=White ctermbg=Black
hi StatusLineNC term=bold cterm=bold,underline ctermfg=Gray ctermbg=Black
hi LineNr term=bold cterm=bold ctermfg=White ctermbg=DarkGray
else
hi Normal ctermfg=LightGray ctermbg=Black
hi NonText ctermfg=DarkGray ctermbg=Black
hi Statement ctermfg=Blue ctermbg=Black
hi Comment ctermfg=DarkGray ctermbg=Black cterm=bold term=bold
hi Constant ctermfg=DarkCyan ctermbg=Black
hi Identifier ctermfg=Cyan ctermbg=Black
hi Type ctermfg=DarkGreen ctermbg=Black
hi Folded ctermfg=DarkGreen ctermbg=Black cterm=underline term=none
hi Special ctermfg=Blue ctermbg=Black
hi PreProc ctermfg=LightGray ctermbg=Black cterm=bold term=bold
hi Scrollbar ctermfg=Blue ctermbg=Black
hi Cursor ctermfg=white ctermbg=Black
hi ErrorMsg ctermfg=Red ctermbg=Black cterm=bold term=bold
hi WarningMsg ctermfg=Yellow ctermbg=Black
hi VertSplit ctermfg=White ctermbg=Black
hi Directory ctermfg=Cyan ctermbg=DarkBlue
hi Visual ctermfg=White ctermbg=DarkGray cterm=underline term=none
hi Title ctermfg=White ctermbg=DarkBlue
hi StatusLine term=bold cterm=bold,underline ctermfg=White ctermbg=Black
hi StatusLineNC term=bold cterm=bold,underline ctermfg=Gray ctermbg=Black
hi LineNr term=bold cterm=bold ctermfg=White ctermbg=DarkGray
endif

240
colors/imperial.vim Executable file
View File

@ -0,0 +1,240 @@
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" ColorScheme: imperial.vim
" Last Change: 2009-10-17 [17:02:58]
" Version: 115
" License: Public Domain, Free / Frei / Gratis / Libre.
" Author: Jaime Wottrich, <jaime.wottrich@gmail.com>
" Help: :h imperial.vim
" :h mimicpak
" :h mimicpak-options
"«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
" Setup {{{1
"~~~~~~~
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "imperial"
" Function: s:GetValue(var, ...) {{{2
" Looks up the value of a variable in this order (by default):
" buffer, window, tabpage and global.
" The one that exists first is returned, or 0 if none of them exists.
" Optional Args:
" a:1 value to return if variable doesn't exist.
" a:2 string with comma separated variable prefixes. Examples:
" "b:,t:,g:" - search for buffer, tabpage and global variables
" "w:,t:" - search for window and tabpage variables
" "g:" - search for global variables only
function s:GetValue(var, ...)
let l:defvalue = 0 < a:0 ? a:1 : 0
let l:prefixes = 1 < a:0 ? a:2 . "" : "b:,w:,t:,g:"
let l:start = 0
let l:i = stridx(l:prefixes, ",")
while 1
" track down the comma position, and handle special cases:
" - only one prefix without commas, and
" - after the last encountered comma.
let l:end = l:i < 0 ? strlen(l:prefixes) : l:i
let l:prefix = strpart(l:prefixes, l:start, l:end - l:start)
if exists(prefix . a:var)
return {prefix . a:var}
endif
" after last comma (or one prefix only without commas),
" and variable not found
if l:i < 0
return l:defvalue
endif
" update needle and get next comma position
let l:start = l:i + 1
let l:i = stridx(l:prefixes, ",", l:start)
endwhile
endfunction "}}}2
" get the values (if any) for the options
let s:mimic_font_style = s:GetValue("mimic_font_style")
let s:mimic_colorize_gui = s:GetValue("mimic_colorize_gui")
" cleanup
delfunction s:GetValue
" Default Highlight {{{1
hi Normal guifg=#000000 guibg=#cccccc gui=NONE ctermfg=black ctermbg=grey cterm=NONE
hi Cursor guifg=bg guibg=fg gui=NONE ctermfg=bg ctermbg=fg cterm=NONE
hi CursorIM guifg=bg guibg=#0000c0 gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
hi MatchParen guifg=fg guibg=#c09000 gui=NONE ctermfg=fg ctermbg=yellow cterm=NONE
" search
hi Search guifg=fg guibg=#d0d030 gui=NONE ctermfg=fg ctermbg=yellow cterm=NONE
hi IncSearch guifg=fg guibg=#30d030 gui=NONE ctermfg=fg ctermbg=green cterm=NONE
" visual mode
if version < 700
hi LineNr guifg=#906030 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi Visual guifg=fg guibg=#999999 gui=NONE ctermfg=fg ctermbg=cyan cterm=NONE
hi VisualNOS guifg=fg guibg=#c99999 gui=NONE ctermfg=fg ctermbg=magenta cterm=NONE
" diff
hi DiffAdd guifg=#000000 guibg=#50c050 gui=NONE ctermfg=fg ctermbg=green cterm=NONE
hi DiffChange guifg=#000000 guibg=#50a0c0 gui=NONE ctermfg=bg ctermbg=blue cterm=NONE
hi DiffDelete guifg=#000000 guibg=#c0c050 gui=NONE ctermfg=fg ctermbg=yellow cterm=NONE
hi DiffText guifg=#000000 guibg=#50c0c0 gui=NONE ctermfg=fg ctermbg=cyan cterm=NONE
else " transparent fg only available in Vim >= 700
hi LineNr guifg=#906030 gui=NONE ctermfg=brown cterm=NONE
hi Visual guibg=#999999 gui=NONE ctermbg=cyan cterm=NONE
hi VisualNOS guibg=#c99999 gui=NONE ctermbg=magenta cterm=NONE
" diff
hi DiffAdd guibg=#80e080 gui=NONE ctermbg=green cterm=NONE
hi DiffChange guibg=#80b0e0 gui=NONE ctermbg=blue cterm=NONE
hi DiffDelete guibg=#e0e080 gui=NONE ctermbg=yellow cterm=NONE
hi DiffText guibg=#80e0e0 gui=NONE ctermbg=cyan cterm=NONE
endif
" line numbers and folding
hi NonText guifg=#906030 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi Folded guifg=#400080 guibg=#bcbcbc gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi FoldColumn guifg=#400080 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi SignColumn guifg=#802000 guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
" windows, statusline
hi StatusLine guifg=fg guibg=#a0a0a0 gui=underline ctermfg=fg ctermbg=darkgrey cterm=NONE
hi StatusLineNC guifg=bg guibg=#333333 gui=NONE ctermfg=bg ctermbg=fg cterm=NONE
hi VertSplit guifg=bg guibg=#333333 gui=NONE ctermfg=bg ctermbg=fg cterm=NONE
hi WildMenu guifg=bg guibg=#333333 gui=underline ctermfg=bg ctermbg=fg cterm=NONE
" colors for GUI
if 0 < s:mimic_colorize_gui
" will be set for everyone but Windows.
" Athena, Motif, Mac, Photon or GTK GUI.
if has("gui_running") && !(has("gui_win32") || has("gui_win32s"))
hi Menu guifg=#004080 guibg=bg
hi Scrollbar guifg=bg guibg=#004080
hi Tooltip guifg=fg guibg=#80d080
endif
endif
" vim >= 7.0 only
if version >= 700
hi CursorLine guibg=#bcbcbc gui=underline ctermbg=yellow cterm=NONE
hi CursorColumn guibg=#bcbcbc gui=underline ctermbg=yellow cterm=NONE
" tab pages
hi TabLine guifg=bg guibg=#004080 gui=NONE ctermfg=bg ctermbg=darkblue cterm=NONE
hi TabLineFill guifg=bg guibg=#004080 gui=NONE ctermfg=bg ctermbg=darkblue cterm=NONE
hi TabLineSel guifg=#002060 guibg=#acacac gui=underline ctermfg=darkblue ctermbg=bg cterm=NONE
" popup completion menu
hi Pmenu guifg=#002060 guibg=#acacac gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi PmenuSel guifg=bg guibg=#004080 gui=NONE ctermfg=bg ctermbg=darkblue cterm=NONE
hi PmenuSbar guifg=#002060 guibg=#9c9c9c gui=NONE ctermfg=darkblue ctermbg=darkgrey cterm=NONE
hi PmenuThumb guifg=bg guibg=#004080 gui=NONE ctermfg=bg ctermbg=darkblue cterm=NONE
" spell checking
hi SpellBad guisp=#c00000 gui=undercurl ctermfg=darkred ctermbg=white cterm=NONE
hi SpellCap guisp=#0000c0 gui=undercurl ctermfg=darkblue ctermbg=white cterm=NONE
hi SpellLocal guisp=#00c0c0 gui=undercurl ctermfg=darkcyan ctermbg=white cterm=NONE
hi SpellRare guisp=#c000c0 gui=undercurl ctermfg=darkmagenta ctermbg=white cterm=NONE
endif
" other texts
hi Question guifg=#606000 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi WarningMsg guifg=#800000 guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi ErrorMsg guifg=bg guibg=#c00000 gui=NONE ctermfg=bg ctermbg=darkred cterm=NONE
hi Title guifg=#007000 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Directory guifg=#002080 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi MoreMsg guifg=fg guibg=#acacac gui=NONE ctermfg=fg ctermbg=darkgrey cterm=NONE
hi ModeMsg guifg=fg guibg=#acacac gui=NONE ctermfg=fg ctermbg=darkgrey cterm=NONE
hi SpecialKey guifg=#006060 guibg=bg gui=NONE ctermfg=darkcyan ctermbg=bg cterm=NONE
" Default Syntax Highlight {{{1
"~~~~~~~~~~~~~~~~~~~~~~~~~~
hi Comment guifg=#606000 guibg=bg gui=NONE ctermfg=brown ctermbg=bg cterm=NONE
hi SpecialComment guifg=#007800 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Constant guifg=#007000 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi Character guifg=#007000 guibg=bg gui=NONE ctermfg=darkgreen ctermbg=bg cterm=NONE
hi String guifg=#803000 guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi link Number Constant
hi link Boolean Constant
hi link Float Constant
hi Identifier guifg=#400080 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi link Function Identifier
hi Statement guifg=#002080 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
hi PreProc guifg=#802000 guibg=bg gui=NONE ctermfg=darkred ctermbg=bg cterm=NONE
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi Type guifg=#002080 guibg=bg gui=NONE ctermfg=darkblue ctermbg=bg cterm=NONE
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi Special guifg=#800080 guibg=bg gui=NONE ctermfg=darkmagenta ctermbg=bg cterm=NONE
hi link SpecialChar Special
hi link Delimiter Special
hi link Tag Special
hi Debug guifg=#666666 guibg=bg gui=NONE ctermfg=darkgrey ctermbg=bg cterm=NONE
hi Underlined guifg=#002080 guibg=bg gui=underline ctermfg=darkblue ctermbg=cyan cterm=NONE
hi Ignore guifg=#999999 guibg=bg gui=NONE ctermfg=bg ctermbg=bg cterm=NONE
hi Error guifg=#900000 guibg=#e0e030 gui=NONE ctermfg=red ctermbg=yellow cterm=NONE
hi Todo guifg=#c0c030 guibg=#900060 gui=NONE ctermfg=white ctermbg=darkmagenta cterm=NONE
" Font Style {{{1
"~~~~~~~~~~~~
if has("gui_running") && 0 < s:mimic_font_style
" Function: s:MultiHi {{{2
" Sets highlight option(s) on all its arguments.
" Parameters:
" option -- a string in the form of "key1=value1 key2=value2 ... keyN=valueN".
" ... -- the highlight group names.
function s:MultiHi(option, ...)
let l:i = 1
while l:i <= a:0
silent execute "hi " . a:{l:i} . " " . a:option
let l:i = l:i + 1
endwhile
endfunction "}}}2
" set the bold only options, including the "bold & italics" groups.
if 1 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=bold", "Directory", "WildMenu", "SpecialKey", "MoreMsg", "ModeMsg", "Title", "Constant", "Statement", "PreProc", "Type", "Identifier", "Special", "Error", "Todo")
call s:MultiHi("gui=bold,underline", "TabLineSel", "StatusLine")
endif
" set the italic only options
if 2 == s:mimic_font_style || 3 <= s:mimic_font_style
call s:MultiHi("gui=italic", "Folded", "StatusLineNC", "Question", "Comment", "SpecialComment")
endif
" set the bold & italic options
if 3 <= s:mimic_font_style
call s:MultiHi("gui=bold,italic", "MoreMsg", "Title")
call s:MultiHi("gui=bold,italic", "Identifier", "Todo")
endif
" cleanup
delfunction s:MultiHi
endif
" Cleanup {{{1
"~~~~~~~~~
unlet s:mimic_font_style s:mimic_colorize_gui
" vim:noet:sw=22:ts=22:tw=0:nowrap:
" vim600:fdc=2:fdm=marker:

216
colors/inkpot.vim Executable file
View File

@ -0,0 +1,216 @@
" Vim color file
" Name: inkpot.vim
" Maintainer: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
" Homepage: http://github.com/ciaranm/inkpot/
"
" This should work in the GUI, rxvt-unicode (88 colour mode) and xterm (256
" colour mode). It won't work in 8/16 colour terminals.
"
" To use a black background, :let g:inkpot_black_background = 1
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "inkpot"
" map a urxvt cube number to an xterm-256 cube number
fun! <SID>M(a)
return strpart("0135", a:a, 1) + 0
endfun
" map a urxvt colour to an xterm-256 colour
fun! <SID>X(a)
if &t_Co == 88
return a:a
else
if a:a == 8
return 237
elseif a:a < 16
return a:a
elseif a:a > 79
return 232 + (3 * (a:a - 80))
else
let l:b = a:a - 16
let l:x = l:b % 4
let l:y = (l:b / 4) % 4
let l:z = (l:b / 16)
return 16 + <SID>M(l:x) + (6 * <SID>M(l:y)) + (36 * <SID>M(l:z))
endif
endif
endfun
if ! exists("g:inkpot_black_background")
let g:inkpot_black_background = 0
endif
if has("gui_running")
if ! g:inkpot_black_background
hi Normal gui=NONE guifg=#cfbfad guibg=#1e1e27
else
hi Normal gui=NONE guifg=#cfbfad guibg=#000000
endif
hi CursorLine guibg=#2e2e37
hi IncSearch gui=BOLD guifg=#303030 guibg=#cd8b60
hi Search gui=NONE guifg=#303030 guibg=#ad7b57
hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ce4e4e
hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ce8e4e
hi ModeMsg gui=BOLD guifg=#7e7eae guibg=NONE
hi MoreMsg gui=BOLD guifg=#7e7eae guibg=NONE
hi Question gui=BOLD guifg=#ffcd00 guibg=NONE
hi StatusLine gui=BOLD guifg=#b9b9b9 guibg=#3e3e5e
hi User1 gui=BOLD guifg=#00ff8b guibg=#3e3e5e
hi User2 gui=BOLD guifg=#7070a0 guibg=#3e3e5e
hi StatusLineNC gui=NONE guifg=#b9b9b9 guibg=#3e3e5e
hi VertSplit gui=NONE guifg=#b9b9b9 guibg=#3e3e5e
hi WildMenu gui=BOLD guifg=#eeeeee guibg=#6e6eaf
hi MBENormal guifg=#cfbfad guibg=#2e2e3f
hi MBEChanged guifg=#eeeeee guibg=#2e2e3f
hi MBEVisibleNormal guifg=#cfcfcd guibg=#4e4e8f
hi MBEVisibleChanged guifg=#eeeeee guibg=#4e4e8f
hi DiffText gui=NONE guifg=#ffffcd guibg=#4a2a4a
hi DiffChange gui=NONE guifg=#ffffcd guibg=#306b8f
hi DiffDelete gui=NONE guifg=#ffffcd guibg=#6d3030
hi DiffAdd gui=NONE guifg=#ffffcd guibg=#306d30
hi Cursor gui=NONE guifg=#404040 guibg=#8b8bff
hi lCursor gui=NONE guifg=#404040 guibg=#8fff8b
hi CursorIM gui=NONE guifg=#404040 guibg=#8b8bff
hi Folded gui=NONE guifg=#cfcfcd guibg=#4b208f
hi FoldColumn gui=NONE guifg=#8b8bcd guibg=#2e2e2e
hi Directory gui=NONE guifg=#00ff8b guibg=NONE
hi LineNr gui=NONE guifg=#8b8bcd guibg=#2e2e2e
hi NonText gui=BOLD guifg=#8b8bcd guibg=NONE
hi SpecialKey gui=BOLD guifg=#ab60ed guibg=NONE
hi Title gui=BOLD guifg=#af4f4b guibg=NONE
hi Visual gui=NONE guifg=#eeeeee guibg=#4e4e8f
hi Comment gui=NONE guifg=#cd8b00 guibg=NONE
hi Constant gui=NONE guifg=#ffcd8b guibg=NONE
hi String gui=NONE guifg=#ffcd8b guibg=#404040
hi Error gui=NONE guifg=#ffffff guibg=#6e2e2e
hi Identifier gui=NONE guifg=#ff8bff guibg=NONE
hi Ignore gui=NONE
hi Number gui=NONE guifg=#f0ad6d guibg=NONE
hi PreProc gui=NONE guifg=#409090 guibg=NONE
hi Special gui=NONE guifg=#c080d0 guibg=NONE
hi SpecialChar gui=NONE guifg=#c080d0 guibg=#404040
hi Statement gui=NONE guifg=#808bed guibg=NONE
hi Todo gui=BOLD guifg=#303030 guibg=#d0a060
hi Type gui=NONE guifg=#ff8bff guibg=NONE
hi Underlined gui=BOLD guifg=#df9f2d guibg=NONE
hi TaglistTagName gui=BOLD guifg=#808bed guibg=NONE
hi perlSpecialMatch gui=NONE guifg=#c080d0 guibg=#404040
hi perlSpecialString gui=NONE guifg=#c080d0 guibg=#404040
hi cSpecialCharacter gui=NONE guifg=#c080d0 guibg=#404040
hi cFormat gui=NONE guifg=#c080d0 guibg=#404040
hi doxygenBrief gui=NONE guifg=#fdab60 guibg=NONE
hi doxygenParam gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenPrev gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenSmallSpecial gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenSpecial gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenComment gui=NONE guifg=#ad7b20 guibg=NONE
hi doxygenSpecial gui=NONE guifg=#fdab60 guibg=NONE
hi doxygenSpecialMultilineDesc gui=NONE guifg=#ad600b guibg=NONE
hi doxygenSpecialOnelineDesc gui=NONE guifg=#ad600b guibg=NONE
if v:version >= 700
hi Pmenu gui=NONE guifg=#eeeeee guibg=#4e4e8f
hi PmenuSel gui=BOLD guifg=#eeeeee guibg=#2e2e3f
hi PmenuSbar gui=BOLD guifg=#eeeeee guibg=#6e6eaf
hi PmenuThumb gui=BOLD guifg=#eeeeee guibg=#6e6eaf
hi SpellBad gui=undercurl guisp=#cc6666
hi SpellRare gui=undercurl guisp=#cc66cc
hi SpellLocal gui=undercurl guisp=#cccc66
hi SpellCap gui=undercurl guisp=#66cccc
hi MatchParen gui=NONE guifg=#cfbfad guibg=#4e4e8f
endif
else
if ! g:inkpot_black_background
exec "hi Normal cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(80)
else
exec "hi Normal cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(16)
endif
exec "hi IncSearch cterm=BOLD ctermfg=" . <SID>X(80) . " ctermbg=" . <SID>X(73)
exec "hi Search cterm=NONE ctermfg=" . <SID>X(80) . " ctermbg=" . <SID>X(52)
exec "hi ErrorMsg cterm=BOLD ctermfg=" . <SID>X(16) . " ctermbg=" . <SID>X(48)
exec "hi WarningMsg cterm=BOLD ctermfg=" . <SID>X(16) . " ctermbg=" . <SID>X(68)
exec "hi ModeMsg cterm=BOLD ctermfg=" . <SID>X(38) . " ctermbg=" . "NONE"
exec "hi MoreMsg cterm=BOLD ctermfg=" . <SID>X(38) . " ctermbg=" . "NONE"
exec "hi Question cterm=BOLD ctermfg=" . <SID>X(52) . " ctermbg=" . "NONE"
exec "hi StatusLine cterm=BOLD ctermfg=" . <SID>X(85) . " ctermbg=" . <SID>X(81)
exec "hi User1 cterm=BOLD ctermfg=" . <SID>X(28) . " ctermbg=" . <SID>X(81)
exec "hi User2 cterm=BOLD ctermfg=" . <SID>X(39) . " ctermbg=" . <SID>X(81)
exec "hi StatusLineNC cterm=NONE ctermfg=" . <SID>X(84) . " ctermbg=" . <SID>X(81)
exec "hi VertSplit cterm=NONE ctermfg=" . <SID>X(84) . " ctermbg=" . <SID>X(81)
exec "hi WildMenu cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(38)
exec "hi MBENormal ctermfg=" . <SID>X(85) . " ctermbg=" . <SID>X(81)
exec "hi MBEChanged ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(81)
exec "hi MBEVisibleNormal ctermfg=" . <SID>X(85) . " ctermbg=" . <SID>X(82)
exec "hi MBEVisibleChanged ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(82)
exec "hi DiffText cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(34)
exec "hi DiffChange cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(17)
exec "hi DiffDelete cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(32)
exec "hi DiffAdd cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(20)
exec "hi Folded cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(35)
exec "hi FoldColumn cterm=NONE ctermfg=" . <SID>X(39) . " ctermbg=" . <SID>X(80)
exec "hi Directory cterm=NONE ctermfg=" . <SID>X(28) . " ctermbg=" . "NONE"
exec "hi LineNr cterm=NONE ctermfg=" . <SID>X(39) . " ctermbg=" . <SID>X(80)
exec "hi NonText cterm=BOLD ctermfg=" . <SID>X(39) . " ctermbg=" . "NONE"
exec "hi SpecialKey cterm=BOLD ctermfg=" . <SID>X(55) . " ctermbg=" . "NONE"
exec "hi Title cterm=BOLD ctermfg=" . <SID>X(48) . " ctermbg=" . "NONE"
exec "hi Visual cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(38)
exec "hi Comment cterm=NONE ctermfg=" . <SID>X(52) . " ctermbg=" . "NONE"
exec "hi Constant cterm=NONE ctermfg=" . <SID>X(73) . " ctermbg=" . "NONE"
exec "hi String cterm=NONE ctermfg=" . <SID>X(73) . " ctermbg=" . <SID>X(81)
exec "hi Error cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(32)
exec "hi Identifier cterm=NONE ctermfg=" . <SID>X(53) . " ctermbg=" . "NONE"
exec "hi Ignore cterm=NONE"
exec "hi Number cterm=NONE ctermfg=" . <SID>X(69) . " ctermbg=" . "NONE"
exec "hi PreProc cterm=NONE ctermfg=" . <SID>X(25) . " ctermbg=" . "NONE"
exec "hi Special cterm=NONE ctermfg=" . <SID>X(55) . " ctermbg=" . "NONE"
exec "hi SpecialChar cterm=NONE ctermfg=" . <SID>X(55) . " ctermbg=" . <SID>X(81)
exec "hi Statement cterm=NONE ctermfg=" . <SID>X(27) . " ctermbg=" . "NONE"
exec "hi Todo cterm=BOLD ctermfg=" . <SID>X(16) . " ctermbg=" . <SID>X(57)
exec "hi Type cterm=NONE ctermfg=" . <SID>X(71) . " ctermbg=" . "NONE"
exec "hi Underlined cterm=BOLD ctermfg=" . <SID>X(77) . " ctermbg=" . "NONE"
exec "hi TaglistTagName cterm=BOLD ctermfg=" . <SID>X(39) . " ctermbg=" . "NONE"
if v:version >= 700
exec "hi Pmenu cterm=NONE ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(82)
exec "hi PmenuSel cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(38)
exec "hi PmenuSbar cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(39)
exec "hi PmenuThumb cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(39)
exec "hi SpellBad cterm=NONE ctermbg=" . <SID>X(32)
exec "hi SpellRare cterm=NONE ctermbg=" . <SID>X(33)
exec "hi SpellLocal cterm=NONE ctermbg=" . <SID>X(36)
exec "hi SpellCap cterm=NONE ctermbg=" . <SID>X(21)
exec "hi MatchParen cterm=NONE ctermbg=" . <SID>X(14) . "ctermfg=" . <SID>X(25)
endif
endif
" vim: set et :

Some files were not shown because too many files have changed in this diff Show More