burn everything down and move to vundle
parent
b163f5d966
commit
99217dfd83
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@
|
|||||||
extradite.vim
|
|
||||||
=============
|
|
||||||
A git commit browser / git log wrapper that extends fugitive.vim.
|
|
||||||
|
|
||||||
`:Extradite` launches the Extradite buffer, i.e. the commit browser. By
|
|
||||||
default, it opens in the current window. Adding |!| makes it open in a vertical
|
|
||||||
split instead. The width of the split is set with `g:extradite_width`.
|
|
||||||
|
|
||||||
Once we are in the Extradite buffer, the following keymaps are available:
|
|
||||||
|
|
||||||
`<CR>` edits the revision on the current line in a fugitive-buffer.
|
|
||||||
|
|
||||||
`oh`, `ov`, and `ot` edit the revision under the cursor in a new horizontal
|
|
||||||
split / vertical split / tab respectively.
|
|
||||||
|
|
||||||
`dh`, `dv`, and `dt` diff the current file against the revision under the
|
|
||||||
cursor in a new horizontal split / vertical split / tab respectively.
|
|
||||||
|
|
||||||
`t` toggles the visibility of the file diff buffer.
|
|
||||||
|
|
||||||
`q` closes the Extradite buffer.
|
|
File diff suppressed because it is too large
Load Diff
@ -1,401 +0,0 @@
|
|||||||
" AlignMaps.vim : support functions for AlignMaps
|
|
||||||
" Author: Charles E. Campbell
|
|
||||||
" Date: Mar 12, 2013
|
|
||||||
" Version: 43
|
|
||||||
" Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1
|
|
||||||
" Permission is hereby granted to use and distribute this code,
|
|
||||||
" with or without modifications, provided that this copyright
|
|
||||||
" notice is copied with it. Like anything else that's free,
|
|
||||||
" Align.vim is provided *as is* and comes with no warranty
|
|
||||||
" of any kind, either expressed or implied. By using this
|
|
||||||
" plugin, you agree that in no event will the copyright
|
|
||||||
" holder be liable for any damages resulting from the use
|
|
||||||
"redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" Load Once: {{{1
|
|
||||||
if &cp || exists("g:loaded_AlignMaps")
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
let g:loaded_AlignMaps= "v43"
|
|
||||||
let s:keepcpo = &cpo
|
|
||||||
set cpo&vim
|
|
||||||
"DechoTabOn
|
|
||||||
|
|
||||||
" =====================================================================
|
|
||||||
" Functions: {{{1
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#WrapperStart: {{{2
|
|
||||||
fun! AlignMaps#WrapperStart(vis) range
|
|
||||||
" call Dfunc("AlignMaps#WrapperStart(vis=".a:vis.")")
|
|
||||||
|
|
||||||
if a:vis
|
|
||||||
keepj norm! '<ma'>
|
|
||||||
endif
|
|
||||||
|
|
||||||
if line("'y") == 0 || line("'z") == 0 || !exists("s:alignmaps_wrapcnt") || s:alignmaps_wrapcnt <= 0
|
|
||||||
" call Decho("wrapper initialization")
|
|
||||||
let s:alignmaps_wrapcnt = 1
|
|
||||||
let s:alignmaps_keepgd = &gdefault
|
|
||||||
let s:alignmaps_keepsearch = @/
|
|
||||||
let s:alignmaps_keepch = &ch
|
|
||||||
let s:alignmaps_keepmy = SaveMark("'y")
|
|
||||||
let s:alignmaps_keepmz = SaveMark("'z")
|
|
||||||
let s:alignmaps_posn = SaveWinPosn(0)
|
|
||||||
" set up fencepost blank lines
|
|
||||||
put =''
|
|
||||||
keepj norm! mz'a
|
|
||||||
put! =''
|
|
||||||
ky
|
|
||||||
let s:alignmaps_zline = line("'z")
|
|
||||||
exe "keepj 'y,'zs/@/\177/ge"
|
|
||||||
else
|
|
||||||
" call Decho("embedded wrapper")
|
|
||||||
let s:alignmaps_wrapcnt = s:alignmaps_wrapcnt + 1
|
|
||||||
keepj norm! 'yjma'zk
|
|
||||||
endif
|
|
||||||
|
|
||||||
" change some settings to align-standard values
|
|
||||||
set nogd
|
|
||||||
set ch=2
|
|
||||||
AlignPush
|
|
||||||
keepj norm! 'zk
|
|
||||||
" call Dret("AlignMaps#WrapperStart : alignmaps_wrapcnt=".s:alignmaps_wrapcnt." my=".line("'y")." mz=".line("'z"))
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#WrapperEnd: {{{2
|
|
||||||
fun! AlignMaps#WrapperEnd() range
|
|
||||||
" call Dfunc("AlignMaps#WrapperEnd() alignmaps_wrapcnt=".s:alignmaps_wrapcnt." my=".line("'y")." mz=".line("'z"))
|
|
||||||
|
|
||||||
" remove trailing white space introduced by whatever in the modification zone
|
|
||||||
keepj 'y,'zs/ \+$//e
|
|
||||||
|
|
||||||
" restore AlignCtrl settings
|
|
||||||
AlignPop
|
|
||||||
|
|
||||||
let s:alignmaps_wrapcnt= s:alignmaps_wrapcnt - 1
|
|
||||||
if s:alignmaps_wrapcnt <= 0
|
|
||||||
" initial wrapper ending
|
|
||||||
exe "keepj 'y,'zs/\177/@/ge"
|
|
||||||
|
|
||||||
" if the 'z line hasn't moved, then go ahead and restore window position
|
|
||||||
let zstationary= s:alignmaps_zline == line("'z")
|
|
||||||
|
|
||||||
" remove fencepost blank lines.
|
|
||||||
" restore 'a
|
|
||||||
keepj norm! 'yjmakdd'zdd
|
|
||||||
|
|
||||||
" restore original 'y, 'z, and window positioning
|
|
||||||
call RestoreMark(s:alignmaps_keepmy)
|
|
||||||
call RestoreMark(s:alignmaps_keepmz)
|
|
||||||
if zstationary > 0
|
|
||||||
call RestoreWinPosn(s:alignmaps_posn)
|
|
||||||
" call Decho("restored window positioning")
|
|
||||||
endif
|
|
||||||
|
|
||||||
" restoration of options
|
|
||||||
let &gd= s:alignmaps_keepgd
|
|
||||||
let &ch= s:alignmaps_keepch
|
|
||||||
let @/ = s:alignmaps_keepsearch
|
|
||||||
|
|
||||||
" remove script variables
|
|
||||||
unlet s:alignmaps_keepch
|
|
||||||
unlet s:alignmaps_keepsearch
|
|
||||||
unlet s:alignmaps_keepmy
|
|
||||||
unlet s:alignmaps_keepmz
|
|
||||||
unlet s:alignmaps_keepgd
|
|
||||||
unlet s:alignmaps_posn
|
|
||||||
endif
|
|
||||||
|
|
||||||
" call Dret("AlignMaps#WrapperEnd : alignmaps_wrapcnt=".s:alignmaps_wrapcnt." my=".line("'y")." mz=".line("'z"))
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#MakeMap: make both a normal-mode and a visual mode map for mapname {{{2
|
|
||||||
fun! AlignMaps#MakeMap(mapname)
|
|
||||||
if exists("g:maplocalleader")
|
|
||||||
let maplead= g:maplocalleader
|
|
||||||
elseif exists("g:mapleader")
|
|
||||||
let maplead= g:mapleader
|
|
||||||
else
|
|
||||||
let maplead= '\'
|
|
||||||
endif
|
|
||||||
exe "nmap <unique> ".maplead.a:mapname." <Plug>AM_".a:mapname
|
|
||||||
exe "vmap <silent> ".maplead.a:mapname.' :call AlignMaps#Vis("'.a:mapname.'")'."<cr>"
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#StdAlign: some semi-standard align calls {{{2
|
|
||||||
fun! AlignMaps#StdAlign(mode) range
|
|
||||||
" call Dfunc("AlignMaps#StdAlign(mode=".a:mode.")")
|
|
||||||
if a:mode == 1
|
|
||||||
" align on @
|
|
||||||
" call Decho("align on @")
|
|
||||||
AlignCtrl mIp1P1=l @
|
|
||||||
'a,.Align
|
|
||||||
elseif a:mode == 2
|
|
||||||
" align on @, retaining all initial white space on each line
|
|
||||||
" call Decho("align on @, retaining all initial white space on each line")
|
|
||||||
AlignCtrl mWp1P1=l @
|
|
||||||
'a,.Align
|
|
||||||
elseif a:mode == 3
|
|
||||||
" like mode 2, but ignore /* */-style comments
|
|
||||||
" call Decho("like mode 2, but ignore /* */-style comments")
|
|
||||||
AlignCtrl v ^\s*/[/*]
|
|
||||||
AlignCtrl mWp1P1=l @
|
|
||||||
'a,.Align
|
|
||||||
else
|
|
||||||
echoerr "(AlignMaps) AlignMaps#StdAlign doesn't support mode#".a:mode
|
|
||||||
endif
|
|
||||||
" call Dret("AlignMaps#StdAlign")
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#CharJoiner: joins lines which end in the given character (spaces {{{2
|
|
||||||
" at end are ignored)
|
|
||||||
fun! AlignMaps#CharJoiner(chr)
|
|
||||||
" call Dfunc("AlignMaps#CharJoiner(chr=".a:chr.")")
|
|
||||||
let aline = line("'a")
|
|
||||||
let rep = line(".") - aline
|
|
||||||
while rep > 0
|
|
||||||
keepj norm! 'a
|
|
||||||
while match(getline(aline),a:chr . "\s*$") != -1 && rep >= 0
|
|
||||||
" while = at end-of-line, delete it and join with next
|
|
||||||
keepj norm! 'a$
|
|
||||||
j!
|
|
||||||
let rep = rep - 1
|
|
||||||
endwhile
|
|
||||||
" update rep(eat) count
|
|
||||||
let rep = rep - 1
|
|
||||||
if rep <= 0
|
|
||||||
" terminate loop if at end-of-block
|
|
||||||
break
|
|
||||||
endif
|
|
||||||
" prepare for next line
|
|
||||||
keepj norm! jma
|
|
||||||
let aline = line("'a")
|
|
||||||
endwhile
|
|
||||||
" call Dret("AlignMaps#CharJoiner")
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#Equals: supports \t= and \T= {{{2
|
|
||||||
fun! AlignMaps#Equals() range
|
|
||||||
" call Dfunc("AlignMaps#Equals()")
|
|
||||||
keepj 'a,'zs/\s\+\([.*/+\-%|&\~^]\==\)/ \1/e
|
|
||||||
keepj 'a,'zs@ \+\([.*/+\-%|&\~^]\)=@\1=@ge
|
|
||||||
keepj 'a,'zs/==/\="\<Char-0x0f>\<Char-0x0f>"/ge
|
|
||||||
keepj 'a,'zs/\([!<>:]\)=/\=submatch(1)."\<Char-0x0f>"/ge
|
|
||||||
keepj norm g'zk
|
|
||||||
AlignCtrl mIp1P1=l =
|
|
||||||
AlignCtrl g =
|
|
||||||
keepj 'a,'z-1Align
|
|
||||||
keepj 'a,'z-1s@\([.*/%|&\~^!=]\)\( \+\)=@\2\1=@ge
|
|
||||||
keepj 'a,'z-1s@[^+\-]\zs\([+\-]\)\( \+\)=@\2\1=@ge
|
|
||||||
keepj 'a,'z-1s/\( \+\);/;\1/ge
|
|
||||||
if &ft == "c" || &ft == "cpp"
|
|
||||||
" call Decho("exception for ".&ft)
|
|
||||||
keepj 'a,'z-1v/^\s*\/[*/]/s/\/[*/]/@&@/e
|
|
||||||
keepj 'a,'z-1v/^\s*\/[*/]/s/\*\//@&/e
|
|
||||||
if exists("g:mapleader")
|
|
||||||
exe "keepj norm 'zk"
|
|
||||||
call AlignMaps#StdAlign(1)
|
|
||||||
else
|
|
||||||
exe "keepj norm 'zk"
|
|
||||||
call AlignMaps#StdAlign(1)
|
|
||||||
endif
|
|
||||||
keepj 'y,'zs/^\(\s*\) @/\1/e
|
|
||||||
endif
|
|
||||||
keepj 'a,'z-1s/\%x0f/=/ge
|
|
||||||
keepj 'y,'zs/ @//eg
|
|
||||||
" call Dret("AlignMaps#Equals")
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#Afnc: useful for splitting one-line function beginnings {{{2
|
|
||||||
" into one line per argument format
|
|
||||||
fun! AlignMaps#Afnc()
|
|
||||||
" call Dfunc("AlignMaps#Afnc()")
|
|
||||||
|
|
||||||
" keep display quiet
|
|
||||||
let chkeep = &l:ch
|
|
||||||
let gdkeep = &l:gd
|
|
||||||
let wwkeep = &l:ww
|
|
||||||
let vekeep = &l:ve
|
|
||||||
setlocal ch=2 nogd ve= ww=b,s,<,>,[,]
|
|
||||||
|
|
||||||
" will use marks y,z ; save current values
|
|
||||||
let mykeep = SaveMark("'y")
|
|
||||||
let mzkeep = SaveMark("'z")
|
|
||||||
|
|
||||||
" Find beginning of function -- be careful to skip over comments
|
|
||||||
let cmmntid = synIDtrans(hlID("Comment"))
|
|
||||||
let stringid = synIDtrans(hlID("String"))
|
|
||||||
exe "keepj norm! ]]"
|
|
||||||
while search(")","bW") != 0
|
|
||||||
" call Decho("line=".line(".")." col=".col("."))
|
|
||||||
let parenid= synIDtrans(synID(line("."),col("."),1))
|
|
||||||
if parenid != cmmntid && parenid != stringid
|
|
||||||
break
|
|
||||||
endif
|
|
||||||
endwhile
|
|
||||||
keepj norm! %my
|
|
||||||
keepj s/(\s*\(\S\)/(\r \1/e
|
|
||||||
exe "keepj norm! `y%"
|
|
||||||
keepj s/)\s*\(\/[*/]\)/)\r\1/e
|
|
||||||
exe "keepj norm! `y%mz"
|
|
||||||
keepj 'y,'zs/\s\+$//e
|
|
||||||
keepj 'y,'zs/^\s\+//e
|
|
||||||
keepj 'y+1,'zs/^/ /
|
|
||||||
|
|
||||||
" insert newline after every comma only one parenthesis deep
|
|
||||||
exe "sil! keepj norm! `y\<right>h"
|
|
||||||
let parens = 1
|
|
||||||
let cmmnt = 0
|
|
||||||
let cmmntline= -1
|
|
||||||
while parens >= 1
|
|
||||||
exe 'keepj norm! ma "ay`a '
|
|
||||||
" call Decho("parens=".parens." cmmnt=".cmmnt." cmmntline=".cmmntline." line(.)=".line(".")." @a<".@a."> line<".getline(".").">")
|
|
||||||
if @a == "("
|
|
||||||
let parens= parens + 1
|
|
||||||
elseif @a == ")"
|
|
||||||
let parens= parens - 1
|
|
||||||
|
|
||||||
" comment bypass: /* ... */ or //...
|
|
||||||
elseif cmmnt == 0 && @a == '/'
|
|
||||||
let cmmnt= 1
|
|
||||||
elseif cmmnt == 1
|
|
||||||
if @a == '/'
|
|
||||||
let cmmnt = 2 " //...
|
|
||||||
let cmmntline= line(".")
|
|
||||||
elseif @a == '*'
|
|
||||||
let cmmnt= 3 " /*...
|
|
||||||
else
|
|
||||||
let cmmnt= 0
|
|
||||||
endif
|
|
||||||
elseif cmmnt == 2 && line(".") != cmmntline
|
|
||||||
let cmmnt = 0
|
|
||||||
let cmmntline= -1
|
|
||||||
elseif cmmnt == 3 && @a == '*'
|
|
||||||
let cmmnt= 4
|
|
||||||
elseif cmmnt == 4
|
|
||||||
if @a == '/'
|
|
||||||
let cmmnt= 0 " ...*/
|
|
||||||
elseif @a != '*'
|
|
||||||
let cmmnt= 3
|
|
||||||
endif
|
|
||||||
|
|
||||||
elseif @a == "," && parens == 1 && cmmnt == 0
|
|
||||||
exe "keepj norm! i\<CR>\<Esc>"
|
|
||||||
endif
|
|
||||||
endwhile
|
|
||||||
sil! keepj norm! `y%mz%
|
|
||||||
sil! keepj 'y,'zg/^\s*$/d
|
|
||||||
|
|
||||||
" perform substitutes to mark fields for Align
|
|
||||||
sil! keepj 'y+1,'zv/^\//s/^\s\+\(\S\)/ \1/e
|
|
||||||
sil! keepj 'y+1,'zv/^\//s/\(\S\)\s\+/\1 /eg
|
|
||||||
sil! keepj 'y+1,'zv/^\//s/\* \+/*/ge
|
|
||||||
sil! keepj 'y+1,'zv/^\//s/\w\zs\s*\*/ */ge
|
|
||||||
" func
|
|
||||||
" ws <- declaration -> <-ptr -> <-var-> <-[array][] -> <-glop-> <-end->
|
|
||||||
sil! keepj 'y+1,'zv/^\//s/^\s*\(\(\K\k*\s*\)\+\)\s\+\([(*]*\)\s*\(\K\k*\)\s*\(\(\[.\{-}]\)*\)\s*\(.\{-}\)\=\s*\([,)]\)\s*$/ \1@#\3@\4\5@\7\8/e
|
|
||||||
sil! keepj 'y+1,'z+1g/^\s*\/[*/]/norm! kJ
|
|
||||||
sil! keepj 'y+1,'z+1s%/[*/]%@&@%ge
|
|
||||||
sil! keepj 'y+1,'z+1s%*/%@&%ge
|
|
||||||
AlignCtrl mIp0P0=l @
|
|
||||||
sil! keepj 'y+1,'zAlign
|
|
||||||
sil! keepj 'y,'zs%@\(/[*/]\)@%\t\1 %e
|
|
||||||
sil! keepj 'y,'zs%@\*/% */%e
|
|
||||||
sil! keepj 'y,'zs/@\([,)]\)/\1/
|
|
||||||
sil! keepj 'y,'zs/@/ /
|
|
||||||
AlignCtrl mIlrp0P0= # @
|
|
||||||
sil! keepj 'y+1,'zAlign
|
|
||||||
sil! keepj 'y+1,'zs/#/ /
|
|
||||||
sil! keepj 'y+1,'zs/@//
|
|
||||||
sil! keepj 'y+1,'zs/\(\s\+\)\([,)]\)/\2\1/e
|
|
||||||
|
|
||||||
" Restore
|
|
||||||
call RestoreMark(mykeep)
|
|
||||||
call RestoreMark(mzkeep)
|
|
||||||
let &l:ch= chkeep
|
|
||||||
let &l:gd= gdkeep
|
|
||||||
let &l:ww= wwkeep
|
|
||||||
let &l:ve= vekeep
|
|
||||||
|
|
||||||
" call Dret("AlignMaps#Afnc")
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#FixMultiDec: converts a type arg,arg,arg; line to multiple lines {{{2
|
|
||||||
fun! AlignMaps#FixMultiDec()
|
|
||||||
" call Dfunc("AlignMaps#FixMultiDec()")
|
|
||||||
|
|
||||||
" save register x
|
|
||||||
let xkeep = @x
|
|
||||||
let curline = getline(".")
|
|
||||||
" call Decho("curline<".curline.">")
|
|
||||||
|
|
||||||
let @x=substitute(curline,'^\(\s*[a-zA-Z_ \t][a-zA-Z0-9<>_ \t]*\)\s\+[(*]*\h.*$','\1','')
|
|
||||||
" call Decho("@x<".@x.">")
|
|
||||||
|
|
||||||
" transform line
|
|
||||||
exe 'keepj s/,/;\r'.@x.' /ge'
|
|
||||||
|
|
||||||
"restore register x
|
|
||||||
let @x= xkeep
|
|
||||||
|
|
||||||
" call Dret("AlignMaps#FixMultiDec : my=".line("'y")." mz=".line("'z"))
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#AlignMapsClean: this function removes the AlignMaps plugin {{{2
|
|
||||||
fun! AlignMaps#AlignMapsClean()
|
|
||||||
" call Dfunc("AlignMaps#AlignMapsClean()")
|
|
||||||
for home in split(&rtp,',') + ['']
|
|
||||||
" call Decho("considering home<".home.">")
|
|
||||||
if isdirectory(home)
|
|
||||||
if filereadable(home."/autoload/AlignMaps.vim")
|
|
||||||
" call Decho("deleting ".home."/autoload/AlignMaps.vim")
|
|
||||||
call delete(home."/autoload/AlignMaps.vim")
|
|
||||||
endif
|
|
||||||
if filereadable(home."/plugin/AlignMapsPlugin.vim")
|
|
||||||
" call Decho("deleting ".home."/plugin/AlignMapsPlugin.vim")
|
|
||||||
call delete(home."/plugin/AlignMapsPlugin.vim")
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endfor
|
|
||||||
" call Dret("AlignMaps#AlignMapsClean")
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" AlignMaps#Vis: interfaces with visual maps {{{2
|
|
||||||
fun! AlignMaps#Vis(plugmap) range
|
|
||||||
" call Dfunc("AlignMaps#VisCall(plugmap<".a:plugmap.">) ".a:firstline.",".a:lastline)
|
|
||||||
|
|
||||||
let amark= SaveMark("a")
|
|
||||||
exe a:firstline
|
|
||||||
ka
|
|
||||||
exe a:lastline
|
|
||||||
|
|
||||||
if exists("g:maplocalleader")
|
|
||||||
let maplead= g:maplocalleader
|
|
||||||
elseif exists("g:mapleader")
|
|
||||||
let maplead= g:mapleader
|
|
||||||
else
|
|
||||||
let maplead= '\'
|
|
||||||
endif
|
|
||||||
|
|
||||||
" call Decho("exe norm ".maplead.a:plugmap)
|
|
||||||
exe " norm ".maplead.a:plugmap
|
|
||||||
|
|
||||||
call RestoreMark(amark)
|
|
||||||
" call Dret("AlignMaps#VisCall")
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" Restore: {{{1
|
|
||||||
let &cpo= s:keepcpo
|
|
||||||
unlet s:keepcpo
|
|
||||||
" vim: ts=4 fdm=marker
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,319 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_globals.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
"""Common global constants and functions for Conque."""
|
|
||||||
|
|
||||||
import sys
|
|
||||||
import re
|
|
||||||
import os # DEBUG
|
|
||||||
|
|
||||||
import traceback # DEBUG
|
|
||||||
|
|
||||||
# PYTHON VERSION
|
|
||||||
CONQUE_PYTHON_VERSION = sys.version_info[0]
|
|
||||||
|
|
||||||
# Encoding
|
|
||||||
|
|
||||||
try:
|
|
||||||
# Vim's character encoding
|
|
||||||
import vim
|
|
||||||
CONQUE_VIM_ENCODING = vim.eval('&encoding')
|
|
||||||
|
|
||||||
except:
|
|
||||||
CONQUE_VIM_ENCODING = 'utf-8'
|
|
||||||
|
|
||||||
|
|
||||||
def u(str_val, str_encoding='utf-8', errors='strict'):
|
|
||||||
""" Foolhardy attempt to make unicode string syntax compatible with both python 2 and 3. """
|
|
||||||
|
|
||||||
if not str_val:
|
|
||||||
str_val = ''
|
|
||||||
|
|
||||||
if CONQUE_PYTHON_VERSION == 3:
|
|
||||||
return str_val
|
|
||||||
|
|
||||||
else:
|
|
||||||
return unicode(str_val, str_encoding, errors)
|
|
||||||
|
|
||||||
def uchr(str):
|
|
||||||
""" Foolhardy attempt to make unicode string syntax compatible with both python 2 and 3. """
|
|
||||||
|
|
||||||
if CONQUE_PYTHON_VERSION == 3:
|
|
||||||
return chr(str)
|
|
||||||
|
|
||||||
else:
|
|
||||||
return unichr(str)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Unix escape sequence settings
|
|
||||||
|
|
||||||
CONQUE_CTL = {
|
|
||||||
1: 'soh', # start of heading
|
|
||||||
2: 'stx', # start of text
|
|
||||||
7: 'bel', # bell
|
|
||||||
8: 'bs', # backspace
|
|
||||||
9: 'tab', # tab
|
|
||||||
10: 'nl', # new line
|
|
||||||
13: 'cr', # carriage return
|
|
||||||
14: 'so', # shift out
|
|
||||||
15: 'si' # shift in
|
|
||||||
}
|
|
||||||
# 11 : 'vt', # vertical tab
|
|
||||||
# 12 : 'ff', # form feed
|
|
||||||
|
|
||||||
# Escape sequences
|
|
||||||
CONQUE_ESCAPE = {
|
|
||||||
'm': 'font',
|
|
||||||
'J': 'clear_screen',
|
|
||||||
'K': 'clear_line',
|
|
||||||
'@': 'add_spaces',
|
|
||||||
'A': 'cursor_up',
|
|
||||||
'B': 'cursor_down',
|
|
||||||
'C': 'cursor_right',
|
|
||||||
'D': 'cursor_left',
|
|
||||||
'G': 'cursor_to_column',
|
|
||||||
'H': 'cursor',
|
|
||||||
'P': 'delete_chars',
|
|
||||||
'f': 'cursor',
|
|
||||||
'g': 'tab_clear',
|
|
||||||
'r': 'set_coords',
|
|
||||||
'h': 'set',
|
|
||||||
'l': 'reset'
|
|
||||||
}
|
|
||||||
# 'L': 'insert_lines',
|
|
||||||
# 'M': 'delete_lines',
|
|
||||||
# 'd': 'cusor_vpos',
|
|
||||||
|
|
||||||
# Alternate escape sequences, no [
|
|
||||||
CONQUE_ESCAPE_PLAIN = {
|
|
||||||
'D': 'scroll_up',
|
|
||||||
'E': 'next_line',
|
|
||||||
'H': 'set_tab',
|
|
||||||
'M': 'scroll_down'
|
|
||||||
}
|
|
||||||
# 'N': 'single_shift_2',
|
|
||||||
# 'O': 'single_shift_3',
|
|
||||||
# '=': 'alternate_keypad',
|
|
||||||
# '>': 'numeric_keypad',
|
|
||||||
# '7': 'save_cursor',
|
|
||||||
# '8': 'restore_cursor',
|
|
||||||
|
|
||||||
# Character set escape sequences, with "("
|
|
||||||
CONQUE_ESCAPE_CHARSET = {
|
|
||||||
'A': 'uk',
|
|
||||||
'B': 'us',
|
|
||||||
'0': 'graphics'
|
|
||||||
}
|
|
||||||
|
|
||||||
# Uber alternate escape sequences, with # or ?
|
|
||||||
CONQUE_ESCAPE_QUESTION = {
|
|
||||||
'1h': 'new_line_mode',
|
|
||||||
'3h': '132_cols',
|
|
||||||
'4h': 'smooth_scrolling',
|
|
||||||
'5h': 'reverse_video',
|
|
||||||
'6h': 'relative_origin',
|
|
||||||
'7h': 'set_auto_wrap',
|
|
||||||
'8h': 'set_auto_repeat',
|
|
||||||
'9h': 'set_interlacing_mode',
|
|
||||||
'1l': 'set_cursor_key',
|
|
||||||
'2l': 'set_vt52',
|
|
||||||
'3l': '80_cols',
|
|
||||||
'4l': 'set_jump_scrolling',
|
|
||||||
'5l': 'normal_video',
|
|
||||||
'6l': 'absolute_origin',
|
|
||||||
'7l': 'reset_auto_wrap',
|
|
||||||
'8l': 'reset_auto_repeat',
|
|
||||||
'9l': 'reset_interlacing_mode'
|
|
||||||
}
|
|
||||||
|
|
||||||
CONQUE_ESCAPE_HASH = {
|
|
||||||
'8': 'screen_alignment_test'
|
|
||||||
}
|
|
||||||
# '3': 'double_height_top',
|
|
||||||
# '4': 'double_height_bottom',
|
|
||||||
# '5': 'single_height_single_width',
|
|
||||||
# '6': 'single_height_double_width',
|
|
||||||
|
|
||||||
CONQUE_GRAPHICS_SET = [
|
|
||||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
|
||||||
0x0008, 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F,
|
|
||||||
0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017,
|
|
||||||
0x0018, 0x0019, 0x001A, 0x001B, 0x001C, 0x001D, 0x001E, 0x001F,
|
|
||||||
0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027,
|
|
||||||
0x0028, 0x0029, 0x002A, 0x2192, 0x2190, 0x2191, 0x2193, 0x002F,
|
|
||||||
0x2588, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037,
|
|
||||||
0x0038, 0x0039, 0x003A, 0x003B, 0x003C, 0x003D, 0x003E, 0x003F,
|
|
||||||
0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047,
|
|
||||||
0x0048, 0x0049, 0x004A, 0x004B, 0x004C, 0x004D, 0x004E, 0x004F,
|
|
||||||
0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057,
|
|
||||||
0x0058, 0x0059, 0x005A, 0x005B, 0x005C, 0x005D, 0x005E, 0x00A0,
|
|
||||||
0x25C6, 0x2592, 0x2409, 0x240C, 0x240D, 0x240A, 0x00B0, 0x00B1,
|
|
||||||
0x2591, 0x240B, 0x2518, 0x2510, 0x250C, 0x2514, 0x253C, 0xF800,
|
|
||||||
0xF801, 0x2500, 0xF803, 0xF804, 0x251C, 0x2524, 0x2534, 0x252C,
|
|
||||||
0x2502, 0x2264, 0x2265, 0x03C0, 0x2260, 0x00A3, 0x00B7, 0x007F,
|
|
||||||
0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087,
|
|
||||||
0x0088, 0x0089, 0x008A, 0x008B, 0x008C, 0x008D, 0x008E, 0x008F,
|
|
||||||
0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097,
|
|
||||||
0x0098, 0x0099, 0x009A, 0x009B, 0x009C, 0x009D, 0x009E, 0x009F,
|
|
||||||
0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7,
|
|
||||||
0x00A8, 0x00A9, 0x00AA, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00AF,
|
|
||||||
0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x00B4, 0x00B5, 0x00B6, 0x00B7,
|
|
||||||
0x00B8, 0x00B9, 0x00BA, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00BF,
|
|
||||||
0x00C0, 0x00C1, 0x00C2, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7,
|
|
||||||
0x00C8, 0x00C9, 0x00CA, 0x00CB, 0x00CC, 0x00CD, 0x00CE, 0x00CF,
|
|
||||||
0x00D0, 0x00D1, 0x00D2, 0x00D3, 0x00D4, 0x00D5, 0x00D6, 0x00D7,
|
|
||||||
0x00D8, 0x00D9, 0x00DA, 0x00DB, 0x00DC, 0x00DD, 0x00DE, 0x00DF,
|
|
||||||
0x00E0, 0x00E1, 0x00E2, 0x00E3, 0x00E4, 0x00E5, 0x00E6, 0x00E7,
|
|
||||||
0x00E8, 0x00E9, 0x00EA, 0x00EB, 0x00EC, 0x00ED, 0x00EE, 0x00EF,
|
|
||||||
0x00F0, 0x00F1, 0x00F2, 0x00F3, 0x00F4, 0x00F5, 0x00F6, 0x00F7,
|
|
||||||
0x00F8, 0x00F9, 0x00FA, 0x00FB, 0x00FC, 0x00FD, 0x00FE, 0x00FF
|
|
||||||
]
|
|
||||||
|
|
||||||
# Font codes
|
|
||||||
CONQUE_FONT = {
|
|
||||||
0: {'description': 'Normal (default)', 'attributes': {'cterm': 'NONE', 'ctermfg': 'NONE', 'ctermbg': 'NONE', 'gui': 'NONE', 'guifg': 'NONE', 'guibg': 'NONE'}, 'normal': True},
|
|
||||||
1: {'description': 'Bold', 'attributes': {'cterm': 'BOLD', 'gui': 'BOLD'}, 'normal': False},
|
|
||||||
4: {'description': 'Underlined', 'attributes': {'cterm': 'UNDERLINE', 'gui': 'UNDERLINE'}, 'normal': False},
|
|
||||||
5: {'description': 'Blink (appears as Bold)', 'attributes': {'cterm': 'BOLD', 'gui': 'BOLD'}, 'normal': False},
|
|
||||||
7: {'description': 'Inverse', 'attributes': {'cterm': 'REVERSE', 'gui': 'REVERSE'}, 'normal': False},
|
|
||||||
8: {'description': 'Invisible (hidden)', 'attributes': {'ctermfg': '0', 'ctermbg': '0', 'guifg': '#000000', 'guibg': '#000000'}, 'normal': False},
|
|
||||||
22: {'description': 'Normal (neither bold nor faint)', 'attributes': {'cterm': 'NONE', 'gui': 'NONE'}, 'normal': True},
|
|
||||||
24: {'description': 'Not underlined', 'attributes': {'cterm': 'NONE', 'gui': 'NONE'}, 'normal': True},
|
|
||||||
25: {'description': 'Steady (not blinking)', 'attributes': {'cterm': 'NONE', 'gui': 'NONE'}, 'normal': True},
|
|
||||||
27: {'description': 'Positive (not inverse)', 'attributes': {'cterm': 'NONE', 'gui': 'NONE'}, 'normal': True},
|
|
||||||
28: {'description': 'Visible (not hidden)', 'attributes': {'ctermfg': 'NONE', 'ctermbg': 'NONE', 'guifg': 'NONE', 'guibg': 'NONE'}, 'normal': True},
|
|
||||||
30: {'description': 'Set foreground color to Black', 'attributes': {'ctermfg': '16', 'guifg': '#000000'}, 'normal': False},
|
|
||||||
31: {'description': 'Set foreground color to Red', 'attributes': {'ctermfg': '1', 'guifg': '#ff0000'}, 'normal': False},
|
|
||||||
32: {'description': 'Set foreground color to Green', 'attributes': {'ctermfg': '2', 'guifg': '#00ff00'}, 'normal': False},
|
|
||||||
33: {'description': 'Set foreground color to Yellow', 'attributes': {'ctermfg': '3', 'guifg': '#ffff00'}, 'normal': False},
|
|
||||||
34: {'description': 'Set foreground color to Blue', 'attributes': {'ctermfg': '4', 'guifg': '#0000ff'}, 'normal': False},
|
|
||||||
35: {'description': 'Set foreground color to Magenta', 'attributes': {'ctermfg': '5', 'guifg': '#990099'}, 'normal': False},
|
|
||||||
36: {'description': 'Set foreground color to Cyan', 'attributes': {'ctermfg': '6', 'guifg': '#009999'}, 'normal': False},
|
|
||||||
37: {'description': 'Set foreground color to White', 'attributes': {'ctermfg': '7', 'guifg': '#ffffff'}, 'normal': False},
|
|
||||||
39: {'description': 'Set foreground color to default (original)', 'attributes': {'ctermfg': 'NONE', 'guifg': 'NONE'}, 'normal': True},
|
|
||||||
40: {'description': 'Set background color to Black', 'attributes': {'ctermbg': '16', 'guibg': '#000000'}, 'normal': False},
|
|
||||||
41: {'description': 'Set background color to Red', 'attributes': {'ctermbg': '1', 'guibg': '#ff0000'}, 'normal': False},
|
|
||||||
42: {'description': 'Set background color to Green', 'attributes': {'ctermbg': '2', 'guibg': '#00ff00'}, 'normal': False},
|
|
||||||
43: {'description': 'Set background color to Yellow', 'attributes': {'ctermbg': '3', 'guibg': '#ffff00'}, 'normal': False},
|
|
||||||
44: {'description': 'Set background color to Blue', 'attributes': {'ctermbg': '4', 'guibg': '#0000ff'}, 'normal': False},
|
|
||||||
45: {'description': 'Set background color to Magenta', 'attributes': {'ctermbg': '5', 'guibg': '#990099'}, 'normal': False},
|
|
||||||
46: {'description': 'Set background color to Cyan', 'attributes': {'ctermbg': '6', 'guibg': '#009999'}, 'normal': False},
|
|
||||||
47: {'description': 'Set background color to White', 'attributes': {'ctermbg': '7', 'guibg': '#ffffff'}, 'normal': False},
|
|
||||||
49: {'description': 'Set background color to default (original).', 'attributes': {'ctermbg': 'NONE', 'guibg': 'NONE'}, 'normal': True},
|
|
||||||
90: {'description': 'Set foreground color to Black', 'attributes': {'ctermfg': '8', 'guifg': '#000000'}, 'normal': False},
|
|
||||||
91: {'description': 'Set foreground color to Red', 'attributes': {'ctermfg': '9', 'guifg': '#ff0000'}, 'normal': False},
|
|
||||||
92: {'description': 'Set foreground color to Green', 'attributes': {'ctermfg': '10', 'guifg': '#00ff00'}, 'normal': False},
|
|
||||||
93: {'description': 'Set foreground color to Yellow', 'attributes': {'ctermfg': '11', 'guifg': '#ffff00'}, 'normal': False},
|
|
||||||
94: {'description': 'Set foreground color to Blue', 'attributes': {'ctermfg': '12', 'guifg': '#0000ff'}, 'normal': False},
|
|
||||||
95: {'description': 'Set foreground color to Magenta', 'attributes': {'ctermfg': '13', 'guifg': '#990099'}, 'normal': False},
|
|
||||||
96: {'description': 'Set foreground color to Cyan', 'attributes': {'ctermfg': '14', 'guifg': '#009999'}, 'normal': False},
|
|
||||||
97: {'description': 'Set foreground color to White', 'attributes': {'ctermfg': '15', 'guifg': '#ffffff'}, 'normal': False},
|
|
||||||
100: {'description': 'Set background color to Black', 'attributes': {'ctermbg': '8', 'guibg': '#000000'}, 'normal': False},
|
|
||||||
101: {'description': 'Set background color to Red', 'attributes': {'ctermbg': '9', 'guibg': '#ff0000'}, 'normal': False},
|
|
||||||
102: {'description': 'Set background color to Green', 'attributes': {'ctermbg': '10', 'guibg': '#00ff00'}, 'normal': False},
|
|
||||||
103: {'description': 'Set background color to Yellow', 'attributes': {'ctermbg': '11', 'guibg': '#ffff00'}, 'normal': False},
|
|
||||||
104: {'description': 'Set background color to Blue', 'attributes': {'ctermbg': '12', 'guibg': '#0000ff'}, 'normal': False},
|
|
||||||
105: {'description': 'Set background color to Magenta', 'attributes': {'ctermbg': '13', 'guibg': '#990099'}, 'normal': False},
|
|
||||||
106: {'description': 'Set background color to Cyan', 'attributes': {'ctermbg': '14', 'guibg': '#009999'}, 'normal': False},
|
|
||||||
107: {'description': 'Set background color to White', 'attributes': {'ctermbg': '15', 'guibg': '#ffffff'}, 'normal': False}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# regular expression matching (almost) all control sequences
|
|
||||||
CONQUE_SEQ_REGEX = re.compile("(\x1b\[?\??#?[0-9;]*[a-zA-Z0-9@=>]|\x1b\][0-9];.*?\x07|[\x01-\x0f]|\x1b\([AB0])")
|
|
||||||
CONQUE_SEQ_REGEX_CTL = re.compile("^[\x01-\x0f]$")
|
|
||||||
CONQUE_SEQ_REGEX_CSI = re.compile("^\x1b\[")
|
|
||||||
CONQUE_SEQ_REGEX_TITLE = re.compile("^\x1b\]")
|
|
||||||
CONQUE_SEQ_REGEX_HASH = re.compile("^\x1b#")
|
|
||||||
CONQUE_SEQ_REGEX_ESC = re.compile("^\x1b.$")
|
|
||||||
CONQUE_SEQ_REGEX_CHAR = re.compile("^\x1b[()]")
|
|
||||||
|
|
||||||
# match table output
|
|
||||||
CONQUE_TABLE_OUTPUT = re.compile("^\s*\|\s.*\s\|\s*$|^\s*\+[=+-]+\+\s*$")
|
|
||||||
|
|
||||||
# basic terminal colors
|
|
||||||
CONQUE_COLOR_SEQUENCE = (
|
|
||||||
'000', '009', '090', '099', '900', '909', '990', '999',
|
|
||||||
'000', '00f', '0f0', '0ff', 'f00', 'f0f', 'ff0', 'fff'
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# Windows subprocess constants
|
|
||||||
|
|
||||||
# shared memory size
|
|
||||||
CONQUE_SOLE_BUFFER_LENGTH = 1000
|
|
||||||
CONQUE_SOLE_INPUT_SIZE = 1000
|
|
||||||
CONQUE_SOLE_STATS_SIZE = 1000
|
|
||||||
CONQUE_SOLE_COMMANDS_SIZE = 255
|
|
||||||
CONQUE_SOLE_RESCROLL_SIZE = 255
|
|
||||||
CONQUE_SOLE_RESIZE_SIZE = 255
|
|
||||||
|
|
||||||
# interval of screen redraw
|
|
||||||
# larger number means less frequent
|
|
||||||
CONQUE_SOLE_SCREEN_REDRAW = 50
|
|
||||||
|
|
||||||
# interval of full buffer redraw
|
|
||||||
# larger number means less frequent
|
|
||||||
CONQUE_SOLE_BUFFER_REDRAW = 500
|
|
||||||
|
|
||||||
# interval of full output bucket replacement
|
|
||||||
# larger number means less frequent, 1 = every time
|
|
||||||
CONQUE_SOLE_MEM_REDRAW = 1000
|
|
||||||
|
|
||||||
# maximum number of lines with terminal colors
|
|
||||||
# ignored if g:ConqueTerm_Color = 2
|
|
||||||
CONQUE_MAX_SYNTAX_LINES = 200
|
|
||||||
|
|
||||||
# windows input splitting on special keys
|
|
||||||
CONQUE_WIN32_REGEX_VK = re.compile("(\x1b\[[0-9;]+VK)")
|
|
||||||
|
|
||||||
# windows attribute string splitting
|
|
||||||
CONQUE_WIN32_REGEX_ATTR = re.compile("((.)\\2*)", re.DOTALL)
|
|
||||||
|
|
||||||
# special key attributes
|
|
||||||
CONQUE_VK_ATTR_CTRL_PRESSED = u('1024')
|
|
||||||
|
|
||||||
|
|
@ -1,230 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_screen.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
"""
|
|
||||||
ConqueScreen is an extention of the vim.current.buffer object
|
|
||||||
|
|
||||||
Unix terminal escape sequences usually reference line numbers relative to the
|
|
||||||
top of the visible screen. However the visible portion of the Vim buffer
|
|
||||||
representing the terminal probably doesn't start at the first line of the
|
|
||||||
buffer.
|
|
||||||
|
|
||||||
The ConqueScreen class allows access to the Vim buffer with screen-relative
|
|
||||||
line numbering. And handles a few other related tasks, such as setting the
|
|
||||||
correct cursor position.
|
|
||||||
|
|
||||||
E.g.:
|
|
||||||
s = ConqueScreen()
|
|
||||||
...
|
|
||||||
s[5] = 'Set 5th line in terminal to this line'
|
|
||||||
s.append('Add new line to terminal')
|
|
||||||
s[5] = 'Since previous append() command scrolled the terminal down, this is a different line than first cb[5] call'
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
import vim
|
|
||||||
|
|
||||||
|
|
||||||
class ConqueScreen(object):
|
|
||||||
|
|
||||||
# the buffer
|
|
||||||
buffer = None
|
|
||||||
|
|
||||||
# screen and scrolling regions
|
|
||||||
screen_top = 1
|
|
||||||
|
|
||||||
# screen width
|
|
||||||
screen_width = 80
|
|
||||||
screen_height = 80
|
|
||||||
|
|
||||||
# char encoding for vim buffer
|
|
||||||
screen_encoding = 'utf-8'
|
|
||||||
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
""" Initialize screen size and character encoding. """
|
|
||||||
|
|
||||||
self.buffer = vim.current.buffer
|
|
||||||
|
|
||||||
# initialize screen size
|
|
||||||
self.screen_top = 1
|
|
||||||
self.screen_width = vim.current.window.width
|
|
||||||
self.screen_height = vim.current.window.height
|
|
||||||
|
|
||||||
# save screen character encoding type
|
|
||||||
self.screen_encoding = vim.eval('&fileencoding')
|
|
||||||
|
|
||||||
|
|
||||||
def __len__(self):
|
|
||||||
""" Define the len() function for ConqueScreen objects. """
|
|
||||||
return len(self.buffer)
|
|
||||||
|
|
||||||
|
|
||||||
def __getitem__(self, key):
|
|
||||||
""" Define value access for ConqueScreen objects. """
|
|
||||||
buffer_line = self.get_real_idx(key)
|
|
||||||
|
|
||||||
# if line is past buffer end, add lines to buffer
|
|
||||||
if buffer_line >= len(self.buffer):
|
|
||||||
for i in range(len(self.buffer), buffer_line + 1):
|
|
||||||
self.append(' ')
|
|
||||||
|
|
||||||
return u(self.buffer[buffer_line], 'utf-8')
|
|
||||||
|
|
||||||
|
|
||||||
def __setitem__(self, key, value):
|
|
||||||
""" Define value assignments for ConqueScreen objects. """
|
|
||||||
buffer_line = self.get_real_idx(key)
|
|
||||||
|
|
||||||
if CONQUE_PYTHON_VERSION == 2:
|
|
||||||
val = value.encode(self.screen_encoding)
|
|
||||||
else:
|
|
||||||
# XXX / Vim's python3 interface doesn't accept bytes object
|
|
||||||
val = str(value)
|
|
||||||
|
|
||||||
# if line is past end of screen, append
|
|
||||||
if buffer_line == len(self.buffer):
|
|
||||||
self.buffer.append(val)
|
|
||||||
else:
|
|
||||||
self.buffer[buffer_line] = val
|
|
||||||
|
|
||||||
|
|
||||||
def __delitem__(self, key):
|
|
||||||
""" Define value deletion for ConqueScreen objects. """
|
|
||||||
del self.buffer[self.screen_top + key - 2]
|
|
||||||
|
|
||||||
|
|
||||||
def append(self, value):
|
|
||||||
""" Define value appending for ConqueScreen objects. """
|
|
||||||
|
|
||||||
if len(self.buffer) > self.screen_top + self.screen_height - 1:
|
|
||||||
self.buffer[len(self.buffer) - 1] = value
|
|
||||||
else:
|
|
||||||
self.buffer.append(value)
|
|
||||||
|
|
||||||
if len(self.buffer) > self.screen_top + self.screen_height - 1:
|
|
||||||
self.screen_top += 1
|
|
||||||
|
|
||||||
if vim.current.buffer.number == self.buffer.number:
|
|
||||||
vim.command('normal! G')
|
|
||||||
|
|
||||||
|
|
||||||
def insert(self, line, value):
|
|
||||||
""" Define value insertion for ConqueScreen objects. """
|
|
||||||
|
|
||||||
l = self.screen_top + line - 2
|
|
||||||
self.buffer.append(value, l)
|
|
||||||
|
|
||||||
|
|
||||||
def get_top(self):
|
|
||||||
""" Get the Vim line number representing the top of the visible terminal. """
|
|
||||||
return self.screen_top
|
|
||||||
|
|
||||||
|
|
||||||
def get_real_idx(self, line):
|
|
||||||
""" Get the zero index Vim line number corresponding to the provided screen line. """
|
|
||||||
return (self.screen_top + line - 2)
|
|
||||||
|
|
||||||
|
|
||||||
def get_buffer_line(self, line):
|
|
||||||
""" Get the Vim line number corresponding to the provided screen line. """
|
|
||||||
return (self.screen_top + line - 1)
|
|
||||||
|
|
||||||
|
|
||||||
def set_screen_width(self, width):
|
|
||||||
""" Set the screen width. """
|
|
||||||
self.screen_width = width
|
|
||||||
|
|
||||||
|
|
||||||
def clear(self):
|
|
||||||
""" Clear the screen. Does not clear the buffer, just scrolls down past all text. """
|
|
||||||
|
|
||||||
self.screen_width = width
|
|
||||||
self.buffer.append(' ')
|
|
||||||
vim.command('normal! Gzt')
|
|
||||||
self.screen_top = len(self.buffer)
|
|
||||||
|
|
||||||
|
|
||||||
def set_cursor(self, line, column):
|
|
||||||
""" Set cursor position. """
|
|
||||||
|
|
||||||
# figure out line
|
|
||||||
buffer_line = self.screen_top + line - 1
|
|
||||||
if buffer_line > len(self.buffer):
|
|
||||||
for l in range(len(self.buffer) - 1, buffer_line):
|
|
||||||
self.buffer.append('')
|
|
||||||
|
|
||||||
# figure out column
|
|
||||||
real_column = column
|
|
||||||
if len(self.buffer[buffer_line - 1]) < real_column:
|
|
||||||
self.buffer[buffer_line - 1] = self.buffer[buffer_line - 1] + ' ' * (real_column - len(self.buffer[buffer_line - 1]))
|
|
||||||
|
|
||||||
if not CONQUE_FAST_MODE:
|
|
||||||
# set cursor at byte index of real_column'th character
|
|
||||||
vim.command('call cursor(' + str(buffer_line) + ', byteidx(getline(' + str(buffer_line) + '), ' + str(real_column) + '))')
|
|
||||||
|
|
||||||
else:
|
|
||||||
# old version
|
|
||||||
# python version is occasionally grumpy
|
|
||||||
try:
|
|
||||||
vim.current.window.cursor = (buffer_line, real_column - 1)
|
|
||||||
except:
|
|
||||||
vim.command('call cursor(' + str(buffer_line) + ', ' + str(real_column) + ')')
|
|
||||||
|
|
||||||
|
|
||||||
def reset_size(self, line):
|
|
||||||
""" Change screen size """
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# save cursor line number
|
|
||||||
buffer_line = self.screen_top + line
|
|
||||||
|
|
||||||
# reset screen size
|
|
||||||
self.screen_width = vim.current.window.width
|
|
||||||
self.screen_height = vim.current.window.height
|
|
||||||
self.screen_top = len(self.buffer) - vim.current.window.height + 1
|
|
||||||
if self.screen_top < 1:
|
|
||||||
self.screen_top = 1
|
|
||||||
|
|
||||||
|
|
||||||
# align bottom of buffer to bottom of screen
|
|
||||||
vim.command('normal! ' + str(self.screen_height) + 'kG')
|
|
||||||
|
|
||||||
# return new relative line number
|
|
||||||
return (buffer_line - self.screen_top)
|
|
||||||
|
|
||||||
|
|
||||||
def align(self):
|
|
||||||
""" align bottom of buffer to bottom of screen """
|
|
||||||
vim.command('normal! ' + str(self.screen_height) + 'kG')
|
|
||||||
|
|
||||||
|
|
@ -1,458 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_sole.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
"""
|
|
||||||
Windows Console Emulator
|
|
||||||
|
|
||||||
This is the main interface to the Windows emulator. It reads new output from the background console
|
|
||||||
and updates the Vim buffer.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import vim
|
|
||||||
|
|
||||||
|
|
||||||
class ConqueSole(Conque):
|
|
||||||
|
|
||||||
window_top = None
|
|
||||||
window_bottom = None
|
|
||||||
|
|
||||||
color_cache = {}
|
|
||||||
attribute_cache = {}
|
|
||||||
color_mode = None
|
|
||||||
color_conceals = {}
|
|
||||||
|
|
||||||
buffer = None
|
|
||||||
encoding = None
|
|
||||||
|
|
||||||
# counters for periodic rendering
|
|
||||||
buffer_redraw_ct = 1
|
|
||||||
screen_redraw_ct = 1
|
|
||||||
|
|
||||||
# line offset, shifts output down
|
|
||||||
offset = 0
|
|
||||||
|
|
||||||
|
|
||||||
def open(self):
|
|
||||||
""" Start command and initialize this instance
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
command - Command string, e.g. "Powershell.exe"
|
|
||||||
options - Dictionary of config options
|
|
||||||
python_exe - Path to the python.exe executable. Usually C:\PythonXX\python.exe
|
|
||||||
communicator_py - Path to subprocess controller script in user's vimfiles directory
|
|
||||||
|
|
||||||
"""
|
|
||||||
# get arguments
|
|
||||||
command = vim.eval('command')
|
|
||||||
options = vim.eval('options')
|
|
||||||
python_exe = vim.eval('py_exe')
|
|
||||||
communicator_py = vim.eval('py_vim')
|
|
||||||
|
|
||||||
# init size
|
|
||||||
self.columns = vim.current.window.width
|
|
||||||
self.lines = vim.current.window.height
|
|
||||||
self.window_top = 0
|
|
||||||
self.window_bottom = vim.current.window.height - 1
|
|
||||||
|
|
||||||
# color mode
|
|
||||||
self.color_mode = vim.eval('g:ConqueTerm_ColorMode')
|
|
||||||
|
|
||||||
# line offset
|
|
||||||
self.offset = int(options['offset'])
|
|
||||||
|
|
||||||
# init color
|
|
||||||
self.enable_colors = options['color'] and not CONQUE_FAST_MODE
|
|
||||||
|
|
||||||
# open command
|
|
||||||
self.proc = ConqueSoleWrapper()
|
|
||||||
self.proc.open(command, self.lines, self.columns, python_exe, communicator_py, options)
|
|
||||||
|
|
||||||
self.buffer = vim.current.buffer
|
|
||||||
self.screen_encoding = vim.eval('&fileencoding')
|
|
||||||
|
|
||||||
|
|
||||||
def read(self, timeout=1, set_cursor=True, return_output=False, update_buffer=True):
|
|
||||||
""" Read from console and update Vim buffer. """
|
|
||||||
|
|
||||||
try:
|
|
||||||
stats = self.proc.get_stats()
|
|
||||||
|
|
||||||
if not stats:
|
|
||||||
return
|
|
||||||
|
|
||||||
# disable screen and buffer redraws in fast mode
|
|
||||||
if not CONQUE_FAST_MODE:
|
|
||||||
self.buffer_redraw_ct += 1
|
|
||||||
self.screen_redraw_ct += 1
|
|
||||||
|
|
||||||
update_top = 0
|
|
||||||
update_bottom = 0
|
|
||||||
lines = []
|
|
||||||
|
|
||||||
# full buffer redraw, our favorite!
|
|
||||||
#if self.buffer_redraw_ct == CONQUE_SOLE_BUFFER_REDRAW:
|
|
||||||
# self.buffer_redraw_ct = 0
|
|
||||||
# update_top = 0
|
|
||||||
# update_bottom = stats['top_offset'] + self.lines
|
|
||||||
# (lines, attributes) = self.proc.read(update_top, update_bottom)
|
|
||||||
# if return_output:
|
|
||||||
# output = self.get_new_output(lines, update_top, stats)
|
|
||||||
# if update_buffer:
|
|
||||||
# for i in range(update_top, update_bottom + 1):
|
|
||||||
# if CONQUE_FAST_MODE:
|
|
||||||
# self.plain_text(i, lines[i], None, stats)
|
|
||||||
# else:
|
|
||||||
# self.plain_text(i, lines[i], attributes[i], stats)
|
|
||||||
|
|
||||||
# full screen redraw
|
|
||||||
if stats['cursor_y'] + 1 != self.l or stats['top_offset'] != self.window_top or self.screen_redraw_ct >= CONQUE_SOLE_SCREEN_REDRAW:
|
|
||||||
|
|
||||||
self.screen_redraw_ct = 0
|
|
||||||
update_top = self.window_top
|
|
||||||
update_bottom = max([stats['top_offset'] + self.lines + 1, stats['cursor_y']])
|
|
||||||
(lines, attributes) = self.proc.read(update_top, update_bottom - update_top + 1)
|
|
||||||
if return_output:
|
|
||||||
output = self.get_new_output(lines, update_top, stats)
|
|
||||||
if update_buffer:
|
|
||||||
for i in range(update_top, update_bottom + 1):
|
|
||||||
if CONQUE_FAST_MODE:
|
|
||||||
self.plain_text(i, lines[i - update_top], None, stats)
|
|
||||||
else:
|
|
||||||
self.plain_text(i, lines[i - update_top], attributes[i - update_top], stats)
|
|
||||||
|
|
||||||
|
|
||||||
# single line redraw
|
|
||||||
else:
|
|
||||||
update_top = stats['cursor_y']
|
|
||||||
(lines, attributes) = self.proc.read(update_top, 1)
|
|
||||||
if return_output:
|
|
||||||
output = self.get_new_output(lines, update_top, stats)
|
|
||||||
if update_buffer:
|
|
||||||
if lines[0].rstrip() != u(self.buffer[update_top].rstrip()):
|
|
||||||
if CONQUE_FAST_MODE:
|
|
||||||
self.plain_text(update_top, lines[0], None, stats)
|
|
||||||
else:
|
|
||||||
self.plain_text(update_top, lines[0], attributes[0], stats)
|
|
||||||
|
|
||||||
|
|
||||||
# reset current position
|
|
||||||
self.window_top = stats['top_offset']
|
|
||||||
self.l = stats['cursor_y'] + 1
|
|
||||||
self.c = stats['cursor_x'] + 1
|
|
||||||
|
|
||||||
# reposition cursor if this seems plausible
|
|
||||||
if set_cursor:
|
|
||||||
self.set_cursor(self.l, self.c)
|
|
||||||
|
|
||||||
if return_output:
|
|
||||||
return output
|
|
||||||
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def get_new_output(self, lines, update_top, stats):
|
|
||||||
""" Calculate the "new" output from this read. Fake but useful """
|
|
||||||
|
|
||||||
if not (stats['cursor_y'] + 1 > self.l or (stats['cursor_y'] + 1 == self.l and stats['cursor_x'] + 1 > self.c)):
|
|
||||||
return ""
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
|
||||||
num_to_return = stats['cursor_y'] - self.l + 2
|
|
||||||
|
|
||||||
lines = lines[self.l - update_top - 1:]
|
|
||||||
|
|
||||||
|
|
||||||
new_output = []
|
|
||||||
|
|
||||||
# first line
|
|
||||||
new_output.append(lines[0][self.c - 1:].rstrip())
|
|
||||||
|
|
||||||
# the rest
|
|
||||||
for i in range(1, num_to_return):
|
|
||||||
new_output.append(lines[i].rstrip())
|
|
||||||
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return "\n".join(new_output)
|
|
||||||
|
|
||||||
|
|
||||||
def plain_text(self, line_nr, text, attributes, stats):
|
|
||||||
""" Write plain text to Vim buffer. """
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# handle line offset
|
|
||||||
line_nr += self.offset
|
|
||||||
|
|
||||||
self.l = line_nr + 1
|
|
||||||
|
|
||||||
# remove trailing whitespace
|
|
||||||
text = text.rstrip()
|
|
||||||
|
|
||||||
# if we're using concealed text for color, then s- is weird
|
|
||||||
if self.color_mode == 'conceal':
|
|
||||||
|
|
||||||
text = self.add_conceal_color(text, attributes, stats, line_nr)
|
|
||||||
|
|
||||||
|
|
||||||
# deal with character encoding
|
|
||||||
if CONQUE_PYTHON_VERSION == 2:
|
|
||||||
val = text.encode(self.screen_encoding)
|
|
||||||
else:
|
|
||||||
# XXX / Vim's python3 interface doesn't accept bytes object
|
|
||||||
val = str(text)
|
|
||||||
|
|
||||||
# update vim buffer
|
|
||||||
if len(self.buffer) <= line_nr:
|
|
||||||
self.buffer.append(val)
|
|
||||||
else:
|
|
||||||
self.buffer[line_nr] = val
|
|
||||||
|
|
||||||
if self.enable_colors and not self.color_mode == 'conceal' and line_nr > self.l - CONQUE_MAX_SYNTAX_LINES:
|
|
||||||
relevant = attributes[0:len(text)]
|
|
||||||
if line_nr not in self.attribute_cache or self.attribute_cache[line_nr] != relevant:
|
|
||||||
self.do_color(attributes=relevant, stats=stats)
|
|
||||||
self.attribute_cache[line_nr] = relevant
|
|
||||||
|
|
||||||
|
|
||||||
def add_conceal_color(self, text, attributes, stats, line_nr):
|
|
||||||
""" Add 'conceal' color strings to output text """
|
|
||||||
|
|
||||||
# stop here if coloration is disabled
|
|
||||||
if not self.enable_colors:
|
|
||||||
return text
|
|
||||||
|
|
||||||
# if no colors for this line, clear everything out
|
|
||||||
if len(attributes) == 0 or attributes == u(chr(stats['default_attribute'])) * len(attributes):
|
|
||||||
return text
|
|
||||||
|
|
||||||
new_text = ''
|
|
||||||
self.color_conceals[line_nr] = []
|
|
||||||
|
|
||||||
attribute_chunks = CONQUE_WIN32_REGEX_ATTR.findall(attributes)
|
|
||||||
offset = 0
|
|
||||||
ends = []
|
|
||||||
for attr in attribute_chunks:
|
|
||||||
attr_num = ord(attr[1])
|
|
||||||
ends = []
|
|
||||||
if attr_num != stats['default_attribute']:
|
|
||||||
|
|
||||||
color = self.translate_color(attr_num)
|
|
||||||
|
|
||||||
new_text += chr(27) + 'sf' + color['fg_code'] + ';'
|
|
||||||
ends.append(chr(27) + 'ef' + color['fg_code'] + ';')
|
|
||||||
self.color_conceals[line_nr].append(offset)
|
|
||||||
|
|
||||||
if attr_num > 15:
|
|
||||||
new_text += chr(27) + 'sb' + color['bg_code'] + ';'
|
|
||||||
ends.append(chr(27) + 'eb' + color['bg_code'] + ';')
|
|
||||||
self.color_conceals[line_nr].append(offset)
|
|
||||||
|
|
||||||
new_text += text[offset:offset + len(attr[0])]
|
|
||||||
|
|
||||||
# close color regions
|
|
||||||
ends.reverse()
|
|
||||||
for i in range(0, len(ends)):
|
|
||||||
self.color_conceals[line_nr].append(len(new_text))
|
|
||||||
new_text += ends[i]
|
|
||||||
|
|
||||||
offset += len(attr[0])
|
|
||||||
|
|
||||||
return new_text
|
|
||||||
|
|
||||||
|
|
||||||
def do_color(self, start=0, end=0, attributes='', stats=None):
|
|
||||||
""" Convert Windows console attributes into Vim syntax highlighting """
|
|
||||||
|
|
||||||
# if no colors for this line, clear everything out
|
|
||||||
if len(attributes) == 0 or attributes == u(chr(stats['default_attribute'])) * len(attributes):
|
|
||||||
self.color_changes = {}
|
|
||||||
self.apply_color(1, len(attributes), self.l)
|
|
||||||
return
|
|
||||||
|
|
||||||
attribute_chunks = CONQUE_WIN32_REGEX_ATTR.findall(attributes)
|
|
||||||
offset = 0
|
|
||||||
for attr in attribute_chunks:
|
|
||||||
attr_num = ord(attr[1])
|
|
||||||
if attr_num != stats['default_attribute']:
|
|
||||||
self.color_changes = self.translate_color(attr_num)
|
|
||||||
self.apply_color(offset + 1, offset + len(attr[0]) + 1, self.l)
|
|
||||||
offset += len(attr[0])
|
|
||||||
|
|
||||||
|
|
||||||
def translate_color(self, attr):
|
|
||||||
""" Convert Windows console attributes into RGB colors """
|
|
||||||
|
|
||||||
# check for cached color
|
|
||||||
if attr in self.color_cache:
|
|
||||||
return self.color_cache[attr]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# convert attribute integer to bit string
|
|
||||||
bit_str = bin(attr)
|
|
||||||
bit_str = bit_str.replace('0b', '')
|
|
||||||
|
|
||||||
# slice foreground and background portions of bit string
|
|
||||||
fg = bit_str[-4:].rjust(4, '0')
|
|
||||||
bg = bit_str[-8:-4].rjust(4, '0')
|
|
||||||
|
|
||||||
# ok, first create foreground #rbg
|
|
||||||
red = int(fg[1]) * 204 + int(fg[0]) * int(fg[1]) * 51
|
|
||||||
green = int(fg[2]) * 204 + int(fg[0]) * int(fg[2]) * 51
|
|
||||||
blue = int(fg[3]) * 204 + int(fg[0]) * int(fg[3]) * 51
|
|
||||||
fg_str = "#%02x%02x%02x" % (red, green, blue)
|
|
||||||
fg_code = "%02x%02x%02x" % (red, green, blue)
|
|
||||||
fg_code = fg_code[0] + fg_code[2] + fg_code[4]
|
|
||||||
|
|
||||||
# ok, first create foreground #rbg
|
|
||||||
red = int(bg[1]) * 204 + int(bg[0]) * int(bg[1]) * 51
|
|
||||||
green = int(bg[2]) * 204 + int(bg[0]) * int(bg[2]) * 51
|
|
||||||
blue = int(bg[3]) * 204 + int(bg[0]) * int(bg[3]) * 51
|
|
||||||
bg_str = "#%02x%02x%02x" % (red, green, blue)
|
|
||||||
bg_code = "%02x%02x%02x" % (red, green, blue)
|
|
||||||
bg_code = bg_code[0] + bg_code[2] + bg_code[4]
|
|
||||||
|
|
||||||
# build value for color_changes
|
|
||||||
|
|
||||||
color = {'guifg': fg_str, 'guibg': bg_str}
|
|
||||||
|
|
||||||
if self.color_mode == 'conceal':
|
|
||||||
color['fg_code'] = fg_code
|
|
||||||
color['bg_code'] = bg_code
|
|
||||||
|
|
||||||
self.color_cache[attr] = color
|
|
||||||
|
|
||||||
return color
|
|
||||||
|
|
||||||
|
|
||||||
def write_vk(self, vk_code):
|
|
||||||
""" write virtual key code to shared memory using proprietary escape seq """
|
|
||||||
|
|
||||||
self.proc.write_vk(vk_code)
|
|
||||||
|
|
||||||
|
|
||||||
def update_window_size(self):
|
|
||||||
""" Resize underlying console if Vim buffer size has changed """
|
|
||||||
|
|
||||||
if vim.current.window.width != self.columns or vim.current.window.height != self.lines:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# reset all window size attributes to default
|
|
||||||
self.columns = vim.current.window.width
|
|
||||||
self.lines = vim.current.window.height
|
|
||||||
self.working_columns = vim.current.window.width
|
|
||||||
self.working_lines = vim.current.window.height
|
|
||||||
self.bottom = vim.current.window.height
|
|
||||||
|
|
||||||
self.proc.window_resize(vim.current.window.height, vim.current.window.width)
|
|
||||||
|
|
||||||
|
|
||||||
def set_cursor(self, line, column):
|
|
||||||
""" Update cursor position in Vim buffer """
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# handle offset
|
|
||||||
line += self.offset
|
|
||||||
|
|
||||||
# shift cursor position to handle concealed text
|
|
||||||
if self.enable_colors and self.color_mode == 'conceal':
|
|
||||||
if line - 1 in self.color_conceals:
|
|
||||||
for c in self.color_conceals[line - 1]:
|
|
||||||
if c < column:
|
|
||||||
column += 7
|
|
||||||
else:
|
|
||||||
break
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# figure out line
|
|
||||||
buffer_line = line
|
|
||||||
if buffer_line > len(self.buffer):
|
|
||||||
for l in range(len(self.buffer) - 1, buffer_line):
|
|
||||||
self.buffer.append('')
|
|
||||||
|
|
||||||
# figure out column
|
|
||||||
real_column = column
|
|
||||||
if len(self.buffer[buffer_line - 1]) < real_column:
|
|
||||||
self.buffer[buffer_line - 1] = self.buffer[buffer_line - 1] + ' ' * (real_column - len(self.buffer[buffer_line - 1]))
|
|
||||||
|
|
||||||
# python version is occasionally grumpy
|
|
||||||
try:
|
|
||||||
vim.current.window.cursor = (buffer_line, real_column - 1)
|
|
||||||
except:
|
|
||||||
vim.command('call cursor(' + str(buffer_line) + ', ' + str(real_column) + ')')
|
|
||||||
|
|
||||||
|
|
||||||
def idle(self):
|
|
||||||
""" go into idle mode """
|
|
||||||
|
|
||||||
self.proc.idle()
|
|
||||||
|
|
||||||
|
|
||||||
def resume(self):
|
|
||||||
""" resume from idle mode """
|
|
||||||
|
|
||||||
self.proc.resume()
|
|
||||||
|
|
||||||
|
|
||||||
def close(self):
|
|
||||||
""" end console subprocess """
|
|
||||||
self.proc.close()
|
|
||||||
|
|
||||||
|
|
||||||
def abort(self):
|
|
||||||
""" end subprocess forcefully """
|
|
||||||
self.proc.close()
|
|
||||||
|
|
||||||
|
|
||||||
def get_buffer_line(self, line):
|
|
||||||
""" get buffer line """
|
|
||||||
return line
|
|
||||||
|
|
||||||
|
|
||||||
# vim:foldmethod=marker
|
|
@ -1,183 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_sole_communicator.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
ConqueSoleCommunicator
|
|
||||||
|
|
||||||
This script will create a new Windows console and start the requested program
|
|
||||||
inside of it. This process is launched independently from the parent Vim
|
|
||||||
program, so it has no access to the vim module.
|
|
||||||
|
|
||||||
The main loop in this script reads data from the console and syncs it onto
|
|
||||||
blocks of memory shared with the Vim process. In this way the Vim process
|
|
||||||
and this script can communicate with each other.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
import time
|
|
||||||
import sys
|
|
||||||
|
|
||||||
from conque_globals import *
|
|
||||||
from conque_win32_util import *
|
|
||||||
from conque_sole_subprocess import *
|
|
||||||
from conque_sole_shared_memory import *
|
|
||||||
|
|
||||||
##############################################################
|
|
||||||
# only run if this file was run directly
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
|
|
||||||
# attempt to catch ALL exceptions to fend of zombies
|
|
||||||
try:
|
|
||||||
|
|
||||||
# simple arg validation
|
|
||||||
|
|
||||||
if len(sys.argv) < 5:
|
|
||||||
|
|
||||||
exit()
|
|
||||||
|
|
||||||
# maximum time this thing reads. 0 means no limit. Only for testing.
|
|
||||||
max_loops = 0
|
|
||||||
|
|
||||||
# read interval, in seconds
|
|
||||||
sleep_time = 0.01
|
|
||||||
|
|
||||||
# idle read interval, in seconds
|
|
||||||
idle_sleep_time = 0.10
|
|
||||||
|
|
||||||
# are we idled?
|
|
||||||
is_idle = False
|
|
||||||
|
|
||||||
# mem key
|
|
||||||
mem_key = sys.argv[1]
|
|
||||||
|
|
||||||
# console width
|
|
||||||
console_width = int(sys.argv[2])
|
|
||||||
|
|
||||||
# console height
|
|
||||||
console_height = int(sys.argv[3])
|
|
||||||
|
|
||||||
# code page
|
|
||||||
code_page = int(sys.argv[4])
|
|
||||||
|
|
||||||
# code page
|
|
||||||
fast_mode = int(sys.argv[5])
|
|
||||||
|
|
||||||
# the actual subprocess to run
|
|
||||||
cmd_line = " ".join(sys.argv[6:])
|
|
||||||
|
|
||||||
|
|
||||||
# width and height
|
|
||||||
options = {'LINES': console_height, 'COLUMNS': console_width, 'CODE_PAGE': code_page, 'FAST_MODE': fast_mode}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# set initial idle status
|
|
||||||
shm_command = ConqueSoleSharedMemory(CONQUE_SOLE_COMMANDS_SIZE, 'command', mem_key, serialize=True)
|
|
||||||
shm_command.create('write')
|
|
||||||
|
|
||||||
cmd = shm_command.read()
|
|
||||||
if cmd:
|
|
||||||
|
|
||||||
if cmd['cmd'] == 'idle':
|
|
||||||
is_idle = True
|
|
||||||
shm_command.clear()
|
|
||||||
|
|
||||||
|
|
||||||
##############################################################
|
|
||||||
# Create the subprocess
|
|
||||||
|
|
||||||
proc = ConqueSoleSubprocess()
|
|
||||||
res = proc.open(cmd_line, mem_key, options)
|
|
||||||
|
|
||||||
if not res:
|
|
||||||
|
|
||||||
exit()
|
|
||||||
|
|
||||||
##############################################################
|
|
||||||
# main loop!
|
|
||||||
|
|
||||||
loops = 0
|
|
||||||
|
|
||||||
while True:
|
|
||||||
|
|
||||||
# check for idle/resume
|
|
||||||
if is_idle or loops % 25 == 0:
|
|
||||||
|
|
||||||
# check process health
|
|
||||||
if not proc.is_alive():
|
|
||||||
|
|
||||||
proc.close()
|
|
||||||
break
|
|
||||||
|
|
||||||
# check for change in buffer focus
|
|
||||||
cmd = shm_command.read()
|
|
||||||
if cmd:
|
|
||||||
|
|
||||||
if cmd['cmd'] == 'idle':
|
|
||||||
is_idle = True
|
|
||||||
shm_command.clear()
|
|
||||||
|
|
||||||
elif cmd['cmd'] == 'resume':
|
|
||||||
is_idle = False
|
|
||||||
shm_command.clear()
|
|
||||||
|
|
||||||
|
|
||||||
# sleep between loops if moderation is requested
|
|
||||||
if sleep_time > 0:
|
|
||||||
if is_idle:
|
|
||||||
time.sleep(idle_sleep_time)
|
|
||||||
else:
|
|
||||||
time.sleep(sleep_time)
|
|
||||||
|
|
||||||
# write, read, etc
|
|
||||||
proc.write()
|
|
||||||
proc.read()
|
|
||||||
|
|
||||||
# increment loops, and exit if max has been reached
|
|
||||||
loops += 1
|
|
||||||
if max_loops and loops >= max_loops:
|
|
||||||
|
|
||||||
break
|
|
||||||
|
|
||||||
##############################################################
|
|
||||||
# all done!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
proc.close()
|
|
||||||
|
|
||||||
# if an exception was thrown, croak
|
|
||||||
except:
|
|
||||||
|
|
||||||
proc.close()
|
|
||||||
|
|
||||||
|
|
||||||
# vim:foldmethod=marker
|
|
@ -1,210 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_sole_shared_memory.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
"""
|
|
||||||
Wrapper class for shared memory between Windows python processes
|
|
||||||
|
|
||||||
Adds a small amount of functionality to the standard mmap module.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
import mmap
|
|
||||||
import sys
|
|
||||||
|
|
||||||
# PYTHON VERSION
|
|
||||||
CONQUE_PYTHON_VERSION = sys.version_info[0]
|
|
||||||
|
|
||||||
if CONQUE_PYTHON_VERSION == 2:
|
|
||||||
import cPickle as pickle
|
|
||||||
else:
|
|
||||||
import pickle
|
|
||||||
|
|
||||||
|
|
||||||
class ConqueSoleSharedMemory():
|
|
||||||
|
|
||||||
# is the data being stored not fixed length
|
|
||||||
fixed_length = False
|
|
||||||
|
|
||||||
# maximum number of bytes per character, for fixed width blocks
|
|
||||||
char_width = 1
|
|
||||||
|
|
||||||
# fill memory with this character when clearing and fixed_length is true
|
|
||||||
FILL_CHAR = None
|
|
||||||
|
|
||||||
# serialize and unserialize data automatically
|
|
||||||
serialize = False
|
|
||||||
|
|
||||||
# size of shared memory, in bytes / chars
|
|
||||||
mem_size = None
|
|
||||||
|
|
||||||
# size of shared memory, in bytes / chars
|
|
||||||
mem_type = None
|
|
||||||
|
|
||||||
# unique key, so multiple console instances are possible
|
|
||||||
mem_key = None
|
|
||||||
|
|
||||||
# mmap instance
|
|
||||||
shm = None
|
|
||||||
|
|
||||||
# character encoding, dammit
|
|
||||||
encoding = 'utf-8'
|
|
||||||
|
|
||||||
# pickle terminator
|
|
||||||
TERMINATOR = None
|
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, mem_size, mem_type, mem_key, fixed_length=False, fill_char=' ', serialize=False, encoding='utf-8'):
|
|
||||||
""" Initialize new shared memory block instance
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
mem_size -- Memory size in characters, depends on encoding argument to calcuate byte size
|
|
||||||
mem_type -- Label to identify what will be stored
|
|
||||||
mem_key -- Unique, probably random key to identify this block
|
|
||||||
fixed_length -- If set to true, assume the data stored will always fill the memory size
|
|
||||||
fill_char -- Initialize memory block with this character, only really helpful with fixed_length blocks
|
|
||||||
serialize -- Automatically serialize data passed to write. Allows storing non-byte data
|
|
||||||
encoding -- Character encoding to use when storing character data
|
|
||||||
|
|
||||||
"""
|
|
||||||
self.mem_size = mem_size
|
|
||||||
self.mem_type = mem_type
|
|
||||||
self.mem_key = mem_key
|
|
||||||
self.fixed_length = fixed_length
|
|
||||||
self.fill_char = fill_char
|
|
||||||
self.serialize = serialize
|
|
||||||
self.encoding = encoding
|
|
||||||
self.TERMINATOR = str(chr(0)).encode(self.encoding)
|
|
||||||
|
|
||||||
if CONQUE_PYTHON_VERSION == 3:
|
|
||||||
self.FILL_CHAR = fill_char
|
|
||||||
else:
|
|
||||||
self.FILL_CHAR = unicode(fill_char)
|
|
||||||
|
|
||||||
if fixed_length and encoding == 'utf-8':
|
|
||||||
self.char_width = 4
|
|
||||||
|
|
||||||
|
|
||||||
def create(self, access='write'):
|
|
||||||
""" Create a new block of shared memory using the mmap module. """
|
|
||||||
|
|
||||||
if access == 'write':
|
|
||||||
mmap_access = mmap.ACCESS_WRITE
|
|
||||||
else:
|
|
||||||
mmap_access = mmap.ACCESS_READ
|
|
||||||
|
|
||||||
name = "conque_%s_%s" % (self.mem_type, self.mem_key)
|
|
||||||
|
|
||||||
self.shm = mmap.mmap(0, self.mem_size * self.char_width, name, mmap_access)
|
|
||||||
|
|
||||||
if not self.shm:
|
|
||||||
return False
|
|
||||||
else:
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
def read(self, chars=1, start=0):
|
|
||||||
""" Read data from shared memory.
|
|
||||||
|
|
||||||
If this is a fixed length block, read 'chars' characters from memory.
|
|
||||||
Otherwise read up until the TERMINATOR character (null byte).
|
|
||||||
If this memory is serialized, unserialize it automatically.
|
|
||||||
|
|
||||||
"""
|
|
||||||
# go to start position
|
|
||||||
self.shm.seek(start * self.char_width)
|
|
||||||
|
|
||||||
if self.fixed_length:
|
|
||||||
chars = chars * self.char_width
|
|
||||||
else:
|
|
||||||
chars = self.shm.find(self.TERMINATOR)
|
|
||||||
|
|
||||||
if chars == 0:
|
|
||||||
return ''
|
|
||||||
|
|
||||||
shm_str = self.shm.read(chars)
|
|
||||||
|
|
||||||
# return unpickled byte object
|
|
||||||
if self.serialize:
|
|
||||||
return pickle.loads(shm_str)
|
|
||||||
|
|
||||||
# decode byes in python 3
|
|
||||||
if CONQUE_PYTHON_VERSION == 3:
|
|
||||||
return str(shm_str, self.encoding)
|
|
||||||
|
|
||||||
# encoding
|
|
||||||
if self.encoding != 'ascii':
|
|
||||||
shm_str = unicode(shm_str, self.encoding)
|
|
||||||
|
|
||||||
return shm_str
|
|
||||||
|
|
||||||
|
|
||||||
def write(self, text, start=0):
|
|
||||||
""" Write data to memory.
|
|
||||||
|
|
||||||
If memory is fixed length, simply write the 'text' characters at 'start' position.
|
|
||||||
Otherwise write 'text' characters and append a null character.
|
|
||||||
If memory is serializable, do so first.
|
|
||||||
|
|
||||||
"""
|
|
||||||
# simple scenario, let pickle create bytes
|
|
||||||
if self.serialize:
|
|
||||||
if CONQUE_PYTHON_VERSION == 3:
|
|
||||||
tb = pickle.dumps(text, 0)
|
|
||||||
else:
|
|
||||||
tb = pickle.dumps(text, 0).encode(self.encoding)
|
|
||||||
|
|
||||||
else:
|
|
||||||
tb = text.encode(self.encoding, 'replace')
|
|
||||||
|
|
||||||
# write to memory
|
|
||||||
self.shm.seek(start * self.char_width)
|
|
||||||
|
|
||||||
if self.fixed_length:
|
|
||||||
self.shm.write(tb)
|
|
||||||
else:
|
|
||||||
self.shm.write(tb + self.TERMINATOR)
|
|
||||||
|
|
||||||
|
|
||||||
def clear(self, start=0):
|
|
||||||
""" Clear memory block using self.fill_char. """
|
|
||||||
|
|
||||||
self.shm.seek(start)
|
|
||||||
|
|
||||||
if self.fixed_length:
|
|
||||||
self.shm.write(str(self.fill_char * self.mem_size * self.char_width).encode(self.encoding))
|
|
||||||
else:
|
|
||||||
self.shm.write(self.TERMINATOR)
|
|
||||||
|
|
||||||
|
|
||||||
def close(self):
|
|
||||||
""" Close/destroy memory block. """
|
|
||||||
|
|
||||||
self.shm.close()
|
|
||||||
|
|
||||||
|
|
@ -1,762 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_sole_subprocess.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
""" ConqueSoleSubprocess
|
|
||||||
|
|
||||||
Creates a new subprocess with it's own (hidden) console window.
|
|
||||||
|
|
||||||
Mirrors console window text onto a block of shared memory (mmap), along with
|
|
||||||
text attribute data. Also handles translation of text input into the format
|
|
||||||
Windows console expects.
|
|
||||||
|
|
||||||
Sample Usage:
|
|
||||||
|
|
||||||
sh = ConqueSoleSubprocess()
|
|
||||||
sh.open("cmd.exe", "unique_str")
|
|
||||||
|
|
||||||
shm_in = ConqueSoleSharedMemory(mem_key = "unique_str", mem_type = "input", ...)
|
|
||||||
shm_out = ConqueSoleSharedMemory(mem_key = "unique_str", mem_type = "output", ...)
|
|
||||||
|
|
||||||
output = shm_out.read(...)
|
|
||||||
shm_in.write("dir\r")
|
|
||||||
output = shm_out.read(...)
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
import time
|
|
||||||
import re
|
|
||||||
import os
|
|
||||||
import ctypes
|
|
||||||
|
|
||||||
from conque_globals import *
|
|
||||||
from conque_win32_util import *
|
|
||||||
from conque_sole_shared_memory import *
|
|
||||||
|
|
||||||
|
|
||||||
class ConqueSoleSubprocess():
|
|
||||||
|
|
||||||
# subprocess handle and pid
|
|
||||||
handle = None
|
|
||||||
pid = None
|
|
||||||
|
|
||||||
# input / output handles
|
|
||||||
stdin = None
|
|
||||||
stdout = None
|
|
||||||
|
|
||||||
# size of console window
|
|
||||||
window_width = 160
|
|
||||||
window_height = 40
|
|
||||||
|
|
||||||
# max lines for the console buffer
|
|
||||||
buffer_width = 160
|
|
||||||
buffer_height = 100
|
|
||||||
|
|
||||||
# keep track of the buffer number at the top of the window
|
|
||||||
top = 0
|
|
||||||
line_offset = 0
|
|
||||||
|
|
||||||
# buffer height is CONQUE_SOLE_BUFFER_LENGTH * output_blocks
|
|
||||||
output_blocks = 1
|
|
||||||
|
|
||||||
# cursor position
|
|
||||||
cursor_line = 0
|
|
||||||
cursor_col = 0
|
|
||||||
|
|
||||||
# console data, array of lines
|
|
||||||
data = []
|
|
||||||
|
|
||||||
# console attribute data, array of array of int
|
|
||||||
attributes = []
|
|
||||||
attribute_cache = {}
|
|
||||||
|
|
||||||
# default attribute
|
|
||||||
default_attribute = 7
|
|
||||||
|
|
||||||
# shared memory objects
|
|
||||||
shm_input = None
|
|
||||||
shm_output = None
|
|
||||||
shm_attributes = None
|
|
||||||
shm_stats = None
|
|
||||||
shm_command = None
|
|
||||||
shm_rescroll = None
|
|
||||||
shm_resize = None
|
|
||||||
|
|
||||||
# are we still a valid process?
|
|
||||||
is_alive = True
|
|
||||||
|
|
||||||
# running in fast mode
|
|
||||||
fast_mode = 0
|
|
||||||
|
|
||||||
# used for periodic execution of screen and memory redrawing
|
|
||||||
screen_redraw_ct = 0
|
|
||||||
mem_redraw_ct = 0
|
|
||||||
|
|
||||||
|
|
||||||
def open(self, cmd, mem_key, options={}):
|
|
||||||
""" Create subproccess running in hidden console window. """
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
self.reset = True
|
|
||||||
|
|
||||||
try:
|
|
||||||
# if we're already attached to a console, then unattach
|
|
||||||
try:
|
|
||||||
ctypes.windll.kernel32.FreeConsole()
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
# set buffer height
|
|
||||||
self.buffer_height = CONQUE_SOLE_BUFFER_LENGTH
|
|
||||||
|
|
||||||
if 'LINES' in options and 'COLUMNS' in options:
|
|
||||||
self.window_width = options['COLUMNS']
|
|
||||||
self.window_height = options['LINES']
|
|
||||||
self.buffer_width = options['COLUMNS']
|
|
||||||
|
|
||||||
# fast mode
|
|
||||||
self.fast_mode = options['FAST_MODE']
|
|
||||||
|
|
||||||
# console window options
|
|
||||||
si = STARTUPINFO()
|
|
||||||
|
|
||||||
# hide window
|
|
||||||
si.dwFlags |= STARTF_USESHOWWINDOW
|
|
||||||
si.wShowWindow = SW_HIDE
|
|
||||||
#si.wShowWindow = SW_MINIMIZE
|
|
||||||
|
|
||||||
# process options
|
|
||||||
flags = NORMAL_PRIORITY_CLASS | CREATE_NEW_PROCESS_GROUP | CREATE_UNICODE_ENVIRONMENT | CREATE_NEW_CONSOLE
|
|
||||||
|
|
||||||
# created process info
|
|
||||||
pi = PROCESS_INFORMATION()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# create the process!
|
|
||||||
res = ctypes.windll.kernel32.CreateProcessW(None, u(cmd), None, None, 0, flags, None, u('.'), ctypes.byref(si), ctypes.byref(pi))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# process info
|
|
||||||
self.pid = pi.dwProcessId
|
|
||||||
self.handle = pi.hProcess
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# attach ourselves to the new console
|
|
||||||
# console is not immediately available
|
|
||||||
for i in range(10):
|
|
||||||
time.sleep(0.25)
|
|
||||||
try:
|
|
||||||
|
|
||||||
res = ctypes.windll.kernel32.AttachConsole(self.pid)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
break
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
# get input / output handles
|
|
||||||
self.stdout = ctypes.windll.kernel32.GetStdHandle(STD_OUTPUT_HANDLE)
|
|
||||||
self.stdin = ctypes.windll.kernel32.GetStdHandle(STD_INPUT_HANDLE)
|
|
||||||
|
|
||||||
# set buffer size
|
|
||||||
size = COORD(self.buffer_width, self.buffer_height)
|
|
||||||
res = ctypes.windll.kernel32.SetConsoleScreenBufferSize(self.stdout, size)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# prev set size call needs to process
|
|
||||||
time.sleep(0.2)
|
|
||||||
|
|
||||||
# set window size
|
|
||||||
self.set_window_size(self.window_width, self.window_height)
|
|
||||||
|
|
||||||
# set utf-8 code page
|
|
||||||
if 'CODE_PAGE' in options and options['CODE_PAGE'] > 0:
|
|
||||||
if ctypes.windll.kernel32.IsValidCodePage(ctypes.c_uint(options['CODE_PAGE'])):
|
|
||||||
|
|
||||||
ctypes.windll.kernel32.SetConsoleCP(ctypes.c_uint(options['CODE_PAGE']))
|
|
||||||
ctypes.windll.kernel32.SetConsoleOutputCP(ctypes.c_uint(options['CODE_PAGE']))
|
|
||||||
|
|
||||||
# init shared memory
|
|
||||||
self.init_shared_memory(mem_key)
|
|
||||||
|
|
||||||
# init read buffers
|
|
||||||
self.tc = ctypes.create_unicode_buffer(self.buffer_width)
|
|
||||||
self.ac = ctypes.create_unicode_buffer(self.buffer_width)
|
|
||||||
|
|
||||||
return True
|
|
||||||
|
|
||||||
except:
|
|
||||||
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def init_shared_memory(self, mem_key):
|
|
||||||
""" Create shared memory objects. """
|
|
||||||
|
|
||||||
self.shm_input = ConqueSoleSharedMemory(CONQUE_SOLE_INPUT_SIZE, 'input', mem_key)
|
|
||||||
self.shm_input.create('write')
|
|
||||||
self.shm_input.clear()
|
|
||||||
|
|
||||||
self.shm_output = ConqueSoleSharedMemory(self.buffer_height * self.buffer_width, 'output', mem_key, True)
|
|
||||||
self.shm_output.create('write')
|
|
||||||
self.shm_output.clear()
|
|
||||||
|
|
||||||
if not self.fast_mode:
|
|
||||||
buf_info = self.get_buffer_info()
|
|
||||||
self.shm_attributes = ConqueSoleSharedMemory(self.buffer_height * self.buffer_width, 'attributes', mem_key, True, chr(buf_info.wAttributes), encoding='latin-1')
|
|
||||||
self.shm_attributes.create('write')
|
|
||||||
self.shm_attributes.clear()
|
|
||||||
|
|
||||||
self.shm_stats = ConqueSoleSharedMemory(CONQUE_SOLE_STATS_SIZE, 'stats', mem_key, serialize=True)
|
|
||||||
self.shm_stats.create('write')
|
|
||||||
self.shm_stats.clear()
|
|
||||||
|
|
||||||
self.shm_command = ConqueSoleSharedMemory(CONQUE_SOLE_COMMANDS_SIZE, 'command', mem_key, serialize=True)
|
|
||||||
self.shm_command.create('write')
|
|
||||||
self.shm_command.clear()
|
|
||||||
|
|
||||||
self.shm_resize = ConqueSoleSharedMemory(CONQUE_SOLE_RESIZE_SIZE, 'resize', mem_key, serialize=True)
|
|
||||||
self.shm_resize.create('write')
|
|
||||||
self.shm_resize.clear()
|
|
||||||
|
|
||||||
self.shm_rescroll = ConqueSoleSharedMemory(CONQUE_SOLE_RESCROLL_SIZE, 'rescroll', mem_key, serialize=True)
|
|
||||||
self.shm_rescroll.create('write')
|
|
||||||
self.shm_rescroll.clear()
|
|
||||||
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
def check_commands(self):
|
|
||||||
""" Check for and process commands from Vim. """
|
|
||||||
|
|
||||||
cmd = self.shm_command.read()
|
|
||||||
|
|
||||||
if cmd:
|
|
||||||
|
|
||||||
# shut it all down
|
|
||||||
if cmd['cmd'] == 'close':
|
|
||||||
|
|
||||||
# clear command
|
|
||||||
self.shm_command.clear()
|
|
||||||
|
|
||||||
self.close()
|
|
||||||
return
|
|
||||||
|
|
||||||
cmd = self.shm_resize.read()
|
|
||||||
|
|
||||||
if cmd:
|
|
||||||
|
|
||||||
# clear command
|
|
||||||
self.shm_resize.clear()
|
|
||||||
|
|
||||||
# resize console
|
|
||||||
if cmd['cmd'] == 'resize':
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# only change buffer width if it's larger
|
|
||||||
if cmd['data']['width'] > self.buffer_width:
|
|
||||||
self.buffer_width = cmd['data']['width']
|
|
||||||
|
|
||||||
# always change console width and height
|
|
||||||
self.window_width = cmd['data']['width']
|
|
||||||
self.window_height = cmd['data']['height']
|
|
||||||
|
|
||||||
# reset the console
|
|
||||||
buf_info = self.get_buffer_info()
|
|
||||||
self.reset_console(buf_info, add_block=False)
|
|
||||||
|
|
||||||
|
|
||||||
def read(self):
|
|
||||||
""" Read from windows console and update shared memory blocks. """
|
|
||||||
|
|
||||||
# no point really
|
|
||||||
if self.screen_redraw_ct == 0 and not self.is_alive():
|
|
||||||
stats = {'top_offset': 0, 'default_attribute': 0, 'cursor_x': 0, 'cursor_y': self.cursor_line, 'is_alive': 0}
|
|
||||||
|
|
||||||
self.shm_stats.write(stats)
|
|
||||||
return
|
|
||||||
|
|
||||||
# check for commands
|
|
||||||
self.check_commands()
|
|
||||||
|
|
||||||
# get cursor position
|
|
||||||
buf_info = self.get_buffer_info()
|
|
||||||
curs_line = buf_info.dwCursorPosition.Y
|
|
||||||
curs_col = buf_info.dwCursorPosition.X
|
|
||||||
|
|
||||||
# set update range
|
|
||||||
if curs_line != self.cursor_line or self.top != buf_info.srWindow.Top or self.screen_redraw_ct == CONQUE_SOLE_SCREEN_REDRAW:
|
|
||||||
self.screen_redraw_ct = 0
|
|
||||||
|
|
||||||
read_start = self.top
|
|
||||||
read_end = max([buf_info.srWindow.Bottom + 1, curs_line + 1])
|
|
||||||
else:
|
|
||||||
|
|
||||||
read_start = curs_line
|
|
||||||
read_end = curs_line + 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# vars used in for loop
|
|
||||||
coord = COORD(0, 0)
|
|
||||||
chars_read = ctypes.c_int(0)
|
|
||||||
|
|
||||||
# read new data
|
|
||||||
for i in range(read_start, read_end):
|
|
||||||
|
|
||||||
coord.Y = i
|
|
||||||
|
|
||||||
res = ctypes.windll.kernel32.ReadConsoleOutputCharacterW(self.stdout, ctypes.byref(self.tc), self.buffer_width, coord, ctypes.byref(chars_read))
|
|
||||||
if not self.fast_mode:
|
|
||||||
ctypes.windll.kernel32.ReadConsoleOutputAttribute(self.stdout, ctypes.byref(self.ac), self.buffer_width, coord, ctypes.byref(chars_read))
|
|
||||||
|
|
||||||
t = self.tc.value
|
|
||||||
if not self.fast_mode:
|
|
||||||
a = self.ac.value
|
|
||||||
|
|
||||||
# add data
|
|
||||||
if i >= len(self.data):
|
|
||||||
for j in range(len(self.data), i + 1):
|
|
||||||
self.data.append('')
|
|
||||||
if not self.fast_mode:
|
|
||||||
self.attributes.append('')
|
|
||||||
|
|
||||||
self.data[i] = t
|
|
||||||
if not self.fast_mode:
|
|
||||||
self.attributes[i] = a
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#for i in range(0, len(t)):
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# write new output to shared memory
|
|
||||||
try:
|
|
||||||
if self.mem_redraw_ct == CONQUE_SOLE_MEM_REDRAW:
|
|
||||||
self.mem_redraw_ct = 0
|
|
||||||
|
|
||||||
for i in range(0, len(self.data)):
|
|
||||||
self.shm_output.write(text=self.data[i], start=self.buffer_width * i)
|
|
||||||
if not self.fast_mode:
|
|
||||||
self.shm_attributes.write(text=self.attributes[i], start=self.buffer_width * i)
|
|
||||||
else:
|
|
||||||
|
|
||||||
for i in range(read_start, read_end):
|
|
||||||
self.shm_output.write(text=self.data[i], start=self.buffer_width * i)
|
|
||||||
if not self.fast_mode:
|
|
||||||
self.shm_attributes.write(text=self.attributes[i], start=self.buffer_width * i)
|
|
||||||
#self.shm_output.write(text=''.join(self.data[read_start:read_end]), start=read_start * self.buffer_width)
|
|
||||||
#self.shm_attributes.write(text=''.join(self.attributes[read_start:read_end]), start=read_start * self.buffer_width)
|
|
||||||
|
|
||||||
# write cursor position to shared memory
|
|
||||||
stats = {'top_offset': buf_info.srWindow.Top, 'default_attribute': buf_info.wAttributes, 'cursor_x': curs_col, 'cursor_y': curs_line, 'is_alive': 1}
|
|
||||||
self.shm_stats.write(stats)
|
|
||||||
|
|
||||||
# adjust screen position
|
|
||||||
self.top = buf_info.srWindow.Top
|
|
||||||
self.cursor_line = curs_line
|
|
||||||
|
|
||||||
# check for reset
|
|
||||||
if curs_line > buf_info.dwSize.Y - 200:
|
|
||||||
self.reset_console(buf_info)
|
|
||||||
|
|
||||||
except:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
# increment redraw counters
|
|
||||||
self.screen_redraw_ct += 1
|
|
||||||
self.mem_redraw_ct += 1
|
|
||||||
|
|
||||||
return None
|
|
||||||
|
|
||||||
|
|
||||||
def reset_console(self, buf_info, add_block=True):
|
|
||||||
""" Extend the height of the current console if the cursor postion gets within 200 lines of the current size. """
|
|
||||||
|
|
||||||
# sometimes we just want to change the buffer width,
|
|
||||||
# in which case no need to add another block
|
|
||||||
if add_block:
|
|
||||||
self.output_blocks += 1
|
|
||||||
|
|
||||||
# close down old memory
|
|
||||||
self.shm_output.close()
|
|
||||||
self.shm_output = None
|
|
||||||
|
|
||||||
if not self.fast_mode:
|
|
||||||
self.shm_attributes.close()
|
|
||||||
self.shm_attributes = None
|
|
||||||
|
|
||||||
# new shared memory key
|
|
||||||
mem_key = 'mk' + str(time.time())
|
|
||||||
|
|
||||||
# reallocate memory
|
|
||||||
self.shm_output = ConqueSoleSharedMemory(self.buffer_height * self.buffer_width * self.output_blocks, 'output', mem_key, True)
|
|
||||||
self.shm_output.create('write')
|
|
||||||
self.shm_output.clear()
|
|
||||||
|
|
||||||
# backfill data
|
|
||||||
if len(self.data[0]) < self.buffer_width:
|
|
||||||
for i in range(0, len(self.data)):
|
|
||||||
self.data[i] = self.data[i] + ' ' * (self.buffer_width - len(self.data[i]))
|
|
||||||
self.shm_output.write(''.join(self.data))
|
|
||||||
|
|
||||||
if not self.fast_mode:
|
|
||||||
self.shm_attributes = ConqueSoleSharedMemory(self.buffer_height * self.buffer_width * self.output_blocks, 'attributes', mem_key, True, chr(buf_info.wAttributes), encoding='latin-1')
|
|
||||||
self.shm_attributes.create('write')
|
|
||||||
self.shm_attributes.clear()
|
|
||||||
|
|
||||||
# backfill attributes
|
|
||||||
if len(self.attributes[0]) < self.buffer_width:
|
|
||||||
for i in range(0, len(self.attributes)):
|
|
||||||
self.attributes[i] = self.attributes[i] + chr(buf_info.wAttributes) * (self.buffer_width - len(self.attributes[i]))
|
|
||||||
if not self.fast_mode:
|
|
||||||
self.shm_attributes.write(''.join(self.attributes))
|
|
||||||
|
|
||||||
# notify wrapper of new output block
|
|
||||||
self.shm_rescroll.write({'cmd': 'new_output', 'data': {'blocks': self.output_blocks, 'mem_key': mem_key}})
|
|
||||||
|
|
||||||
# set buffer size
|
|
||||||
size = COORD(X=self.buffer_width, Y=self.buffer_height * self.output_blocks)
|
|
||||||
|
|
||||||
res = ctypes.windll.kernel32.SetConsoleScreenBufferSize(self.stdout, size)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# prev set size call needs to process
|
|
||||||
time.sleep(0.2)
|
|
||||||
|
|
||||||
# set window size
|
|
||||||
self.set_window_size(self.window_width, self.window_height)
|
|
||||||
|
|
||||||
# init read buffers
|
|
||||||
self.tc = ctypes.create_unicode_buffer(self.buffer_width)
|
|
||||||
self.ac = ctypes.create_unicode_buffer(self.buffer_width)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def write(self):
|
|
||||||
""" Write text to console.
|
|
||||||
|
|
||||||
This function just parses out special sequences for special key events
|
|
||||||
and passes on the text to the plain or virtual key functions.
|
|
||||||
|
|
||||||
"""
|
|
||||||
# get input from shared mem
|
|
||||||
text = self.shm_input.read()
|
|
||||||
|
|
||||||
# nothing to do here
|
|
||||||
if text == u(''):
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# clear input queue
|
|
||||||
self.shm_input.clear()
|
|
||||||
|
|
||||||
# split on VK codes
|
|
||||||
chunks = CONQUE_WIN32_REGEX_VK.split(text)
|
|
||||||
|
|
||||||
# if len() is one then no vks
|
|
||||||
if len(chunks) == 1:
|
|
||||||
self.write_plain(text)
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# loop over chunks and delegate
|
|
||||||
for t in chunks:
|
|
||||||
|
|
||||||
if t == '':
|
|
||||||
continue
|
|
||||||
|
|
||||||
if CONQUE_WIN32_REGEX_VK.match(t):
|
|
||||||
|
|
||||||
self.write_vk(t[2:-2])
|
|
||||||
else:
|
|
||||||
self.write_plain(t)
|
|
||||||
|
|
||||||
|
|
||||||
def write_plain(self, text):
|
|
||||||
""" Write simple text to subprocess. """
|
|
||||||
|
|
||||||
li = INPUT_RECORD * len(text)
|
|
||||||
list_input = li()
|
|
||||||
|
|
||||||
for i in range(0, len(text)):
|
|
||||||
|
|
||||||
# create keyboard input
|
|
||||||
ke = KEY_EVENT_RECORD()
|
|
||||||
ke.bKeyDown = ctypes.c_byte(1)
|
|
||||||
ke.wRepeatCount = ctypes.c_short(1)
|
|
||||||
|
|
||||||
cnum = ord(text[i])
|
|
||||||
|
|
||||||
ke.wVirtualKeyCode = ctypes.windll.user32.VkKeyScanW(cnum)
|
|
||||||
ke.wVirtualScanCode = ctypes.c_short(ctypes.windll.user32.MapVirtualKeyW(int(cnum), 0))
|
|
||||||
|
|
||||||
if cnum > 31:
|
|
||||||
ke.uChar.UnicodeChar = uchr(cnum)
|
|
||||||
elif cnum == 3:
|
|
||||||
ctypes.windll.kernel32.GenerateConsoleCtrlEvent(0, self.pid)
|
|
||||||
ke.uChar.UnicodeChar = uchr(cnum)
|
|
||||||
ke.wVirtualKeyCode = ctypes.windll.user32.VkKeyScanW(cnum + 96)
|
|
||||||
ke.dwControlKeyState |= LEFT_CTRL_PRESSED
|
|
||||||
else:
|
|
||||||
ke.uChar.UnicodeChar = uchr(cnum)
|
|
||||||
if cnum in CONQUE_WINDOWS_VK_INV:
|
|
||||||
ke.wVirtualKeyCode = cnum
|
|
||||||
else:
|
|
||||||
ke.wVirtualKeyCode = ctypes.windll.user32.VkKeyScanW(cnum + 96)
|
|
||||||
ke.dwControlKeyState |= LEFT_CTRL_PRESSED
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
kc = INPUT_RECORD(KEY_EVENT)
|
|
||||||
kc.Event.KeyEvent = ke
|
|
||||||
list_input[i] = kc
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# write input array
|
|
||||||
events_written = ctypes.c_int()
|
|
||||||
res = ctypes.windll.kernel32.WriteConsoleInputW(self.stdin, list_input, len(text), ctypes.byref(events_written))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def write_vk(self, vk_code):
|
|
||||||
""" Write special characters to console subprocess. """
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
code = None
|
|
||||||
ctrl_pressed = False
|
|
||||||
|
|
||||||
# this could be made more generic when more attributes
|
|
||||||
# other than ctrl_pressed are available
|
|
||||||
vk_attributes = vk_code.split(';')
|
|
||||||
|
|
||||||
for attr in vk_attributes:
|
|
||||||
if attr == CONQUE_VK_ATTR_CTRL_PRESSED:
|
|
||||||
ctrl_pressed = True
|
|
||||||
else:
|
|
||||||
code = attr
|
|
||||||
|
|
||||||
li = INPUT_RECORD * 1
|
|
||||||
|
|
||||||
# create keyboard input
|
|
||||||
ke = KEY_EVENT_RECORD()
|
|
||||||
ke.uChar.UnicodeChar = uchr(0)
|
|
||||||
ke.wVirtualKeyCode = ctypes.c_short(int(code))
|
|
||||||
ke.wVirtualScanCode = ctypes.c_short(ctypes.windll.user32.MapVirtualKeyW(int(code), 0))
|
|
||||||
ke.bKeyDown = ctypes.c_byte(1)
|
|
||||||
ke.wRepeatCount = ctypes.c_short(1)
|
|
||||||
|
|
||||||
# set enhanced key mode for arrow keys
|
|
||||||
if code in CONQUE_WINDOWS_VK_ENHANCED:
|
|
||||||
|
|
||||||
ke.dwControlKeyState |= ENHANCED_KEY
|
|
||||||
|
|
||||||
if ctrl_pressed:
|
|
||||||
ke.dwControlKeyState |= LEFT_CTRL_PRESSED
|
|
||||||
|
|
||||||
kc = INPUT_RECORD(KEY_EVENT)
|
|
||||||
kc.Event.KeyEvent = ke
|
|
||||||
list_input = li(kc)
|
|
||||||
|
|
||||||
# write input array
|
|
||||||
events_written = ctypes.c_int()
|
|
||||||
res = ctypes.windll.kernel32.WriteConsoleInputW(self.stdin, list_input, 1, ctypes.byref(events_written))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def close(self):
|
|
||||||
""" Close all running subproccesses """
|
|
||||||
|
|
||||||
# record status
|
|
||||||
self.is_alive = False
|
|
||||||
try:
|
|
||||||
stats = {'top_offset': 0, 'default_attribute': 0, 'cursor_x': 0, 'cursor_y': self.cursor_line, 'is_alive': 0}
|
|
||||||
self.shm_stats.write(stats)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
pid_list = (ctypes.c_int * 10)()
|
|
||||||
num = ctypes.windll.kernel32.GetConsoleProcessList(pid_list, 10)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
current_pid = os.getpid()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# kill subprocess pids
|
|
||||||
for pid in pid_list[0:num]:
|
|
||||||
if not pid:
|
|
||||||
break
|
|
||||||
|
|
||||||
# kill current pid last
|
|
||||||
if pid == current_pid:
|
|
||||||
continue
|
|
||||||
try:
|
|
||||||
self.close_pid(pid)
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
# kill this process
|
|
||||||
try:
|
|
||||||
self.close_pid(current_pid)
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def close_pid(self, pid):
|
|
||||||
""" Terminate a single process. """
|
|
||||||
|
|
||||||
|
|
||||||
handle = ctypes.windll.kernel32.OpenProcess(PROCESS_TERMINATE, 0, pid)
|
|
||||||
ctypes.windll.kernel32.TerminateProcess(handle, -1)
|
|
||||||
ctypes.windll.kernel32.CloseHandle(handle)
|
|
||||||
|
|
||||||
|
|
||||||
def is_alive(self):
|
|
||||||
""" Check process health. """
|
|
||||||
|
|
||||||
status = ctypes.windll.kernel32.WaitForSingleObject(self.handle, 1)
|
|
||||||
|
|
||||||
if status == 0:
|
|
||||||
|
|
||||||
self.is_alive = False
|
|
||||||
|
|
||||||
return self.is_alive
|
|
||||||
|
|
||||||
|
|
||||||
def get_screen_text(self):
|
|
||||||
""" Return screen data as string. """
|
|
||||||
|
|
||||||
return "\n".join(self.data)
|
|
||||||
|
|
||||||
|
|
||||||
def set_window_size(self, width, height):
|
|
||||||
""" Change Windows console size. """
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# get current window size object
|
|
||||||
window_size = SMALL_RECT(0, 0, 0, 0)
|
|
||||||
|
|
||||||
# buffer info has maximum window size data
|
|
||||||
buf_info = self.get_buffer_info()
|
|
||||||
|
|
||||||
|
|
||||||
# set top left corner
|
|
||||||
window_size.Top = 0
|
|
||||||
window_size.Left = 0
|
|
||||||
|
|
||||||
# set bottom right corner
|
|
||||||
if buf_info.dwMaximumWindowSize.X < width:
|
|
||||||
|
|
||||||
window_size.Right = buf_info.dwMaximumWindowSize.X - 1
|
|
||||||
else:
|
|
||||||
window_size.Right = width - 1
|
|
||||||
|
|
||||||
if buf_info.dwMaximumWindowSize.Y < height:
|
|
||||||
|
|
||||||
window_size.Bottom = buf_info.dwMaximumWindowSize.Y - 1
|
|
||||||
else:
|
|
||||||
window_size.Bottom = height - 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# set the window size!
|
|
||||||
res = ctypes.windll.kernel32.SetConsoleWindowInfo(self.stdout, ctypes.c_bool(True), ctypes.byref(window_size))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# reread buffer info to get final console max lines
|
|
||||||
buf_info = self.get_buffer_info()
|
|
||||||
|
|
||||||
self.window_width = buf_info.srWindow.Right + 1
|
|
||||||
self.window_height = buf_info.srWindow.Bottom + 1
|
|
||||||
|
|
||||||
|
|
||||||
def get_buffer_info(self):
|
|
||||||
""" Retrieve commonly-used buffer information. """
|
|
||||||
|
|
||||||
buf_info = CONSOLE_SCREEN_BUFFER_INFO()
|
|
||||||
ctypes.windll.kernel32.GetConsoleScreenBufferInfo(self.stdout, ctypes.byref(buf_info))
|
|
||||||
|
|
||||||
return buf_info
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,278 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_sole_wrapper.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
ConqueSoleSubprocessWrapper
|
|
||||||
|
|
||||||
Subprocess wrapper to deal with Windows insanity. Launches console based python,
|
|
||||||
which in turn launches originally requested command. Communicates with cosole
|
|
||||||
python through shared memory objects.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
import ctypes
|
|
||||||
import time
|
|
||||||
|
|
||||||
|
|
||||||
class ConqueSoleWrapper():
|
|
||||||
|
|
||||||
# unique key used for shared memory block names
|
|
||||||
shm_key = ''
|
|
||||||
|
|
||||||
# process info
|
|
||||||
handle = None
|
|
||||||
pid = None
|
|
||||||
|
|
||||||
# queue input in this bucket
|
|
||||||
bucket = None
|
|
||||||
|
|
||||||
# console size
|
|
||||||
lines = 24
|
|
||||||
columns = 80
|
|
||||||
|
|
||||||
# shared memory objects
|
|
||||||
shm_input = None
|
|
||||||
shm_output = None
|
|
||||||
shm_attributes = None
|
|
||||||
shm_stats = None
|
|
||||||
shm_command = None
|
|
||||||
shm_rescroll = None
|
|
||||||
shm_resize = None
|
|
||||||
|
|
||||||
# console python process
|
|
||||||
proc = None
|
|
||||||
|
|
||||||
|
|
||||||
def open(self, cmd, lines, columns, python_exe='python.exe', communicator_py='conque_sole_communicator.py', options={}):
|
|
||||||
""" Launch python.exe subprocess which will in turn launch the user's program.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
cmd -- The user's command to run. E.g. "Powershell.exe" or "C:\Python27\Scripts\ipython.bat"
|
|
||||||
lines, columns -- The size of the console, also the size of the Vim buffer
|
|
||||||
python.exe -- The path to the python executable, typically C:\PythonXX\python.exe
|
|
||||||
communicator_py -- The path to the subprocess controller script in the user's vimfiles directory
|
|
||||||
options -- optional configuration
|
|
||||||
|
|
||||||
"""
|
|
||||||
self.lines = lines
|
|
||||||
self.columns = columns
|
|
||||||
self.bucket = u('')
|
|
||||||
|
|
||||||
# create a shm key
|
|
||||||
self.shm_key = 'mk' + str(time.time())
|
|
||||||
|
|
||||||
# python command
|
|
||||||
cmd_line = '%s "%s" %s %d %d %d %d %s' % (python_exe, communicator_py, self.shm_key, int(self.columns), int(self.lines), int(options['CODE_PAGE']), int(CONQUE_FAST_MODE), cmd)
|
|
||||||
|
|
||||||
|
|
||||||
# console window attributes
|
|
||||||
flags = NORMAL_PRIORITY_CLASS | DETACHED_PROCESS | CREATE_UNICODE_ENVIRONMENT
|
|
||||||
si = STARTUPINFO()
|
|
||||||
pi = PROCESS_INFORMATION()
|
|
||||||
|
|
||||||
# start the stupid process already
|
|
||||||
try:
|
|
||||||
res = ctypes.windll.kernel32.CreateProcessW(None, u(cmd_line), None, None, 0, flags, None, u('.'), ctypes.byref(si), ctypes.byref(pi))
|
|
||||||
except:
|
|
||||||
|
|
||||||
raise
|
|
||||||
|
|
||||||
# handle
|
|
||||||
self.pid = pi.dwProcessId
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# init shared memory objects
|
|
||||||
self.init_shared_memory(self.shm_key)
|
|
||||||
|
|
||||||
|
|
||||||
def read(self, start_line, num_lines, timeout=0):
|
|
||||||
""" Read a range of console lines from shared memory.
|
|
||||||
|
|
||||||
Returns a pair of lists containing the console text and console text attributes.
|
|
||||||
|
|
||||||
"""
|
|
||||||
# emulate timeout by sleeping timeout time
|
|
||||||
if timeout > 0:
|
|
||||||
read_timeout = float(timeout) / 1000
|
|
||||||
|
|
||||||
time.sleep(read_timeout)
|
|
||||||
|
|
||||||
output = []
|
|
||||||
attributes = []
|
|
||||||
|
|
||||||
# get output
|
|
||||||
for i in range(start_line, start_line + num_lines + 1):
|
|
||||||
output.append(self.shm_output.read(self.columns, i * self.columns))
|
|
||||||
if not CONQUE_FAST_MODE:
|
|
||||||
attributes.append(self.shm_attributes.read(self.columns, i * self.columns))
|
|
||||||
|
|
||||||
return (output, attributes)
|
|
||||||
|
|
||||||
|
|
||||||
def get_stats(self):
|
|
||||||
""" Return a dictionary with current console cursor and scrolling information. """
|
|
||||||
|
|
||||||
try:
|
|
||||||
rescroll = self.shm_rescroll.read()
|
|
||||||
if rescroll != '' and rescroll != None:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
self.shm_rescroll.clear()
|
|
||||||
|
|
||||||
# close down old memory
|
|
||||||
self.shm_output.close()
|
|
||||||
self.shm_output = None
|
|
||||||
|
|
||||||
if not CONQUE_FAST_MODE:
|
|
||||||
self.shm_attributes.close()
|
|
||||||
self.shm_attributes = None
|
|
||||||
|
|
||||||
# reallocate memory
|
|
||||||
|
|
||||||
self.shm_output = ConqueSoleSharedMemory(CONQUE_SOLE_BUFFER_LENGTH * self.columns * rescroll['data']['blocks'], 'output', rescroll['data']['mem_key'], True)
|
|
||||||
self.shm_output.create('read')
|
|
||||||
|
|
||||||
if not CONQUE_FAST_MODE:
|
|
||||||
self.shm_attributes = ConqueSoleSharedMemory(CONQUE_SOLE_BUFFER_LENGTH * self.columns * rescroll['data']['blocks'], 'attributes', rescroll['data']['mem_key'], True, encoding='latin-1')
|
|
||||||
self.shm_attributes.create('read')
|
|
||||||
|
|
||||||
stats_str = self.shm_stats.read()
|
|
||||||
if stats_str != '':
|
|
||||||
self.stats = stats_str
|
|
||||||
else:
|
|
||||||
return False
|
|
||||||
except:
|
|
||||||
|
|
||||||
return False
|
|
||||||
|
|
||||||
return self.stats
|
|
||||||
|
|
||||||
|
|
||||||
def is_alive(self):
|
|
||||||
""" Get process status. """
|
|
||||||
|
|
||||||
if not self.shm_stats:
|
|
||||||
return True
|
|
||||||
|
|
||||||
stats_str = self.shm_stats.read()
|
|
||||||
if stats_str:
|
|
||||||
return (stats_str['is_alive'])
|
|
||||||
else:
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
def write(self, text):
|
|
||||||
""" Write input to shared memory. """
|
|
||||||
|
|
||||||
self.bucket += text
|
|
||||||
|
|
||||||
istr = self.shm_input.read()
|
|
||||||
|
|
||||||
if istr == '':
|
|
||||||
|
|
||||||
self.shm_input.write(self.bucket[:500])
|
|
||||||
self.bucket = self.bucket[500:]
|
|
||||||
|
|
||||||
|
|
||||||
def write_vk(self, vk_code):
|
|
||||||
""" Write virtual key code to shared memory using proprietary escape sequences. """
|
|
||||||
|
|
||||||
seq = u("\x1b[") + u(str(vk_code)) + u("VK")
|
|
||||||
self.write(seq)
|
|
||||||
|
|
||||||
|
|
||||||
def idle(self):
|
|
||||||
""" Write idle command to shared memory block, so subprocess controller can hibernate. """
|
|
||||||
|
|
||||||
|
|
||||||
self.shm_command.write({'cmd': 'idle', 'data': {}})
|
|
||||||
|
|
||||||
|
|
||||||
def resume(self):
|
|
||||||
""" Write resume command to shared memory block, so subprocess controller can wake up. """
|
|
||||||
|
|
||||||
self.shm_command.write({'cmd': 'resume', 'data': {}})
|
|
||||||
|
|
||||||
|
|
||||||
def close(self):
|
|
||||||
""" Shut it all down. """
|
|
||||||
|
|
||||||
self.shm_command.write({'cmd': 'close', 'data': {}})
|
|
||||||
time.sleep(0.2)
|
|
||||||
|
|
||||||
|
|
||||||
def window_resize(self, lines, columns):
|
|
||||||
""" Resize console window. """
|
|
||||||
|
|
||||||
self.lines = lines
|
|
||||||
|
|
||||||
# we don't shrink buffer width
|
|
||||||
if columns > self.columns:
|
|
||||||
self.columns = columns
|
|
||||||
|
|
||||||
self.shm_resize.write({'cmd': 'resize', 'data': {'width': columns, 'height': lines}})
|
|
||||||
|
|
||||||
|
|
||||||
def init_shared_memory(self, mem_key):
|
|
||||||
""" Create shared memory objects. """
|
|
||||||
|
|
||||||
self.shm_input = ConqueSoleSharedMemory(CONQUE_SOLE_INPUT_SIZE, 'input', mem_key)
|
|
||||||
self.shm_input.create('write')
|
|
||||||
self.shm_input.clear()
|
|
||||||
|
|
||||||
self.shm_output = ConqueSoleSharedMemory(CONQUE_SOLE_BUFFER_LENGTH * self.columns, 'output', mem_key, True)
|
|
||||||
self.shm_output.create('write')
|
|
||||||
|
|
||||||
if not CONQUE_FAST_MODE:
|
|
||||||
self.shm_attributes = ConqueSoleSharedMemory(CONQUE_SOLE_BUFFER_LENGTH * self.columns, 'attributes', mem_key, True, encoding='latin-1')
|
|
||||||
self.shm_attributes.create('write')
|
|
||||||
|
|
||||||
self.shm_stats = ConqueSoleSharedMemory(CONQUE_SOLE_STATS_SIZE, 'stats', mem_key, serialize=True)
|
|
||||||
self.shm_stats.create('write')
|
|
||||||
self.shm_stats.clear()
|
|
||||||
|
|
||||||
self.shm_command = ConqueSoleSharedMemory(CONQUE_SOLE_COMMANDS_SIZE, 'command', mem_key, serialize=True)
|
|
||||||
self.shm_command.create('write')
|
|
||||||
self.shm_command.clear()
|
|
||||||
|
|
||||||
self.shm_resize = ConqueSoleSharedMemory(CONQUE_SOLE_RESIZE_SIZE, 'resize', mem_key, serialize=True)
|
|
||||||
self.shm_resize.create('write')
|
|
||||||
self.shm_resize.clear()
|
|
||||||
|
|
||||||
self.shm_rescroll = ConqueSoleSharedMemory(CONQUE_SOLE_RESCROLL_SIZE, 'rescroll', mem_key, serialize=True)
|
|
||||||
self.shm_rescroll.create('write')
|
|
||||||
self.shm_rescroll.clear()
|
|
||||||
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
# vim:foldmethod=marker
|
|
@ -1,198 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_subprocess.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
"""
|
|
||||||
ConqueSubprocess
|
|
||||||
|
|
||||||
Create and interact with a subprocess through a pty.
|
|
||||||
|
|
||||||
Usage:
|
|
||||||
|
|
||||||
p = ConqueSubprocess()
|
|
||||||
p.open('bash', {'TERM':'vt100'})
|
|
||||||
output = p.read()
|
|
||||||
p.write('cd ~/vim' + "\r")
|
|
||||||
p.write('ls -lha' + "\r")
|
|
||||||
output += p.read(timeout = 500)
|
|
||||||
p.close()
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
|
||||||
import signal
|
|
||||||
import pty
|
|
||||||
import tty
|
|
||||||
import select
|
|
||||||
import fcntl
|
|
||||||
import termios
|
|
||||||
import struct
|
|
||||||
import shlex
|
|
||||||
|
|
||||||
|
|
||||||
class ConqueSubprocess:
|
|
||||||
|
|
||||||
# process id
|
|
||||||
pid = 0
|
|
||||||
|
|
||||||
# stdout+stderr file descriptor
|
|
||||||
fd = None
|
|
||||||
|
|
||||||
|
|
||||||
def open(self, command, env={}):
|
|
||||||
""" Create subprocess using forkpty() """
|
|
||||||
|
|
||||||
# parse command
|
|
||||||
command_arr = shlex.split(command)
|
|
||||||
executable = command_arr[0]
|
|
||||||
args = command_arr
|
|
||||||
|
|
||||||
# try to fork a new pty
|
|
||||||
try:
|
|
||||||
self.pid, self.fd = pty.fork()
|
|
||||||
|
|
||||||
except:
|
|
||||||
|
|
||||||
return False
|
|
||||||
|
|
||||||
# child proc, replace with command after altering terminal attributes
|
|
||||||
if self.pid == 0:
|
|
||||||
|
|
||||||
# set requested environment variables
|
|
||||||
for k in env.keys():
|
|
||||||
os.environ[k] = env[k]
|
|
||||||
|
|
||||||
# set tty attributes
|
|
||||||
try:
|
|
||||||
attrs = tty.tcgetattr(1)
|
|
||||||
attrs[0] = attrs[0] ^ tty.IGNBRK
|
|
||||||
attrs[0] = attrs[0] | tty.BRKINT | tty.IXANY | tty.IMAXBEL
|
|
||||||
attrs[2] = attrs[2] | tty.HUPCL
|
|
||||||
attrs[3] = attrs[3] | tty.ICANON | tty.ECHO | tty.ISIG | tty.ECHOKE
|
|
||||||
attrs[6][tty.VMIN] = 1
|
|
||||||
attrs[6][tty.VTIME] = 0
|
|
||||||
tty.tcsetattr(1, tty.TCSANOW, attrs)
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
# replace this process with the subprocess
|
|
||||||
os.execvp(executable, args)
|
|
||||||
|
|
||||||
# else master, do nothing
|
|
||||||
else:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def read(self, timeout=1):
|
|
||||||
""" Read from subprocess and return new output """
|
|
||||||
|
|
||||||
output = ''
|
|
||||||
read_timeout = float(timeout) / 1000
|
|
||||||
read_ct = 0
|
|
||||||
|
|
||||||
try:
|
|
||||||
# read from fd until no more output
|
|
||||||
while 1:
|
|
||||||
s_read, s_write, s_error = select.select([self.fd], [], [], read_timeout)
|
|
||||||
|
|
||||||
lines = ''
|
|
||||||
for s_fd in s_read:
|
|
||||||
try:
|
|
||||||
# increase read buffer so huge reads don't slow down
|
|
||||||
if read_ct < 10:
|
|
||||||
lines = os.read(self.fd, 32)
|
|
||||||
elif read_ct < 50:
|
|
||||||
lines = os.read(self.fd, 512)
|
|
||||||
else:
|
|
||||||
lines = os.read(self.fd, 2048)
|
|
||||||
read_ct += 1
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
output = output + lines.decode('utf-8')
|
|
||||||
|
|
||||||
if lines == '' or read_ct > 100:
|
|
||||||
break
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
return output
|
|
||||||
|
|
||||||
|
|
||||||
def write(self, input):
|
|
||||||
""" Write new input to subprocess """
|
|
||||||
|
|
||||||
try:
|
|
||||||
if CONQUE_PYTHON_VERSION == 2:
|
|
||||||
os.write(self.fd, input.encode('utf-8', 'ignore'))
|
|
||||||
else:
|
|
||||||
os.write(self.fd, bytes(input, 'utf-8'))
|
|
||||||
except:
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def signal(self, signum):
|
|
||||||
""" signal process """
|
|
||||||
|
|
||||||
try:
|
|
||||||
os.kill(self.pid, signum)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def close(self):
|
|
||||||
""" close process with sigterm signal """
|
|
||||||
|
|
||||||
self.signal(15)
|
|
||||||
|
|
||||||
|
|
||||||
def is_alive(self):
|
|
||||||
""" get process status """
|
|
||||||
|
|
||||||
p_status = True
|
|
||||||
try:
|
|
||||||
if os.waitpid(self.pid, os.WNOHANG)[0]:
|
|
||||||
p_status = False
|
|
||||||
except:
|
|
||||||
p_status = False
|
|
||||||
|
|
||||||
return p_status
|
|
||||||
|
|
||||||
|
|
||||||
def window_resize(self, lines, columns):
|
|
||||||
""" update window size in kernel, then send SIGWINCH to fg process """
|
|
||||||
|
|
||||||
try:
|
|
||||||
fcntl.ioctl(self.fd, termios.TIOCSWINSZ, struct.pack("HHHH", lines, columns, 0, 0))
|
|
||||||
os.kill(self.pid, signal.SIGWINCH)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
# vim:foldmethod=marker
|
|
@ -1,448 +0,0 @@
|
|||||||
# FILE: autoload/conque_term/conque_win32_util.py
|
|
||||||
# AUTHOR: Nico Raffo <nicoraffo@gmail.com>
|
|
||||||
# WEBSITE: http://conque.googlecode.com
|
|
||||||
# MODIFIED: 2011-08-12
|
|
||||||
# VERSION: 2.2, for Vim 7.0
|
|
||||||
# LICENSE:
|
|
||||||
# Conque - Vim terminal/console emulator
|
|
||||||
# Copyright (C) 2009-__YEAR__ Nico Raffo
|
|
||||||
#
|
|
||||||
# MIT License
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
# THE SOFTWARE.
|
|
||||||
|
|
||||||
""" Python constants and structures used for ctypes interaction. """
|
|
||||||
|
|
||||||
from ctypes import *
|
|
||||||
|
|
||||||
# Constants
|
|
||||||
|
|
||||||
# create process flag constants
|
|
||||||
|
|
||||||
CREATE_BREAKAWAY_FROM_JOB = 0x01000000
|
|
||||||
CREATE_DEFAULT_ERROR_MODE = 0x04000000
|
|
||||||
CREATE_NEW_CONSOLE = 0x00000010
|
|
||||||
CREATE_NEW_PROCESS_GROUP = 0x00000200
|
|
||||||
CREATE_NO_WINDOW = 0x08000000
|
|
||||||
CREATE_PROTECTED_PROCESS = 0x00040000
|
|
||||||
CREATE_PRESERVE_CODE_AUTHZ_LEVEL = 0x02000000
|
|
||||||
CREATE_SEPARATE_WOW_VDM = 0x00000800
|
|
||||||
CREATE_SHARED_WOW_VDM = 0x00001000
|
|
||||||
CREATE_SUSPENDED = 0x00000004
|
|
||||||
CREATE_UNICODE_ENVIRONMENT = 0x00000400
|
|
||||||
DEBUG_ONLY_THIS_PROCESS = 0x00000002
|
|
||||||
DEBUG_PROCESS = 0x00000001
|
|
||||||
DETACHED_PROCESS = 0x00000008
|
|
||||||
EXTENDED_STARTUPINFO_PRESENT = 0x00080000
|
|
||||||
INHERIT_PARENT_AFFINITY = 0x00010000
|
|
||||||
|
|
||||||
|
|
||||||
# process priority constants
|
|
||||||
|
|
||||||
ABOVE_NORMAL_PRIORITY_CLASS = 0x00008000
|
|
||||||
BELOW_NORMAL_PRIORITY_CLASS = 0x00004000
|
|
||||||
HIGH_PRIORITY_CLASS = 0x00000080
|
|
||||||
IDLE_PRIORITY_CLASS = 0x00000040
|
|
||||||
NORMAL_PRIORITY_CLASS = 0x00000020
|
|
||||||
REALTIME_PRIORITY_CLASS = 0x00000100
|
|
||||||
|
|
||||||
|
|
||||||
# startup info constants
|
|
||||||
|
|
||||||
STARTF_FORCEONFEEDBACK = 0x00000040
|
|
||||||
STARTF_FORCEOFFFEEDBACK = 0x00000080
|
|
||||||
STARTF_PREVENTPINNING = 0x00002000
|
|
||||||
STARTF_RUNFULLSCREEN = 0x00000020
|
|
||||||
STARTF_TITLEISAPPID = 0x00001000
|
|
||||||
STARTF_TITLEISLINKNAME = 0x00000800
|
|
||||||
STARTF_USECOUNTCHARS = 0x00000008
|
|
||||||
STARTF_USEFILLATTRIBUTE = 0x00000010
|
|
||||||
STARTF_USEHOTKEY = 0x00000200
|
|
||||||
STARTF_USEPOSITION = 0x00000004
|
|
||||||
STARTF_USESHOWWINDOW = 0x00000001
|
|
||||||
STARTF_USESIZE = 0x00000002
|
|
||||||
STARTF_USESTDHANDLES = 0x00000100
|
|
||||||
|
|
||||||
|
|
||||||
# show window constants
|
|
||||||
|
|
||||||
SW_FORCEMINIMIZE = 11
|
|
||||||
SW_HIDE = 0
|
|
||||||
SW_MAXIMIZE = 3
|
|
||||||
SW_MINIMIZE = 6
|
|
||||||
SW_RESTORE = 9
|
|
||||||
SW_SHOW = 5
|
|
||||||
SW_SHOWDEFAULT = 10
|
|
||||||
SW_SHOWMAXIMIZED = 3
|
|
||||||
SW_SHOWMINIMIZED = 2
|
|
||||||
SW_SHOWMINNOACTIVE = 7
|
|
||||||
SW_SHOWNA = 8
|
|
||||||
SW_SHOWNOACTIVATE = 4
|
|
||||||
SW_SHOWNORMAL = 1
|
|
||||||
|
|
||||||
|
|
||||||
# input event types
|
|
||||||
|
|
||||||
FOCUS_EVENT = 0x0010
|
|
||||||
KEY_EVENT = 0x0001
|
|
||||||
MENU_EVENT = 0x0008
|
|
||||||
MOUSE_EVENT = 0x0002
|
|
||||||
WINDOW_BUFFER_SIZE_EVENT = 0x0004
|
|
||||||
|
|
||||||
|
|
||||||
# key event modifiers
|
|
||||||
|
|
||||||
CAPSLOCK_ON = 0x0080
|
|
||||||
ENHANCED_KEY = 0x0100
|
|
||||||
LEFT_ALT_PRESSED = 0x0002
|
|
||||||
LEFT_CTRL_PRESSED = 0x0008
|
|
||||||
NUMLOCK_ON = 0x0020
|
|
||||||
RIGHT_ALT_PRESSED = 0x0001
|
|
||||||
RIGHT_CTRL_PRESSED = 0x0004
|
|
||||||
SCROLLLOCK_ON = 0x0040
|
|
||||||
SHIFT_PRESSED = 0x0010
|
|
||||||
|
|
||||||
|
|
||||||
# process access
|
|
||||||
|
|
||||||
PROCESS_CREATE_PROCESS = 0x0080
|
|
||||||
PROCESS_CREATE_THREAD = 0x0002
|
|
||||||
PROCESS_DUP_HANDLE = 0x0040
|
|
||||||
PROCESS_QUERY_INFORMATION = 0x0400
|
|
||||||
PROCESS_QUERY_LIMITED_INFORMATION = 0x1000
|
|
||||||
PROCESS_SET_INFORMATION = 0x0200
|
|
||||||
PROCESS_SET_QUOTA = 0x0100
|
|
||||||
PROCESS_SUSPEND_RESUME = 0x0800
|
|
||||||
PROCESS_TERMINATE = 0x0001
|
|
||||||
PROCESS_VM_OPERATION = 0x0008
|
|
||||||
PROCESS_VM_READ = 0x0010
|
|
||||||
PROCESS_VM_WRITE = 0x0020
|
|
||||||
|
|
||||||
|
|
||||||
# input / output handles
|
|
||||||
|
|
||||||
STD_INPUT_HANDLE = c_ulong(-10)
|
|
||||||
STD_OUTPUT_HANDLE = c_ulong(-11)
|
|
||||||
STD_ERROR_HANDLE = c_ulong(-12)
|
|
||||||
|
|
||||||
|
|
||||||
CONQUE_WINDOWS_VK = {
|
|
||||||
'VK_LBUTTON': 0x0001,
|
|
||||||
'VK_RBUTTON': 0x0002,
|
|
||||||
'VK_CANCEL': 0x0003,
|
|
||||||
'VK_BACK': 0x0008,
|
|
||||||
'VK_TAB': 0x0009,
|
|
||||||
'VK_CLEAR': 0x000C,
|
|
||||||
'VK_RETURN': 0x0D,
|
|
||||||
'VK_SHIFT': 0x10,
|
|
||||||
'VK_CONTROL': 0x11,
|
|
||||||
'VK_MENU': 0x12,
|
|
||||||
'VK_PAUSE': 0x0013,
|
|
||||||
'VK_CAPITAL': 0x0014,
|
|
||||||
'VK_ESCAPE': 0x001B,
|
|
||||||
'VK_SPACE': 0x0020,
|
|
||||||
'VK_PRIOR': 0x0021,
|
|
||||||
'VK_NEXT': 0x0022,
|
|
||||||
'VK_END': 0x0023,
|
|
||||||
'VK_HOME': 0x0024,
|
|
||||||
'VK_LEFT': 0x0025,
|
|
||||||
'VK_UP': 0x0026,
|
|
||||||
'VK_RIGHT': 0x0027,
|
|
||||||
'VK_DOWN': 0x0028,
|
|
||||||
'VK_SELECT': 0x0029,
|
|
||||||
'VK_PRINT': 0x002A,
|
|
||||||
'VK_EXECUTE': 0x002B,
|
|
||||||
'VK_SNAPSHOT': 0x002C,
|
|
||||||
'VK_INSERT': 0x002D,
|
|
||||||
'VK_DELETE': 0x002E,
|
|
||||||
'VK_HELP': 0x002F,
|
|
||||||
'VK_0': 0x0030,
|
|
||||||
'VK_1': 0x0031,
|
|
||||||
'VK_2': 0x0032,
|
|
||||||
'VK_3': 0x0033,
|
|
||||||
'VK_4': 0x0034,
|
|
||||||
'VK_5': 0x0035,
|
|
||||||
'VK_6': 0x0036,
|
|
||||||
'VK_7': 0x0037,
|
|
||||||
'VK_8': 0x0038,
|
|
||||||
'VK_9': 0x0039,
|
|
||||||
'VK_A': 0x0041,
|
|
||||||
'VK_B': 0x0042,
|
|
||||||
'VK_C': 0x0043,
|
|
||||||
'VK_D': 0x0044,
|
|
||||||
'VK_E': 0x0045,
|
|
||||||
'VK_F': 0x0046,
|
|
||||||
'VK_G': 0x0047,
|
|
||||||
'VK_H': 0x0048,
|
|
||||||
'VK_I': 0x0049,
|
|
||||||
'VK_J': 0x004A,
|
|
||||||
'VK_K': 0x004B,
|
|
||||||
'VK_L': 0x004C,
|
|
||||||
'VK_M': 0x004D,
|
|
||||||
'VK_N': 0x004E,
|
|
||||||
'VK_O': 0x004F,
|
|
||||||
'VK_P': 0x0050,
|
|
||||||
'VK_Q': 0x0051,
|
|
||||||
'VK_R': 0x0052,
|
|
||||||
'VK_S': 0x0053,
|
|
||||||
'VK_T': 0x0054,
|
|
||||||
'VK_U': 0x0055,
|
|
||||||
'VK_V': 0x0056,
|
|
||||||
'VK_W': 0x0057,
|
|
||||||
'VK_X': 0x0058,
|
|
||||||
'VK_Y': 0x0059,
|
|
||||||
'VK_Z': 0x005A,
|
|
||||||
'VK_LWIN': 0x005B,
|
|
||||||
'VK_RWIN': 0x005C,
|
|
||||||
'VK_APPS': 0x005D,
|
|
||||||
'VK_SLEEP': 0x005F,
|
|
||||||
'VK_NUMPAD0': 0x0060,
|
|
||||||
'VK_NUMPAD1': 0x0061,
|
|
||||||
'VK_NUMPAD2': 0x0062,
|
|
||||||
'VK_NUMPAD3': 0x0063,
|
|
||||||
'VK_NUMPAD4': 0x0064,
|
|
||||||
'VK_NUMPAD5': 0x0065,
|
|
||||||
'VK_NUMPAD6': 0x0066,
|
|
||||||
'VK_NUMPAD7': 0x0067,
|
|
||||||
'VK_NUMPAD8': 0x0068,
|
|
||||||
'VK_MULTIPLY': 0x006A,
|
|
||||||
'VK_ADD': 0x006B,
|
|
||||||
'VK_SEPARATOR': 0x006C,
|
|
||||||
'VK_SUBTRACT': 0x006D,
|
|
||||||
'VK_DECIMAL': 0x006E,
|
|
||||||
'VK_DIVIDE': 0x006F,
|
|
||||||
'VK_F1': 0x0070,
|
|
||||||
'VK_F2': 0x0071,
|
|
||||||
'VK_F3': 0x0072,
|
|
||||||
'VK_F4': 0x0073,
|
|
||||||
'VK_F5': 0x0074,
|
|
||||||
'VK_F6': 0x0075,
|
|
||||||
'VK_F7': 0x0076,
|
|
||||||
'VK_F8': 0x0077,
|
|
||||||
'VK_F9': 0x0078,
|
|
||||||
'VK_F10': 0x0079,
|
|
||||||
'VK_F11': 0x007A,
|
|
||||||
'VK_F12': 0x007B,
|
|
||||||
'VK_F13': 0x007C,
|
|
||||||
'VK_F14': 0x007D,
|
|
||||||
'VK_F15': 0x007E,
|
|
||||||
'VK_F16': 0x007F,
|
|
||||||
'VK_F17': 0x0080,
|
|
||||||
'VK_F18': 0x0081,
|
|
||||||
'VK_F19': 0x0082,
|
|
||||||
'VK_F20': 0x0083,
|
|
||||||
'VK_F21': 0x0084,
|
|
||||||
'VK_F22': 0x0085,
|
|
||||||
'VK_F23': 0x0086,
|
|
||||||
'VK_F24': 0x0087,
|
|
||||||
'VK_NUMLOCK': 0x0090,
|
|
||||||
'VK_SCROLL': 0x0091,
|
|
||||||
'VK_LSHIFT': 0x00A0,
|
|
||||||
'VK_RSHIFT': 0x00A1,
|
|
||||||
'VK_LCONTROL': 0x00A2,
|
|
||||||
'VK_RCONTROL': 0x00A3,
|
|
||||||
'VK_LMENU': 0x00A4,
|
|
||||||
'VK_RMENU': 0x00A5
|
|
||||||
}
|
|
||||||
|
|
||||||
CONQUE_WINDOWS_VK_INV = dict([v, k] for k, v in CONQUE_WINDOWS_VK.items())
|
|
||||||
|
|
||||||
CONQUE_WINDOWS_VK_ENHANCED = {
|
|
||||||
str(int(CONQUE_WINDOWS_VK['VK_UP'])): 1,
|
|
||||||
str(int(CONQUE_WINDOWS_VK['VK_DOWN'])): 1,
|
|
||||||
str(int(CONQUE_WINDOWS_VK['VK_LEFT'])): 1,
|
|
||||||
str(int(CONQUE_WINDOWS_VK['VK_RIGHT'])): 1,
|
|
||||||
str(int(CONQUE_WINDOWS_VK['VK_HOME'])): 1,
|
|
||||||
str(int(CONQUE_WINDOWS_VK['VK_END'])): 1
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# structures used for CreateProcess
|
|
||||||
|
|
||||||
# Odd types
|
|
||||||
|
|
||||||
LPBYTE = POINTER(c_ubyte)
|
|
||||||
LPTSTR = POINTER(c_char)
|
|
||||||
|
|
||||||
|
|
||||||
class STARTUPINFO(Structure):
|
|
||||||
_fields_ = [("cb", c_ulong),
|
|
||||||
("lpReserved", LPTSTR),
|
|
||||||
("lpDesktop", LPTSTR),
|
|
||||||
("lpTitle", LPTSTR),
|
|
||||||
("dwX", c_ulong),
|
|
||||||
("dwY", c_ulong),
|
|
||||||
("dwXSize", c_ulong),
|
|
||||||
("dwYSize", c_ulong),
|
|
||||||
("dwXCountChars", c_ulong),
|
|
||||||
("dwYCountChars", c_ulong),
|
|
||||||
("dwFillAttribute", c_ulong),
|
|
||||||
("dwFlags", c_ulong),
|
|
||||||
("wShowWindow", c_short),
|
|
||||||
("cbReserved2", c_short),
|
|
||||||
("lpReserved2", LPBYTE),
|
|
||||||
("hStdInput", c_void_p),
|
|
||||||
("hStdOutput", c_void_p),
|
|
||||||
("hStdError", c_void_p),]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class PROCESS_INFORMATION(Structure):
|
|
||||||
_fields_ = [("hProcess", c_void_p),
|
|
||||||
("hThread", c_void_p),
|
|
||||||
("dwProcessId", c_ulong),
|
|
||||||
("dwThreadId", c_ulong),]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class MEMORY_BASIC_INFORMATION(Structure):
|
|
||||||
_fields_ = [("BaseAddress", c_void_p),
|
|
||||||
("AllocationBase", c_void_p),
|
|
||||||
("AllocationProtect", c_ulong),
|
|
||||||
("RegionSize", c_ulong),
|
|
||||||
("State", c_ulong),
|
|
||||||
("Protect", c_ulong),
|
|
||||||
("Type", c_ulong),]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class SECURITY_ATTRIBUTES(Structure):
|
|
||||||
_fields_ = [("Length", c_ulong),
|
|
||||||
("SecDescriptor", c_void_p),
|
|
||||||
("InheritHandle", c_bool)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class COORD(Structure):
|
|
||||||
_fields_ = [("X", c_short),
|
|
||||||
("Y", c_short)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class SMALL_RECT(Structure):
|
|
||||||
_fields_ = [("Left", c_short),
|
|
||||||
("Top", c_short),
|
|
||||||
("Right", c_short),
|
|
||||||
("Bottom", c_short)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class CONSOLE_SCREEN_BUFFER_INFO(Structure):
|
|
||||||
_fields_ = [("dwSize", COORD),
|
|
||||||
("dwCursorPosition", COORD),
|
|
||||||
("wAttributes", c_short),
|
|
||||||
("srWindow", SMALL_RECT),
|
|
||||||
("dwMaximumWindowSize", COORD)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class CHAR_UNION(Union):
|
|
||||||
_fields_ = [("UnicodeChar", c_wchar),
|
|
||||||
("AsciiChar", c_char)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class CHAR_INFO(Structure):
|
|
||||||
_fields_ = [("Char", CHAR_UNION),
|
|
||||||
("Attributes", c_short)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class KEY_EVENT_RECORD(Structure):
|
|
||||||
_fields_ = [("bKeyDown", c_byte),
|
|
||||||
("pad2", c_byte),
|
|
||||||
('pad1', c_short),
|
|
||||||
("wRepeatCount", c_short),
|
|
||||||
("wVirtualKeyCode", c_short),
|
|
||||||
("wVirtualScanCode", c_short),
|
|
||||||
("uChar", CHAR_UNION),
|
|
||||||
("dwControlKeyState", c_int)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class MOUSE_EVENT_RECORD(Structure):
|
|
||||||
_fields_ = [("dwMousePosition", COORD),
|
|
||||||
("dwButtonState", c_int),
|
|
||||||
("dwControlKeyState", c_int),
|
|
||||||
("dwEventFlags", c_int)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class WINDOW_BUFFER_SIZE_RECORD(Structure):
|
|
||||||
_fields_ = [("dwSize", COORD)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class MENU_EVENT_RECORD(Structure):
|
|
||||||
_fields_ = [("dwCommandId", c_uint)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class FOCUS_EVENT_RECORD(Structure):
|
|
||||||
_fields_ = [("bSetFocus", c_byte)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class INPUT_UNION(Union):
|
|
||||||
_fields_ = [("KeyEvent", KEY_EVENT_RECORD),
|
|
||||||
("MouseEvent", MOUSE_EVENT_RECORD),
|
|
||||||
("WindowBufferSizeEvent", WINDOW_BUFFER_SIZE_RECORD),
|
|
||||||
("MenuEvent", MENU_EVENT_RECORD),
|
|
||||||
("FocusEvent", FOCUS_EVENT_RECORD)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
class INPUT_RECORD(Structure):
|
|
||||||
_fields_ = [("EventType", c_short),
|
|
||||||
("Event", INPUT_UNION)]
|
|
||||||
|
|
||||||
def to_str(self):
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
|||||||
" Copyright 2011 The Go Authors. All rights reserved.
|
|
||||||
" Use of this source code is governed by a BSD-style
|
|
||||||
" license that can be found in the LICENSE file.
|
|
||||||
"
|
|
||||||
" This file provides a utility function that performs auto-completion of
|
|
||||||
" package names, for use by other commands.
|
|
||||||
|
|
||||||
let s:goos = $GOOS
|
|
||||||
let s:goarch = $GOARCH
|
|
||||||
|
|
||||||
if len(s:goos) == 0
|
|
||||||
if exists('g:golang_goos')
|
|
||||||
let s:goos = g:golang_goos
|
|
||||||
elseif has('win32') || has('win64')
|
|
||||||
let s:goos = 'windows'
|
|
||||||
elseif has('macunix')
|
|
||||||
let s:goos = 'darwin'
|
|
||||||
else
|
|
||||||
let s:goos = '*'
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if len(s:goarch) == 0
|
|
||||||
if exists('g:golang_goarch')
|
|
||||||
let s:goarch = g:golang_goarch
|
|
||||||
else
|
|
||||||
let s:goarch = '*'
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
function! go#complete#Package(ArgLead, CmdLine, CursorPos)
|
|
||||||
let goroot = $GOROOT
|
|
||||||
if len(goroot) == 0
|
|
||||||
" should not occur.
|
|
||||||
return []
|
|
||||||
endif
|
|
||||||
let ret = {}
|
|
||||||
let root = expand(goroot.'/pkg/'.s:goos.'_'.s:goarch)
|
|
||||||
for i in split(globpath(root, a:ArgLead.'*'), "\n")
|
|
||||||
if isdirectory(i)
|
|
||||||
let i .= '/'
|
|
||||||
elseif i !~ '\.a$'
|
|
||||||
continue
|
|
||||||
endif
|
|
||||||
let i = substitute(substitute(i[len(root)+1:], '[\\]', '/', 'g'), '\.a$', '', 'g')
|
|
||||||
let ret[i] = i
|
|
||||||
endfor
|
|
||||||
return sort(keys(ret))
|
|
||||||
endfunction
|
|
@ -1,73 +0,0 @@
|
|||||||
if exists('g:loaded_gocode')
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
let g:loaded_gocode = 1
|
|
||||||
|
|
||||||
fu! s:gocodeCurrentBuffer()
|
|
||||||
let buf = getline(1, '$')
|
|
||||||
if &l:fileformat == 'dos'
|
|
||||||
" XXX: line2byte() depend on 'fileformat' option.
|
|
||||||
" so if fileformat is 'dos', 'buf' must include '\r'.
|
|
||||||
let buf = map(buf, 'v:val."\r"')
|
|
||||||
endif
|
|
||||||
let file = tempname()
|
|
||||||
call writefile(buf, file)
|
|
||||||
return file
|
|
||||||
endf
|
|
||||||
|
|
||||||
fu! s:system(str, ...)
|
|
||||||
return (a:0 == 0 ? system(a:str) : system(a:str, join(a:000)))
|
|
||||||
endf
|
|
||||||
|
|
||||||
fu! s:gocodeShellescape(arg)
|
|
||||||
try
|
|
||||||
let ssl_save = &shellslash
|
|
||||||
set noshellslash
|
|
||||||
return shellescape(a:arg)
|
|
||||||
finally
|
|
||||||
let &shellslash = ssl_save
|
|
||||||
endtry
|
|
||||||
endf
|
|
||||||
|
|
||||||
fu! s:gocodeCommand(cmd, preargs, args)
|
|
||||||
for i in range(0, len(a:args) - 1)
|
|
||||||
let a:args[i] = s:gocodeShellescape(a:args[i])
|
|
||||||
endfor
|
|
||||||
for i in range(0, len(a:preargs) - 1)
|
|
||||||
let a:preargs[i] = s:gocodeShellescape(a:preargs[i])
|
|
||||||
endfor
|
|
||||||
let result = s:system(printf('gocode %s %s %s', join(a:preargs), a:cmd, join(a:args)))
|
|
||||||
if v:shell_error != 0
|
|
||||||
return "[\"0\", []]"
|
|
||||||
else
|
|
||||||
return result
|
|
||||||
endif
|
|
||||||
endf
|
|
||||||
|
|
||||||
fu! s:gocodeCurrentBufferOpt(filename)
|
|
||||||
return '-in=' . a:filename
|
|
||||||
endf
|
|
||||||
|
|
||||||
fu! s:gocodeCursor()
|
|
||||||
return printf('%d', line2byte(line('.')) + (col('.')-2))
|
|
||||||
endf
|
|
||||||
|
|
||||||
fu! s:gocodeAutocomplete()
|
|
||||||
let filename = s:gocodeCurrentBuffer()
|
|
||||||
let result = s:gocodeCommand('autocomplete',
|
|
||||||
\ [s:gocodeCurrentBufferOpt(filename), '-f=vim'],
|
|
||||||
\ [expand('%:p'), s:gocodeCursor()])
|
|
||||||
call delete(filename)
|
|
||||||
return result
|
|
||||||
endf
|
|
||||||
|
|
||||||
fu! gocomplete#Complete(findstart, base)
|
|
||||||
"findstart = 1 when we need to get the text length
|
|
||||||
if a:findstart == 1
|
|
||||||
execute "silent let g:gocomplete_completions = " . s:gocodeAutocomplete()
|
|
||||||
return col('.') - g:gocomplete_completions[0] - 1
|
|
||||||
"findstart = 0 when we need to return the list of completions
|
|
||||||
else
|
|
||||||
return g:gocomplete_completions[1]
|
|
||||||
endif
|
|
||||||
endf
|
|
File diff suppressed because it is too large
Load Diff
@ -1,655 +0,0 @@
|
|||||||
" Vim completion script
|
|
||||||
" Language: Ruby
|
|
||||||
" Maintainer: Mark Guzman <segfault@hasno.info>
|
|
||||||
" Info: $Id: rubycomplete.vim,v 1.37 2006/09/19 04:10:32 segy Exp $
|
|
||||||
" URL: http://vim-ruby.rubyforge.org
|
|
||||||
" Anon CVS: See above site
|
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
|
||||||
" Maintainer Version: 0.7
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
"
|
|
||||||
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
" {{{ requirement checks
|
|
||||||
if !has('ruby')
|
|
||||||
s:ErrMsg( "Error: Required vim compiled with +ruby" )
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
if version < 700
|
|
||||||
s:ErrMsg( "Error: Required vim >= 7.0" )
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
" }}} requirement checks
|
|
||||||
|
|
||||||
if !exists("g:rubycomplete_rails")
|
|
||||||
let g:rubycomplete_rails = 0
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !exists("g:rubycomplete_classes_in_global")
|
|
||||||
let g:rubycomplete_classes_in_global = 0
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !exists("g:rubycomplete_buffer_loading")
|
|
||||||
let g:rubycomplete_classes_in_global = 0
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !exists("g:rubycomplete_rails_proactive")
|
|
||||||
let g:rubycomplete_rails_proactive = 0
|
|
||||||
endif
|
|
||||||
|
|
||||||
" {{{ vim-side support functions
|
|
||||||
function! s:ErrMsg(msg)
|
|
||||||
echohl ErrorMsg
|
|
||||||
echo a:msg
|
|
||||||
echohl None
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:GetBufferRubyModule(name)
|
|
||||||
let [snum,enum] = s:GetBufferRubyEntity(a:name, "module")
|
|
||||||
return snum . '..' . enum
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:GetBufferRubyClass(name)
|
|
||||||
let [snum,enum] = s:GetBufferRubyEntity(a:name, "class")
|
|
||||||
return snum . '..' . enum
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:GetBufferRubySingletonMethods(name)
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:GetBufferRubyEntity( name, type )
|
|
||||||
let stopline = 1
|
|
||||||
let crex = '^\s*' . a:type . '\s*' . a:name . '\s*\(<\s*.*\s*\)\?\n*\(\(\s\|#\).*\n*\)*\n*\s*end$'
|
|
||||||
let [lnum,lcol] = searchpos( crex, 'nbw')
|
|
||||||
if lnum == 0 && lcol == 0
|
|
||||||
return [0,0]
|
|
||||||
endif
|
|
||||||
|
|
||||||
let [enum,ecol] = searchpos( crex, 'nebw')
|
|
||||||
if lnum > enum
|
|
||||||
let realdef = getline( lnum )
|
|
||||||
let crexb = '^' . realdef . '\n*\(\(\s\|#\).*\n*\)*\n*\s*end$'
|
|
||||||
let [enum,ecol] = searchpos( crexb, 'necw' )
|
|
||||||
endif
|
|
||||||
" we found a the class def
|
|
||||||
return [lnum,enum]
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:IsInClassDef()
|
|
||||||
return s:IsPosInClassDef( line('.') )
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:IsPosInClassDef(pos)
|
|
||||||
let [snum,enum] = s:GetBufferRubyEntity( '.*', "class" )
|
|
||||||
let ret = 'nil'
|
|
||||||
|
|
||||||
if snum < a:pos && a:pos < enum
|
|
||||||
let ret = snum . '..' . enum
|
|
||||||
endif
|
|
||||||
|
|
||||||
return ret
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:GetRubyVarType(v)
|
|
||||||
let stopline = 1
|
|
||||||
let vtp = ''
|
|
||||||
let pos = getpos('.')
|
|
||||||
let sstr = '^\s*#\s*@var\s*'.a:v.'\>\s\+[^ \t]\+\s*$'
|
|
||||||
let [lnum,lcol] = searchpos(sstr,'nb',stopline)
|
|
||||||
if lnum != 0 && lcol != 0
|
|
||||||
call setpos('.',pos)
|
|
||||||
let str = getline(lnum)
|
|
||||||
let vtp = substitute(str,sstr,'\1','')
|
|
||||||
return vtp
|
|
||||||
endif
|
|
||||||
call setpos('.',pos)
|
|
||||||
let ctors = '\(now\|new\|open\|get_instance'
|
|
||||||
if exists('g:rubycomplete_rails') && g:rubycomplete_rails == 1 && s:rubycomplete_rails_loaded == 1
|
|
||||||
let ctors = ctors.'\|find\|create'
|
|
||||||
else
|
|
||||||
endif
|
|
||||||
let ctors = ctors.'\)'
|
|
||||||
|
|
||||||
let fstr = '=\s*\([^ \t]\+.' . ctors .'\>\|[\[{"''/]\|%r{\|[A-Za-z0-9@:\-()\.]\+...\?\)'
|
|
||||||
let sstr = ''.a:v.'\>\s*[+\-*/]*'.fstr
|
|
||||||
let [lnum,lcol] = searchpos(sstr,'nb',stopline)
|
|
||||||
if lnum != 0 && lcol != 0
|
|
||||||
let str = matchstr(getline(lnum),fstr,lcol)
|
|
||||||
let str = substitute(str,'^=\s*','','')
|
|
||||||
call setpos('.',pos)
|
|
||||||
if str == '"' || str == ''''
|
|
||||||
return 'String'
|
|
||||||
elseif str == '['
|
|
||||||
return 'Array'
|
|
||||||
elseif str == '{'
|
|
||||||
return 'Hash'
|
|
||||||
elseif str == '/' || str == '%r{'
|
|
||||||
return 'Regexp'
|
|
||||||
elseif strlen(str) >= 4 && stridx(str,'..') != -1
|
|
||||||
return 'Range'
|
|
||||||
elseif strlen(str) > 4
|
|
||||||
let l = stridx(str,'.')
|
|
||||||
return str[0:l-1]
|
|
||||||
end
|
|
||||||
return ''
|
|
||||||
endif
|
|
||||||
call setpos('.',pos)
|
|
||||||
return ''
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
"}}} vim-side support functions
|
|
||||||
|
|
||||||
function! rubycomplete#Complete(findstart, base)
|
|
||||||
"findstart = 1 when we need to get the text length
|
|
||||||
if a:findstart
|
|
||||||
let line = getline('.')
|
|
||||||
let idx = col('.')
|
|
||||||
while idx > 0
|
|
||||||
let idx -= 1
|
|
||||||
let c = line[idx-1]
|
|
||||||
if c =~ '\w'
|
|
||||||
continue
|
|
||||||
elseif ! c =~ '\.'
|
|
||||||
idx = -1
|
|
||||||
break
|
|
||||||
else
|
|
||||||
break
|
|
||||||
endif
|
|
||||||
endwhile
|
|
||||||
|
|
||||||
return idx
|
|
||||||
"findstart = 0 when we need to return the list of completions
|
|
||||||
else
|
|
||||||
let g:rubycomplete_completions = []
|
|
||||||
execute "ruby VimRubyCompletion.get_completions('" . a:base . "')"
|
|
||||||
return g:rubycomplete_completions
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
|
|
||||||
function! s:DefRuby()
|
|
||||||
ruby << RUBYEOF
|
|
||||||
# {{{ ruby completion
|
|
||||||
|
|
||||||
begin
|
|
||||||
require 'rubygems'
|
|
||||||
rescue Exception
|
|
||||||
#ignore?
|
|
||||||
end
|
|
||||||
class VimRubyCompletion
|
|
||||||
# {{{ constants
|
|
||||||
@@debug = false
|
|
||||||
@@ReservedWords = [
|
|
||||||
"BEGIN", "END",
|
|
||||||
"alias", "and",
|
|
||||||
"begin", "break",
|
|
||||||
"case", "class",
|
|
||||||
"def", "defined", "do",
|
|
||||||
"else", "elsif", "end", "ensure",
|
|
||||||
"false", "for",
|
|
||||||
"if", "in",
|
|
||||||
"module",
|
|
||||||
"next", "nil", "not",
|
|
||||||
"or",
|
|
||||||
"redo", "rescue", "retry", "return",
|
|
||||||
"self", "super",
|
|
||||||
"then", "true",
|
|
||||||
"undef", "unless", "until",
|
|
||||||
"when", "while",
|
|
||||||
"yield",
|
|
||||||
]
|
|
||||||
|
|
||||||
@@Operators = [ "%", "&", "*", "**", "+", "-", "/",
|
|
||||||
"<", "<<", "<=", "<=>", "==", "===", "=~", ">", ">=", ">>",
|
|
||||||
"[]", "[]=", "^", ]
|
|
||||||
#}}} constants
|
|
||||||
|
|
||||||
|
|
||||||
def load_requires
|
|
||||||
buf = VIM::Buffer.current
|
|
||||||
enum = buf.line_number
|
|
||||||
nums = Range.new( 1, enum )
|
|
||||||
nums.each do |x|
|
|
||||||
ln = buf[x]
|
|
||||||
begin
|
|
||||||
eval( "require %s" % $1 ) if /.*require\s*(.*)$/.match( ln )
|
|
||||||
rescue Exception
|
|
||||||
#ignore?
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def load_buffer_class(name)
|
|
||||||
classdef = get_buffer_entity(name, 's:GetBufferRubyClass("%s")')
|
|
||||||
return if classdef == nil
|
|
||||||
|
|
||||||
pare = /^\s*class\s*(.*)\s*<\s*(.*)\s*\n/.match( classdef )
|
|
||||||
load_buffer_class( $2 ) if pare != nil
|
|
||||||
|
|
||||||
mixre = /.*\n\s*include\s*(.*)\s*\n/.match( classdef )
|
|
||||||
load_buffer_module( $2 ) if mixre != nil
|
|
||||||
|
|
||||||
begin
|
|
||||||
eval classdef
|
|
||||||
rescue Exception
|
|
||||||
VIM::evaluate( "s:ErrMsg( 'Problem loading class \"%s\", was it already completed?' )" % name )
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def load_buffer_module(name)
|
|
||||||
classdef = get_buffer_entity(name, 's:GetBufferRubyModule("%s")')
|
|
||||||
return if classdef == nil
|
|
||||||
|
|
||||||
begin
|
|
||||||
eval classdef
|
|
||||||
rescue Exception
|
|
||||||
VIM::evaluate( "s:ErrMsg( 'Problem loading module \"%s\", was it already completed?' )" % name )
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_buffer_entity(name, vimfun)
|
|
||||||
loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
|
|
||||||
return nil if loading_allowed != '1'
|
|
||||||
return nil if /(\"|\')+/.match( name )
|
|
||||||
buf = VIM::Buffer.current
|
|
||||||
nums = eval( VIM::evaluate( vimfun % name ) )
|
|
||||||
return nil if nums == nil
|
|
||||||
return nil if nums.min == nums.max && nums.min == 0
|
|
||||||
|
|
||||||
cur_line = VIM::Buffer.current.line_number
|
|
||||||
classdef = ""
|
|
||||||
nums.each do |x|
|
|
||||||
if x != cur_line
|
|
||||||
ln = buf[x]
|
|
||||||
if /^\s*(module|class|def|include)\s+/.match(ln)
|
|
||||||
classdef += "%s\n" % ln
|
|
||||||
classdef += "end\n" if /def\s+/.match(ln)
|
|
||||||
dprint ln
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
classdef += "end\n" if classdef.length > 1
|
|
||||||
|
|
||||||
return classdef
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_var_type( receiver )
|
|
||||||
if /(\"|\')+/.match( receiver )
|
|
||||||
"String"
|
|
||||||
else
|
|
||||||
VIM::evaluate("s:GetRubyVarType('%s')" % receiver)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def dprint( txt )
|
|
||||||
print txt if @@debug
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_buffer_entity_list( type )
|
|
||||||
# this will be a little expensive.
|
|
||||||
loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
|
|
||||||
allow_aggressive_load = VIM::evaluate("exists('g:rubycomplete_classes_in_global') && g:rubycomplete_classes_in_global")
|
|
||||||
return [] if allow_aggressive_load != '1' || loading_allowed != '1'
|
|
||||||
|
|
||||||
buf = VIM::Buffer.current
|
|
||||||
eob = buf.length
|
|
||||||
ret = []
|
|
||||||
rg = 1..eob
|
|
||||||
re = eval( "/^\s*%s\s*([A-Za-z0-9_-]*)(\s*<\s*([A-Za-z0-9_:-]*))?\s*/" % type )
|
|
||||||
|
|
||||||
rg.each do |x|
|
|
||||||
if re.match( buf[x] )
|
|
||||||
next if type == "def" && eval( VIM::evaluate("s:IsPosInClassDef(%s)" % x) ) != nil
|
|
||||||
ret.push $1
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
return ret
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_buffer_modules
|
|
||||||
return get_buffer_entity_list( "modules" )
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_buffer_methods
|
|
||||||
return get_buffer_entity_list( "def" )
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_buffer_classes
|
|
||||||
return get_buffer_entity_list( "class" )
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
def load_rails
|
|
||||||
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
|
||||||
return if allow_rails != '1'
|
|
||||||
|
|
||||||
buf_path = VIM::evaluate('expand("%:p")')
|
|
||||||
file_name = VIM::evaluate('expand("%:t")')
|
|
||||||
vim_dir = VIM::evaluate('getcwd()')
|
|
||||||
file_dir = buf_path.gsub( file_name, '' )
|
|
||||||
file_dir.gsub!( /\\/, "/" )
|
|
||||||
vim_dir.gsub!( /\\/, "/" )
|
|
||||||
vim_dir << "/"
|
|
||||||
dirs = [ vim_dir, file_dir ]
|
|
||||||
sdirs = [ "", "./", "../", "../../", "../../../", "../../../../" ]
|
|
||||||
rails_base = nil
|
|
||||||
|
|
||||||
dirs.each do |dir|
|
|
||||||
sdirs.each do |sub|
|
|
||||||
trail = "%s%s" % [ dir, sub ]
|
|
||||||
tcfg = "%sconfig" % trail
|
|
||||||
|
|
||||||
if File.exists?( tcfg )
|
|
||||||
rails_base = trail
|
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
|
||||||
break if rails_base
|
|
||||||
end
|
|
||||||
|
|
||||||
return if rails_base == nil
|
|
||||||
$:.push rails_base unless $:.index( rails_base )
|
|
||||||
|
|
||||||
rails_config = rails_base + "config/"
|
|
||||||
rails_lib = rails_base + "lib/"
|
|
||||||
$:.push rails_config unless $:.index( rails_config )
|
|
||||||
$:.push rails_lib unless $:.index( rails_lib )
|
|
||||||
|
|
||||||
bootfile = rails_config + "boot.rb"
|
|
||||||
envfile = rails_config + "environment.rb"
|
|
||||||
if File.exists?( bootfile ) && File.exists?( envfile )
|
|
||||||
begin
|
|
||||||
require bootfile
|
|
||||||
require envfile
|
|
||||||
begin
|
|
||||||
require 'console_app'
|
|
||||||
require 'console_with_helpers'
|
|
||||||
rescue Exception
|
|
||||||
dprint "Rails 1.1+ Error %s" % $!
|
|
||||||
# assume 1.0
|
|
||||||
end
|
|
||||||
eval( "Rails::Initializer.run" )
|
|
||||||
VIM::command('let s:rubycomplete_rails_loaded = 1')
|
|
||||||
rescue Exception
|
|
||||||
dprint "Rails Error %s" % $!
|
|
||||||
VIM::evaluate( "s:ErrMsg('Error loading rails environment')" )
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_rails_helpers
|
|
||||||
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
|
||||||
rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
|
|
||||||
return [] if allow_rails != '1' || rails_loaded != '1'
|
|
||||||
|
|
||||||
buf_path = VIM::evaluate('expand("%:p")')
|
|
||||||
buf_path.gsub!( /\\/, "/" )
|
|
||||||
path_elm = buf_path.split( "/" )
|
|
||||||
i = path_elm.index( "app" )
|
|
||||||
|
|
||||||
return [] unless i
|
|
||||||
i += 1
|
|
||||||
type = path_elm[i]
|
|
||||||
type.downcase!
|
|
||||||
|
|
||||||
ret = []
|
|
||||||
case type
|
|
||||||
when "views"
|
|
||||||
ret += ActionView::Base.instance_methods
|
|
||||||
ret += ActionView::Base.methods
|
|
||||||
when "controllers"
|
|
||||||
ret += ActionController::Base.instance_methods
|
|
||||||
ret += ActionController::Base.methods
|
|
||||||
when "models"
|
|
||||||
ret += ActiveRecord::Base.instance_methods
|
|
||||||
ret += ActiveRecord::Base.methods
|
|
||||||
end
|
|
||||||
|
|
||||||
return ret
|
|
||||||
end
|
|
||||||
|
|
||||||
def add_rails_columns( cls )
|
|
||||||
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
|
||||||
rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
|
|
||||||
return [] if allow_rails != '1' || rails_loaded != '1'
|
|
||||||
begin
|
|
||||||
eval( "#{cls}.establish_connection" )
|
|
||||||
return [] unless eval( "#{cls}.ancestors.include?(ActiveRecord::Base).to_s" )
|
|
||||||
col = eval( "#{cls}.column_names" )
|
|
||||||
return col if col
|
|
||||||
rescue
|
|
||||||
return []
|
|
||||||
end
|
|
||||||
return []
|
|
||||||
end
|
|
||||||
|
|
||||||
def clean_sel(sel, msg)
|
|
||||||
sel.delete_if { |x| x == nil }
|
|
||||||
sel.uniq!
|
|
||||||
sel.grep(/^#{Regexp.quote(msg)}/) if msg != nil
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_rails_view_methods
|
|
||||||
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
|
||||||
rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
|
|
||||||
return [] if allow_rails != '1' || rails_loaded != '1'
|
|
||||||
|
|
||||||
buf_path = VIM::evaluate('expand("%:p")')
|
|
||||||
buf_path.gsub!( /\\/, "/" )
|
|
||||||
pelm = buf_path.split( "/" )
|
|
||||||
idx = pelm.index( "views" )
|
|
||||||
|
|
||||||
return [] unless idx
|
|
||||||
idx += 1
|
|
||||||
|
|
||||||
clspl = pelm[idx].camelize.pluralize
|
|
||||||
cls = clspl.singularize
|
|
||||||
|
|
||||||
ret = []
|
|
||||||
ret += eval( "#{cls}.instance_methods" )
|
|
||||||
ret += eval( "#{clspl}Helper.instance_methods" )
|
|
||||||
return ret
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.get_completions(base)
|
|
||||||
b = VimRubyCompletion.new
|
|
||||||
b.get_completions base
|
|
||||||
end
|
|
||||||
|
|
||||||
def get_completions(base)
|
|
||||||
loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
|
|
||||||
if loading_allowed == '1'
|
|
||||||
load_requires
|
|
||||||
load_rails
|
|
||||||
end
|
|
||||||
|
|
||||||
input = VIM::Buffer.current.line
|
|
||||||
cpos = VIM::Window.current.cursor[1] - 1
|
|
||||||
input = input[0..cpos]
|
|
||||||
input += base
|
|
||||||
input.sub!(/.*[ \t\n\"\\'`><=;|&{(]/, '') # Readline.basic_word_break_characters
|
|
||||||
input.sub!(/self\./, '')
|
|
||||||
|
|
||||||
message = nil
|
|
||||||
receiver = nil
|
|
||||||
methods = []
|
|
||||||
variables = []
|
|
||||||
classes = []
|
|
||||||
|
|
||||||
case input
|
|
||||||
when /^(\/[^\/]*\/)\.([^.]*)$/ # Regexp
|
|
||||||
receiver = $1
|
|
||||||
message = Regexp.quote($2)
|
|
||||||
methods = Regexp.instance_methods(true)
|
|
||||||
|
|
||||||
when /^([^\]]*\])\.([^.]*)$/ # Array
|
|
||||||
receiver = $1
|
|
||||||
message = Regexp.quote($2)
|
|
||||||
methods = Array.instance_methods(true)
|
|
||||||
|
|
||||||
when /^([^\}]*\})\.([^.]*)$/ # Proc or Hash
|
|
||||||
receiver = $1
|
|
||||||
message = Regexp.quote($2)
|
|
||||||
methods = Proc.instance_methods(true) | Hash.instance_methods(true)
|
|
||||||
|
|
||||||
when /^(:[^:.]*)$/ # Symbol
|
|
||||||
dprint "symbol"
|
|
||||||
if Symbol.respond_to?(:all_symbols)
|
|
||||||
receiver = $1
|
|
||||||
message = $1.sub( /:/, '' )
|
|
||||||
methods = Symbol.all_symbols.collect{|s| s.id2name}
|
|
||||||
methods.delete_if { |c| c.match( /'/ ) }
|
|
||||||
end
|
|
||||||
|
|
||||||
when /^::([A-Z][^:\.\(]*)$/ # Absolute Constant or class methods
|
|
||||||
dprint "const or cls"
|
|
||||||
receiver = $1
|
|
||||||
methods = Object.constants
|
|
||||||
methods.grep(/^#{receiver}/).collect{|e| "::" + e}
|
|
||||||
|
|
||||||
when /^(((::)?[A-Z][^:.\(]*)+)::?([^:.]*)$/ # Constant or class methods
|
|
||||||
dprint "const or cls 2"
|
|
||||||
receiver = $1
|
|
||||||
message = Regexp.quote($4)
|
|
||||||
begin
|
|
||||||
methods = eval("#{receiver}.constants | #{receiver}.methods")
|
|
||||||
rescue Exception
|
|
||||||
methods = []
|
|
||||||
end
|
|
||||||
methods.grep(/^#{message}/).collect{|e| receiver + "::" + e}
|
|
||||||
|
|
||||||
when /^(:[^:.]+)\.([^.]*)$/ # Symbol
|
|
||||||
receiver = $1
|
|
||||||
message = Regexp.quote($2)
|
|
||||||
methods = Symbol.instance_methods(true)
|
|
||||||
|
|
||||||
when /^([0-9_]+(\.[0-9_]+)?(e[0-9]+)?)\.([^.]*)$/ # Numeric
|
|
||||||
receiver = $1
|
|
||||||
message = Regexp.quote($4)
|
|
||||||
begin
|
|
||||||
methods = eval(receiver).methods
|
|
||||||
rescue Exception
|
|
||||||
methods = []
|
|
||||||
end
|
|
||||||
|
|
||||||
when /^(\$[^.]*)$/ #global
|
|
||||||
methods = global_variables.grep(Regexp.new(Regexp.quote($1)))
|
|
||||||
|
|
||||||
when /^((\.?[^.]+)+)\.([^.]*)$/ # variable
|
|
||||||
receiver = $1
|
|
||||||
message = Regexp.quote($3)
|
|
||||||
load_buffer_class( receiver )
|
|
||||||
|
|
||||||
cv = eval("self.class.constants")
|
|
||||||
vartype = get_var_type( receiver )
|
|
||||||
dprint "vartype: %s" % vartype
|
|
||||||
if vartype != ''
|
|
||||||
load_buffer_class( vartype )
|
|
||||||
|
|
||||||
begin
|
|
||||||
methods = eval("#{vartype}.instance_methods")
|
|
||||||
variables = eval("#{vartype}.instance_variables")
|
|
||||||
rescue Exception
|
|
||||||
dprint "load_buffer_class err: %s" % $!
|
|
||||||
end
|
|
||||||
elsif (cv).include?(receiver)
|
|
||||||
# foo.func and foo is local var.
|
|
||||||
methods = eval("#{receiver}.methods")
|
|
||||||
vartype = receiver
|
|
||||||
elsif /^[A-Z]/ =~ receiver and /\./ !~ receiver
|
|
||||||
vartype = receiver
|
|
||||||
# Foo::Bar.func
|
|
||||||
begin
|
|
||||||
methods = eval("#{receiver}.methods")
|
|
||||||
rescue Exception
|
|
||||||
end
|
|
||||||
else
|
|
||||||
# func1.func2
|
|
||||||
ObjectSpace.each_object(Module){|m|
|
|
||||||
next if m.name != "IRB::Context" and
|
|
||||||
/^(IRB|SLex|RubyLex|RubyToken)/ =~ m.name
|
|
||||||
methods.concat m.instance_methods(false)
|
|
||||||
}
|
|
||||||
end
|
|
||||||
variables += add_rails_columns( "#{vartype}" ) if vartype && vartype.length > 0
|
|
||||||
|
|
||||||
when /^\(?\s*[A-Za-z0-9:^@.%\/+*\(\)]+\.\.\.?[A-Za-z0-9:^@.%\/+*\(\)]+\s*\)?\.([^.]*)/
|
|
||||||
message = $1
|
|
||||||
methods = Range.instance_methods(true)
|
|
||||||
|
|
||||||
when /^\.([^.]*)$/ # unknown(maybe String)
|
|
||||||
message = Regexp.quote($1)
|
|
||||||
methods = String.instance_methods(true)
|
|
||||||
|
|
||||||
else
|
|
||||||
inclass = eval( VIM::evaluate("s:IsInClassDef()") )
|
|
||||||
|
|
||||||
if inclass != nil
|
|
||||||
classdef = "%s\n" % VIM::Buffer.current[ inclass.min ]
|
|
||||||
found = /^\s*class\s*([A-Za-z0-9_-]*)(\s*<\s*([A-Za-z0-9_:-]*))?\s*\n$/.match( classdef )
|
|
||||||
|
|
||||||
if found != nil
|
|
||||||
receiver = $1
|
|
||||||
message = input
|
|
||||||
load_buffer_class( receiver )
|
|
||||||
begin
|
|
||||||
methods = eval( "#{receiver}.instance_methods" )
|
|
||||||
methods += get_rails_helpers
|
|
||||||
variables += add_rails_columns( "#{receiver}" )
|
|
||||||
rescue Exception
|
|
||||||
found = nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if inclass == nil || found == nil
|
|
||||||
methods = get_buffer_methods
|
|
||||||
methods += get_rails_helpers
|
|
||||||
methods += get_rails_view_methods
|
|
||||||
classes = eval("self.class.constants")
|
|
||||||
classes += get_buffer_classes
|
|
||||||
classes += get_buffer_modules
|
|
||||||
message = receiver = input
|
|
||||||
end
|
|
||||||
|
|
||||||
methods += Kernel.public_methods
|
|
||||||
end
|
|
||||||
|
|
||||||
methods = clean_sel( methods, message )
|
|
||||||
methods = (methods-Object.instance_methods)
|
|
||||||
variables = clean_sel( variables, message )
|
|
||||||
classes = clean_sel( classes, message )
|
|
||||||
valid = []
|
|
||||||
valid += methods.collect { |m| { :name => m, :type => 'f' } }
|
|
||||||
valid += variables.collect { |v| { :name => v, :type => 'v' } }
|
|
||||||
valid += classes.collect { |c| { :name => c, :type => 't' } }
|
|
||||||
valid.sort! { |x,y| x[:name] <=> y[:name] }
|
|
||||||
|
|
||||||
outp = ""
|
|
||||||
|
|
||||||
rg = 0..valid.length
|
|
||||||
rg.step(150) do |x|
|
|
||||||
stpos = 0+x
|
|
||||||
enpos = 150+x
|
|
||||||
valid[stpos..enpos].each { |c| outp += "{'word':'%s','item':'%s','kind':'%s'}," % [ c[:name], c[:name], c[:type] ] }
|
|
||||||
outp.sub!(/,$/, '')
|
|
||||||
|
|
||||||
VIM::command("call extend(g:rubycomplete_completions, [%s])" % outp)
|
|
||||||
outp = ""
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
end # VimRubyCompletion
|
|
||||||
# }}} ruby completion
|
|
||||||
RUBYEOF
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
let s:rubycomplete_rails_loaded = 0
|
|
||||||
|
|
||||||
call s:DefRuby()
|
|
||||||
|
|
||||||
|
|
||||||
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 4984767509e3d05ca051e253c8a8b37de784be45
|
@ -1,46 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Maintainer: Piotr Husiatyński <phusiatynski@gmail.com>
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
set t_Co=256
|
|
||||||
let g:colors_name="256-grayvim"
|
|
||||||
|
|
||||||
let python_highlight_all = 1
|
|
||||||
let c_gnu = 1
|
|
||||||
|
|
||||||
|
|
||||||
hi Normal ctermfg=253 ctermbg=235 cterm=None
|
|
||||||
hi Cursor ctermfg=Red ctermbg=None cterm=None
|
|
||||||
hi SpecialKey ctermfg=87 ctermbg=None cterm=Bold
|
|
||||||
hi Directory ctermfg=76 ctermbg=None cterm=None
|
|
||||||
hi ErrorMsg ctermfg=124 ctermbg=White cterm=None
|
|
||||||
hi PreProc ctermfg=246 ctermbg=None cterm=Bold
|
|
||||||
hi Search ctermfg=160 ctermbg=232 cterm=Bold
|
|
||||||
hi Type ctermfg=75 ctermbg=None cterm=Bold
|
|
||||||
hi Statement ctermfg=75 ctermbg=None cterm=None
|
|
||||||
hi Comment ctermfg=244 ctermbg=None cterm=None
|
|
||||||
hi Identifier ctermfg=111 ctermbg=None cterm=Bold
|
|
||||||
hi DiffText ctermfg=88 ctermbg=250 cterm=None
|
|
||||||
hi Constant ctermfg=208 ctermbg=None cterm=None
|
|
||||||
hi Todo ctermfg=233 ctermbg=118 cterm=Bold
|
|
||||||
hi Error ctermfg=233 ctermbg=124 cterm=Bold
|
|
||||||
hi Special ctermfg=160 ctermbg=None cterm=Bold
|
|
||||||
hi Ignore ctermfg=220 ctermbg=None cterm=Bold
|
|
||||||
hi Underline ctermfg=244 ctermbg=None cterm=None
|
|
||||||
|
|
||||||
hi FoldColumn ctermfg=247 ctermbg=None cterm=Bold
|
|
||||||
hi StatusLineNC ctermfg=247 ctermbg=234 cterm=None
|
|
||||||
hi StatusLine ctermfg=247 ctermbg=233 cterm=Bold
|
|
||||||
hi VertSplit ctermfg=247 ctermbg=234 cterm=Bold
|
|
||||||
|
|
||||||
hi LineNr ctermfg=238 ctermbg=244 cterm=Bold
|
|
||||||
hi LineNr ctermfg=247 ctermbg=235 cterm=Bold
|
|
||||||
hi NonText ctermfg=87 ctermbg=None cterm=Bold
|
|
||||||
|
|
||||||
|
|
||||||
hi Pmenu ctermfg=White ctermbg=DarkGray cterm=None
|
|
||||||
hi PmenuSel ctermfg=None ctermbg=Gray cterm=Bold
|
|
||||||
hi PmenuSbar ctermfg=DarkGray ctermbg=DarkGray cterm=None
|
|
||||||
hi PmenuThumb ctermfg=Gray ctermbg=Gray cterm=None
|
|
||||||
|
|
||||||
"vim: sw=4
|
|
@ -1,72 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
||||||
|
|
@ -1,97 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
|||||||
" 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
|
|
@ -1,108 +0,0 @@
|
|||||||
" 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
|
|
@ -1,44 +0,0 @@
|
|||||||
" 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
|
|
@ -1,59 +0,0 @@
|
|||||||
" 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
|
|
@ -1,69 +0,0 @@
|
|||||||
" 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
|
|
@ -1,88 +0,0 @@
|
|||||||
" 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 :
|
|
@ -1,154 +0,0 @@
|
|||||||
" 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
|
|
@ -1,319 +0,0 @@
|
|||||||
" 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
|
|
@ -1,67 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,115 +0,0 @@
|
|||||||
" Vim color File
|
|
||||||
" Name: biogoo
|
|
||||||
" Maintainer: Benjamin Esham <bdesham@gmail.com>
|
|
||||||
" Last Change: 2006-11-20
|
|
||||||
" Version: 1.5
|
|
||||||
"
|
|
||||||
" Colorful text on a light gray background. It's pretty easy on the eyes in
|
|
||||||
" my opinion. Any feedback is greatly appreciated!
|
|
||||||
"
|
|
||||||
" Installation:
|
|
||||||
" Copy to ~/.vim/colors; do :color biogoo
|
|
||||||
"
|
|
||||||
" Customization Options:
|
|
||||||
" Use a 'normal' cursor color:
|
|
||||||
" let g:biogoo_normal_cursor = 1
|
|
||||||
"
|
|
||||||
" Props:
|
|
||||||
" Jani Nurminen's zenburn.vim as an example file.
|
|
||||||
" Scott F. and Matt F. for feature suggestions.
|
|
||||||
" Bill McCarthy for his Vim mailing list post about Vim 7 support.
|
|
||||||
"
|
|
||||||
" Version History:
|
|
||||||
" 1.5: should fully support Vim 7 now
|
|
||||||
" 1.4: more support for Vim 7: added the `MatchParen' group for ()[]{} matching
|
|
||||||
" 1.3: added support for Vim 7: added groups for the new spellchecking, and
|
|
||||||
" added a conditional to display Visual mode correctly in any version.
|
|
||||||
" 1.2: added `SpellErrors' group for use with vimspell.
|
|
||||||
" 1.1: added `IncSearch' group for improved visibility in incremental searches.
|
|
||||||
" 1.0: minor tweaks
|
|
||||||
" 0.95: initial release
|
|
||||||
"
|
|
||||||
" TODO: Add new groups as needed. E-mail me with any suggestions!
|
|
||||||
|
|
||||||
set background=light
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
let g:colors_name = "biogoo"
|
|
||||||
|
|
||||||
hi Comment guifg=#0000c3
|
|
||||||
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=#ffffff guibg=#7f0000 gui=undercurl guisp=#d6d6d6
|
|
||||||
hi SpellCap guifg=#ffffff guibg=#7f007f gui=undercurl guisp=#d6d6d6
|
|
||||||
hi SpellLocal guifg=#ffffff guibg=#007f7f gui=undercurl guisp=#d6d6d6
|
|
||||||
hi SpellRare guifg=#ffffff guibg=#b85d00 gui=undercurl guisp=#d6d6d6
|
|
||||||
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 guifg=#ffffff guibg=#7f0000 gui=undercurl guisp=#d6d6d6
|
|
||||||
|
|
||||||
if !exists("g:biogoo_normal_cursor")
|
|
||||||
" use a gray-on-blue cursor
|
|
||||||
hi Cursor guifg=#ffffff guibg=#00007f
|
|
||||||
endif
|
|
||||||
|
|
||||||
" vim:noet:ts=4 sw=4
|
|
@ -1,37 +0,0 @@
|
|||||||
" 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
|
|
@ -1,50 +0,0 @@
|
|||||||
" 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
|
|
@ -1,60 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,70 +0,0 @@
|
|||||||
" 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
|
|
@ -1,83 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,59 +0,0 @@
|
|||||||
" 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
|
|
@ -1,247 +0,0 @@
|
|||||||
" 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:
|
|
@ -1,247 +0,0 @@
|
|||||||
" 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:
|
|
@ -1,76 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,78 +0,0 @@
|
|||||||
" 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
|
|
@ -1,174 +0,0 @@
|
|||||||
" 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
|
|
@ -1,118 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" carvedwood v0.7c
|
|
||||||
" Maintainer: Shawn Axsom <axs221@gmail.com>
|
|
||||||
" [axs221.1l.com]
|
|
||||||
|
|
||||||
" carvedwood -
|
|
||||||
" a color scheme modified from my desertocean scheme into a brown
|
|
||||||
" and green scheme, easier on the eyes and optimized for more important syntax
|
|
||||||
" to stand out the most (eg comments and values are dark and dull while
|
|
||||||
" statements are bright).
|
|
||||||
|
|
||||||
" 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="carvedwood"
|
|
||||||
|
|
||||||
hi Normal guifg=#dac0cd guibg=#1f2221
|
|
||||||
|
|
||||||
" syntax highlighting
|
|
||||||
hi Comment guifg=#5a6a6d
|
|
||||||
hi Title guifg=#60b0ea
|
|
||||||
hi Underlined guifg=#80aae0
|
|
||||||
hi Statement guifg=#fac5ba
|
|
||||||
hi Type guifg=#cd9a8a
|
|
||||||
hi PreProc guifg=#ba857a gui=none
|
|
||||||
hi Constant guifg=#9a757d
|
|
||||||
hi Identifier guifg=#bd7560
|
|
||||||
hi Special guifg=#cab0a5
|
|
||||||
hi Ignore guifg=grey40
|
|
||||||
hi Todo guifg=orangered guibg=yellow2
|
|
||||||
hi Error guibg=#e04462
|
|
||||||
"end syntax highlighting
|
|
||||||
|
|
||||||
" highlight groups
|
|
||||||
hi Cursor guibg=#205a50 guifg=#7ab0aa
|
|
||||||
"hi CursorIM
|
|
||||||
hi Directory guifg=#bbd0df
|
|
||||||
"hi DiffAdd
|
|
||||||
"hi DiffChange
|
|
||||||
"hi DiffDelete
|
|
||||||
"hi DiffText
|
|
||||||
"hi ErrorMsg
|
|
||||||
hi VertSplit guibg=#c2b0a5 guifg=grey50 gui=none
|
|
||||||
hi Folded guibg=#4a4f4d guifg=#BBDDCC
|
|
||||||
hi FoldColumn guibg=#4c3e3b guifg=#00CCFF
|
|
||||||
hi LineNr guifg=#D0C5CA guibg=#594540
|
|
||||||
hi ModeMsg guifg=#00AACC
|
|
||||||
hi MoreMsg guifg=SeaGreen
|
|
||||||
hi NonText guifg=#382920 guibg=#1b1f1f
|
|
||||||
hi Question guifg=#AABBCC
|
|
||||||
hi Search guibg=#5a6d7d guifg=#bac5d0
|
|
||||||
hi IncSearch guifg=#50606d guibg=#cddaf0
|
|
||||||
hi SpecialKey guifg=#90703B
|
|
||||||
hi StatusLine guibg=#c99f93 guifg=#102015 gui=none
|
|
||||||
hi StatusLineNC guibg=#937b7a guifg=#373334 gui=none
|
|
||||||
hi Visual guifg=#008FBF guibg=#33DFEF
|
|
||||||
"hi VisualNOS
|
|
||||||
hi WarningMsg guifg=salmon
|
|
||||||
"hi WildMenu
|
|
||||||
"hi Menu
|
|
||||||
"hi Scrollbar guibg=grey30 guifg=tan
|
|
||||||
"hi Tooltip
|
|
||||||
|
|
||||||
|
|
||||||
" color terminal definitions
|
|
||||||
hi Normal ctermfg=white
|
|
||||||
hi SpecialKey ctermfg=darkyellow
|
|
||||||
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=white ctermbg=brown
|
|
||||||
hi Question ctermfg=green
|
|
||||||
hi StatusLine cterm=none ctermbg=white ctermfg=darkgreen
|
|
||||||
hi StatusLineNC cterm=none ctermbg=white ctermfg=black
|
|
||||||
hi VertSplit cterm=none ctermbg=darkgreen
|
|
||||||
hi Title ctermfg=blue
|
|
||||||
hi Visual cterm=reverse
|
|
||||||
hi VisualNOS cterm=bold,underline
|
|
||||||
hi WarningMsg ctermfg=1
|
|
||||||
hi WildMenu ctermfg=0 ctermbg=3
|
|
||||||
hi Folded ctermfg=white ctermbg=darkcyan
|
|
||||||
hi FoldColumn ctermfg=darkcyan ctermbg=grey
|
|
||||||
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 Special ctermfg=white
|
|
||||||
hi Identifier ctermfg=brown
|
|
||||||
hi Statement ctermfg=yellow
|
|
||||||
hi PreProc ctermfg=red
|
|
||||||
hi Type ctermfg=brown
|
|
||||||
hi Constant ctermfg=grey
|
|
||||||
hi Underlined cterm=none ctermfg=blue ctermbg=darkgrey
|
|
||||||
hi Ignore cterm=bold ctermfg=7
|
|
||||||
hi Ignore ctermfg=darkgrey
|
|
||||||
hi Error cterm=bold ctermfg=7 ctermbg=1
|
|
||||||
hi Function ctermfg=yellow
|
|
||||||
|
|
||||||
|
|
||||||
"vim: sw=4
|
|
||||||
|
|
@ -1,110 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
|||||||
" 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
|
|
@ -1,52 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,81 +0,0 @@
|
|||||||
" 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
|
|
@ -1,79 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,83 +0,0 @@
|
|||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
" 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
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
@ -1,291 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Maintainer: Priit Tamboom <priit ät mx.ee>
|
|
||||||
" Last Change: Alfa version
|
|
||||||
" URL: http://priit.mx.ee/dark-ruby
|
|
||||||
|
|
||||||
" your pick:
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
let g:colors_name="dark-ruby"
|
|
||||||
|
|
||||||
" A good way to see what your colorscheme does is to follow this procedure:
|
|
||||||
" :w
|
|
||||||
" :so %
|
|
||||||
"
|
|
||||||
" Then to see what the current setting is use the highlight command.
|
|
||||||
" For example,
|
|
||||||
" :hi Cursor
|
|
||||||
" gives
|
|
||||||
" Cursor xxx guifg=bg guibg=fg
|
|
||||||
|
|
||||||
" Uncomment and complete the commands you want to change from the default.
|
|
||||||
|
|
||||||
" highlight Normal guibg=#EDE9E3
|
|
||||||
" hi Cursor ctermfg=red guifg=lightgray
|
|
||||||
" hi CursorIM ctermfg=red guifg=lightgray
|
|
||||||
" hi Directory ctermfg=red guifg=lightgray
|
|
||||||
" hi DiffAdd ctermfg=red guifg=lightgray
|
|
||||||
" hi DiffChange ctermfg=red guifg=lightgray
|
|
||||||
" hi DiffDelete ctermfg=red guifg=lightgray
|
|
||||||
" hi DiffText ctermfg=red guifg=lightgray
|
|
||||||
" hi ErrorMsg ctermfg=red guifg=lightgray
|
|
||||||
" hi VertSplit ctermfg=red guifg=lightgray
|
|
||||||
" hi Folded ctermfg=red guifg=lightgray
|
|
||||||
" hi FoldColumn ctermfg=red guifg=lightgray
|
|
||||||
" hi IncSearch ctermfg=red guifg=lightgray
|
|
||||||
" hi ModeMsg ctermfg=red guifg=lightgray
|
|
||||||
" hi MoreMsg ctermfg=red guifg=lightgray
|
|
||||||
" hi NonText ctermfg=red guifg=lightgray
|
|
||||||
" hi Question ctermfg=red guifg=lightgray
|
|
||||||
" hi Search ctermfg=red guifg=lightgray
|
|
||||||
" hi SpecialKey ctermfg=red guifg=lightgray
|
|
||||||
" hi StatusLine ctermfg=red guifg=lightgray
|
|
||||||
" hi StatusLineNC ctermfg=red guifg=lightgray
|
|
||||||
" hi Title ctermfg=red guifg=lightgray
|
|
||||||
" hi Visual ctermfg=red guifg=lightgray
|
|
||||||
" hi VisualNOS ctermfg=red guifg=lightgray
|
|
||||||
" hi WarningMsg ctermfg=red guifg=lightgray
|
|
||||||
" hi WildMenu ctermfg=red guifg=lightgray
|
|
||||||
" hi Menu ctermfg=red guifg=lightgray
|
|
||||||
" hi Scrollbar ctermfg=red guifg=lightgray
|
|
||||||
" hi Tooltip ctermfg=red guifg=lightgray
|
|
||||||
|
|
||||||
" syntax highlighting groups
|
|
||||||
hi LineNr ctermfg=252 guifg=252
|
|
||||||
hi Comment ctermfg=28 guifg=28
|
|
||||||
hi Constant ctermfg=185 guifg=185
|
|
||||||
hi Identifier ctermfg=252 guifg=252
|
|
||||||
hi Statement ctermfg=32 guifg=32
|
|
||||||
hi PreProc ctermfg=252 guifg=252
|
|
||||||
hi Type ctermfg=167 guifg=167
|
|
||||||
hi Special ctermfg=252 guifg=252
|
|
||||||
hi Underlined ctermfg=red guifg=red
|
|
||||||
hi Ignore ctermfg=red guifg=red
|
|
||||||
hi Error ctermfg=red guifg=red
|
|
||||||
hi Todo ctermfg=red guifg=red
|
|
||||||
|
|
||||||
" Alfa version notes: color 'red' means I haven't set color yet
|
|
||||||
|
|
||||||
hi rubyEscape ctermfg=252 guifg=252
|
|
||||||
hi rubyInterpolationDelimiter ctermfg=252 guifg=252
|
|
||||||
hi rubyInterpolation ctermfg=252 guifg=252
|
|
||||||
hi rubyPredefinedVariable ctermfg=red guifg=red
|
|
||||||
hi rubyInstanceVariable ctermfg=66 guifg=66
|
|
||||||
hi rubyClassVariable ctermfg=red guifg=red
|
|
||||||
hi rubyGlobalVariable ctermfg=red guifg=red
|
|
||||||
hi rubyPredefinedVariable ctermfg=red guifg=red
|
|
||||||
hi rubyNoInterpolation ctermfg=red guifg=red
|
|
||||||
hi rubyDelimEscape ctermfg=red guifg=red
|
|
||||||
hi rubyNestedParentheses ctermfg=red guifg=red
|
|
||||||
hi rubyNestedCurlyBraces ctermfg=red guifg=red
|
|
||||||
hi rubyNestedAngleBrackets ctermfg=red guifg=red
|
|
||||||
hi rubyNestedSquareBrackets ctermfg=red guifg=red
|
|
||||||
hi rubyASCIICode ctermfg=red guifg=red
|
|
||||||
hi rubyInteger ctermfg=185 guifg=185
|
|
||||||
hi rubyFloat ctermfg=185 guifg=185
|
|
||||||
hi rubyLocalVariableOrMethod ctermfg=red guifg=red
|
|
||||||
hi rubyBlockArgument ctermfg=red guifg=red
|
|
||||||
hi rubyConstant ctermfg=252 guifg=252
|
|
||||||
hi rubySymbol ctermfg=167 guifg=167
|
|
||||||
hi rubyStringSpecial ctermfg=red guifg=red
|
|
||||||
hi rubyBlockParameter ctermfg=252 guifg=252
|
|
||||||
hi rubyPredefinedConstant ctermfg=red guifg=red
|
|
||||||
hi rubyRegexp ctermfg=167 guifg=167
|
|
||||||
hi rubyString ctermfg=185 guifg=185
|
|
||||||
hi rubyBoolean ctermfg=252 guifg=252
|
|
||||||
hi rubyPseudoVariable ctermfg=252 guifg=252
|
|
||||||
hi rubyMethodDeclaration ctermfg=red guifg=red
|
|
||||||
hi rubyClassDeclaration ctermfg=red guifg=red
|
|
||||||
hi rubyModuleDeclaration ctermfg=red guifg=red
|
|
||||||
hi rubyFunction ctermfg=252 guifg=252
|
|
||||||
hi rubyDefine ctermfg=32 guifg=32
|
|
||||||
hi rubyClass ctermfg=25 guifg=25
|
|
||||||
hi rubyModule ctermfg=25 guifg=25
|
|
||||||
hi rubyBlock ctermfg=252 guifg=252
|
|
||||||
hi rubyConditional ctermfg=81 guifg=81
|
|
||||||
hi rubyRepeat ctermfg=81 guifg=81
|
|
||||||
hi rubyControl ctermfg=81 guifg=81
|
|
||||||
hi rubyKeyword ctermfg=red guifg=red
|
|
||||||
hi rubyOperator ctermfg=red guifg=red
|
|
||||||
hi rubyBeginEnd ctermfg=red guifg=red
|
|
||||||
hi rubyAccess ctermfg=32 guifg=32
|
|
||||||
hi rubyAttribute ctermfg=252 guifg=252
|
|
||||||
hi rubyEval ctermfg=red guifg=red
|
|
||||||
hi rubyException ctermfg=red guifg=red
|
|
||||||
hi rubyInclude ctermfg=252 guifg=252
|
|
||||||
hi rubySharpBang ctermfg=red guifg=red
|
|
||||||
hi rubyTodo ctermfg=34 guifg=34
|
|
||||||
hi rubyComment ctermfg=28 guifg=28
|
|
||||||
hi rubyDocumentation ctermfg=red guifg=red
|
|
||||||
hi rubyData ctermfg=red guifg=red
|
|
||||||
|
|
||||||
hi railsMethod ctermfg=107 guifg=107
|
|
||||||
hi railsUserClass ctermfg=107 guifg=107
|
|
||||||
hi railsUserMethod ctermfg=107 guifg=107
|
|
||||||
|
|
||||||
" hi rubyRailsError ctermfg=lightgray guifg=lightgray
|
|
||||||
" hi rubyRailsDeprecatedMethod ctermfg=lightgray guifg=lightgray
|
|
||||||
" hi erubyRailsMethod ctermfg=lightgray guifg=lightgray
|
|
||||||
" hi erubyRailsRenderMethod ctermfg=lightgray guifg=lightgray
|
|
||||||
" hi erubyRailsHelperMethod ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javascriptRailsClass ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javascriptRailsFunction ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlError ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlSpecialChar ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptExpression ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlString ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlValue ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlTagN ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlTagError ctermfg=lightgray guifg=lightgray
|
|
||||||
hi htmlEndTag ctermfg=25 guifg=25
|
|
||||||
"hi htmlArg ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlEvent ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlCssDefinition ctermfg=lightgray guifg=lightgray
|
|
||||||
hi htmlTag ctermfg=25 guifg=25
|
|
||||||
hi htmlTagName ctermfg=25 guifg=25
|
|
||||||
"hi htmlSpecialTagName ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlCommentPart ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlCommentError ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlComment ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlPreStmt ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlPreError ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlPreAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlPreProc ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlPreProcAttrError ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlPreProcAttrName ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlLink ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScript ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlBoldUnderline ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlBoldItalic ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlBold ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlBoldUnderlineItalic ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlBoldItalicUnderline ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlUnderlineBold ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlUnderlineItalic ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlUnderline ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlUnderlineBoldItalic ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlUnderlineItalicBold ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlItalicBold ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlItalicUnderline ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlItalic ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlItalicBoldUnderline ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlItalicUnderlineBold ctermfg=lightgray guifg=lightgray
|
|
||||||
hi htmlH1 ctermfg=25 guifg=25
|
|
||||||
"hi htmlH2 ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlH3 ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlH4 ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlH5 ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlH6 ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlTitle ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssStyle ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlHead ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptCommentTodo ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptLineComment ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptCommentSkip ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptComment ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptSpecial ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptStringD ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptStringS ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptSpecialCharacter ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptNumber ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptRegexpString ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptConditional ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptRepeat ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptBranch ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptOperator ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptType ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptStatement ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptBoolean ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptNull ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptIdentifier ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptLabel ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptException ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptMessage ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptDeprecated ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptReserved ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptFunction ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptBraces ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptBraces ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi javaScriptParens ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlCssStyleComment ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlScriptTag ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlEventTag ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlEventSQ ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi htmlEventDQ ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbStatement ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbFunction ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbMethods ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbEvents ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbTypes ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbOperator ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbConst ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbTodo ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbNumber ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbString ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbComment ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbLineNumber ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi vbTypeSpecifier ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssTagName ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssDefinition ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssSelectorOp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssSelectorOp2 ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssUnicodeEscape ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssStringQ ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssStringQQ ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssIdentifier ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssMediaType ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssMedia ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssMediaComma ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssMediaBlock ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssBraces ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssError ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssComment ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssURL ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssValueInteger ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssValueNumber ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssValueLength ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssValueAngle ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssValueTime ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssValueFrequency ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssFontDescriptor ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssFontProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssFontAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssCommonAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssFontDescriptorProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssFontDescriptorFunction ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssUnicodeRange ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssColor ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssFunction ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssImportant ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssColorProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssColorAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssTextProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssTextAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssBoxProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssBoxAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssGeneratedContentProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssGeneratedContentAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssAurlAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssPagingProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssPagingAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssUIProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssUIAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssRenderAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssRenderProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssAuralProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssTableProp ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssTableAttr ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssInclude ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssBraceError ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssPreudoClassId ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssPseudoClass ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssPseudoClassLang ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssSpecialCharQQ ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi cssSpecialCharQ ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi erubyOneLiner ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi erubyBlock ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi erubyExpression ctermfg=lightgray guifg=lightgray
|
|
||||||
"hi erubyComment ctermfg=lightgray guifg=lightgray
|
|
@ -1,91 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Create by Andy
|
|
||||||
" QQ24375048
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
if version > 580
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
let g:colors_name="darkZ"
|
|
||||||
|
|
||||||
hi Normal guifg=#DFD6C1 guibg=gray14 gui=none
|
|
||||||
|
|
||||||
" highlight groups
|
|
||||||
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=burlywood3 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=gray80 guibg=#445599 gui=none
|
|
||||||
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=cyan guibg=#6C6C6C 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
|
|
||||||
|
|
||||||
" syntax highlighting groups
|
|
||||||
hi Comment guifg=gray50 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
|
|
||||||
|
|
||||||
" color terminal definitions
|
|
||||||
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
|
|
||||||
|
|
@ -1,105 +0,0 @@
|
|||||||
" 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
|
|
@ -1,102 +0,0 @@
|
|||||||
" 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:
|
|
@ -1,117 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,130 +0,0 @@
|
|||||||
" 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
|
|
@ -1,78 +0,0 @@
|
|||||||
" 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
|
|
@ -1,141 +0,0 @@
|
|||||||
" 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
|
|
||||||
" }}}
|
|
@ -1,338 +0,0 @@
|
|||||||
" 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:
|
|
@ -1,98 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Maintainer: Mingbai <mbbill AT gmail DOT com>
|
|
||||||
" Last Change: 2006-12-24 20:09:09
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
hi Normal guifg=gray guibg=grey17 gui=none
|
|
||||||
|
|
||||||
" AlignCtrl default
|
|
||||||
" AlignCtrl =P0 guifg guibg gui
|
|
||||||
" Align
|
|
||||||
|
|
||||||
" highlight groups
|
|
||||||
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=burlywood3 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=gray80 guibg=#445599 gui=none
|
|
||||||
hi SpecialKey guifg=cyan gui=none
|
|
||||||
hi StatusLine guifg=black guibg=#c2bfa5 gui=bold
|
|
||||||
hi StatusLineNC guifg=grey guibg=gray40 gui=none
|
|
||||||
hi Title guifg=indianred gui=none
|
|
||||||
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=cyan guibg=NONE 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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
" syntax highlighting groups
|
|
||||||
hi Comment guifg=PaleGreen3 gui=italic
|
|
||||||
hi Constant guifg=salmon gui=none
|
|
||||||
hi Identifier guifg=Skyblue gui=none
|
|
||||||
hi Function guifg=Skyblue gui=none
|
|
||||||
hi Statement guifg=lightgoldenrod2 gui=none
|
|
||||||
hi PreProc guifg=PaleVioletRed2 gui=none
|
|
||||||
hi Type guifg=tan1 gui=none
|
|
||||||
hi Special guifg=aquamarine2 gui=none
|
|
||||||
hi Ignore guifg=grey40 gui=none
|
|
||||||
hi Todo guifg=orangered guibg=yellow2 gui=none
|
|
||||||
|
|
||||||
" 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
|
|
@ -1,71 +0,0 @@
|
|||||||
" 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
|
|
@ -1,66 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,66 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,66 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,66 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,66 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,66 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,66 +0,0 @@
|
|||||||
"--------------------------------------------------------------------
|
|
||||||
" 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 -----------------------------------------------
|
|
@ -1,159 +0,0 @@
|
|||||||
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=#ffffff guifg=#000000 gui=none
|
|
||||||
|
|
||||||
hi Cursor guibg=#000000 guifg=#ffffff gui=none
|
|
||||||
hi CursorColumn ctermbg=7 ctermfg=fg guibg=#dfdfdf gui=none
|
|
||||||
hi CursorLine ctermbg=7 ctermfg=fg guibg=#dfdfdf 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=#b5c5e6 gui=none
|
|
||||||
else
|
|
||||||
hi Visual ctermbg=7 ctermfg=fg guibg=#b5c5e6 guifg=fg gui=none
|
|
||||||
endif
|
|
||||||
hi VisualNOS ctermbg=8 ctermfg=fg guibg=bg guifg=#4069bf 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=#181818 guifg=#cacaca 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=#274278 gui=none
|
|
||||||
else
|
|
||||||
hi Visual ctermbg=7 ctermfg=0 guibg=#274278 guifg=fg gui=none
|
|
||||||
endif
|
|
||||||
hi VisualNOS ctermbg=8 ctermfg=0 guibg=bg guifg=#5c77ad 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
|
|
@ -1,92 +0,0 @@
|
|||||||
" 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:
|
|
@ -1,105 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,71 +0,0 @@
|
|||||||
" 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
|
|
@ -1,71 +0,0 @@
|
|||||||
" 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
|
|
@ -1,67 +0,0 @@
|
|||||||
" 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
|
|
||||||
|
|
@ -1,170 +0,0 @@
|
|||||||
" 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
|
|
@ -1,79 +0,0 @@
|
|||||||
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
|
|
@ -1,69 +0,0 @@
|
|||||||
" 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
|
|
@ -1,147 +0,0 @@
|
|||||||
"
|
|
||||||
" 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
|
|
@ -1,271 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Original Maintainer: Anders Korte <anderskorte@eml.cc>
|
|
||||||
|
|
||||||
" Modified: by entheon <jazzworksweb@yahoo.com>
|
|
||||||
" Last Change: 13 Sept 2005
|
|
||||||
|
|
||||||
" Gardener v1.1
|
|
||||||
" A modification of the Guardian colorscheme v1.2
|
|
||||||
|
|
||||||
" 'For code surgeons and web gardeners everywhere'
|
|
||||||
|
|
||||||
" A nice earthy color scheme which is easy on the eyes. It
|
|
||||||
" has as it's base a dark background monocrhomatic khaki
|
|
||||||
" scheme with dabs of color thrown in here and there on the
|
|
||||||
" keywords. Plus lots of extra config options so you can
|
|
||||||
" tweak it to your liking and or make it more like the
|
|
||||||
" original Guardian scheme. All the defaults are what I like
|
|
||||||
" but if you want to change stuff just set the right var and
|
|
||||||
" it will change pretty much immediately, you might have to
|
|
||||||
" move out of and back into your buffer for it to refresh.
|
|
||||||
|
|
||||||
|
|
||||||
" Features:
|
|
||||||
" 256 Color XTerm Compatibility
|
|
||||||
" Richer Syntax
|
|
||||||
" Black Background
|
|
||||||
" Functions
|
|
||||||
" No Italics
|
|
||||||
" Purple Booleans
|
|
||||||
" Swapped Status Line Colors
|
|
||||||
" Other minor tweaks
|
|
||||||
|
|
||||||
" Change Log:
|
|
||||||
" changed the ghastly puke salmon red to green like it
|
|
||||||
" should have been in the first place esp considering the
|
|
||||||
" name Gardener, now all vimsters can truly frolic in
|
|
||||||
" their Vim Gardens
|
|
||||||
|
|
||||||
" Options:
|
|
||||||
" g:gardener_light_comments
|
|
||||||
" if this var exists then comments are white on a
|
|
||||||
" gray-blue background if it is not set then the
|
|
||||||
" comments default to medium grey with no background
|
|
||||||
" color, I can't stand bg colors but some people might
|
|
||||||
" like it, so I left it as an option.
|
|
||||||
"
|
|
||||||
" g:gardener_soil
|
|
||||||
" This is a GUI only option because there are no
|
|
||||||
" colors that work even in the 256 color XTerm. This
|
|
||||||
" option gives you a brownish background instead of a
|
|
||||||
" black background. I think the black background gives
|
|
||||||
" better contrast and thus is easier to read from. if
|
|
||||||
" you disagree then you've got this option
|
|
||||||
"
|
|
||||||
" g:gardener_setnum
|
|
||||||
" turns the background of the line numbers black
|
|
||||||
|
|
||||||
" Using The Options:
|
|
||||||
" To enable a feature add the line
|
|
||||||
" let g:gardenter_some_feature=1
|
|
||||||
" to your ~/.vimrc
|
|
||||||
" To disable the feature temporarily run the command
|
|
||||||
" :unlet g:gardener_some_feature
|
|
||||||
" To disable the feature permanently, simply remove
|
|
||||||
" the line from your .vimrc file.
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
syntax reset
|
|
||||||
|
|
||||||
if has("gui_running")
|
|
||||||
|
|
||||||
" Colors for the User Interface.
|
|
||||||
if exists("g:gardener_setnum")
|
|
||||||
hi linenr guibg=black guifg=#808080 gui=bold
|
|
||||||
else
|
|
||||||
hi linenr guibg=#262626 guifg=#808080 gui=bold
|
|
||||||
endif
|
|
||||||
|
|
||||||
hi Cursor guibg=#cc4455 guifg=white gui=bold
|
|
||||||
hi link CursorIM Cursor
|
|
||||||
if exists("g:gardener_soil")
|
|
||||||
hi Normal guibg=#332211 guifg=white gui=none
|
|
||||||
else
|
|
||||||
hi Normal guibg=black guifg=white gui=none
|
|
||||||
endif
|
|
||||||
hi NonText guibg=#445566 guifg=#ffeecc gui=bold
|
|
||||||
hi Visual guibg=#557799 guifg=white gui=none
|
|
||||||
|
|
||||||
hi Directory guibg=bg guifg=#337700 gui=none
|
|
||||||
|
|
||||||
hi IncSearch guibg=#0066cc guifg=white gui=none
|
|
||||||
hi link Seach IncSearch
|
|
||||||
|
|
||||||
hi SpecialKey guibg=bg guifg=fg gui=none
|
|
||||||
hi Titled guibg=bg guifg=fg gui=none
|
|
||||||
|
|
||||||
hi ErrorMsg guibg=bg guifg=#ff0000 gui=bold
|
|
||||||
hi ModeMsg guibg=bg guifg=#ffeecc gui=none
|
|
||||||
hi link MoreMsg ModeMsg
|
|
||||||
hi Question guibg=bg guifg=#ccffcc gui=bold
|
|
||||||
hi link WarningMsg ErrorMsg
|
|
||||||
|
|
||||||
hi StatusLineNC guibg=#ffeecc guifg=black gui=none
|
|
||||||
hi StatusLine guibg=#cc4455 guifg=white gui=bold
|
|
||||||
hi VertSplit guibg=#ffeecc guifg=black gui=none
|
|
||||||
|
|
||||||
hi DiffAdd guibg=#446688 guifg=fg gui=none
|
|
||||||
hi DiffChange guibg=#558855 guifg=fg gui=none
|
|
||||||
hi DiffDelete guibg=#884444 guifg=fg gui=none
|
|
||||||
hi DiffText guibg=#884444 guifg=fg gui=bold
|
|
||||||
|
|
||||||
" Colors for Syntax Highlighting.
|
|
||||||
if exists("g:gardener_light_comments")
|
|
||||||
hi Comment guibg=#334455 guifg=#dddddd gui=none
|
|
||||||
else
|
|
||||||
hi Comment guibg=bg guifg=#888888 gui=none
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
hi Define guibg=bg guifg=#66ccdd gui=bold
|
|
||||||
hi Conditional guibg=bg guifg=#aadd55 gui=bold
|
|
||||||
|
|
||||||
hi Constant guibg=bg guifg=white gui=bold
|
|
||||||
hi Identifier guibg=bg guifg=#ffddaa gui=none
|
|
||||||
hi String guibg=bg guifg=#ffffcc gui=none
|
|
||||||
hi Character guibg=bg guifg=#ffffcc gui=bold
|
|
||||||
hi Number guibg=bg guifg=#bbddff gui=bold
|
|
||||||
hi Boolean guibg=bg guifg=#ff55ff gui=bold
|
|
||||||
hi Float guibg=bg guifg=#bbddff gui=bold
|
|
||||||
|
|
||||||
hi Function guibg=bg guifg=#ffffaa gui=bold
|
|
||||||
hi Statement guibg=bg guifg=#ffffcc gui=bold
|
|
||||||
|
|
||||||
hi Repeat guibg=bg guifg=#ff9900 gui=bold
|
|
||||||
hi Label guibg=bg guifg=#ffccff gui=bold
|
|
||||||
hi Operator guibg=bg guifg=#cc9966 gui=bold
|
|
||||||
hi Keyword guibg=bg guifg=#66ffcc gui=bold
|
|
||||||
hi Exception guibg=bg guifg=#66ffcc gui=bold
|
|
||||||
|
|
||||||
hi PreProc guibg=bg guifg=#ffcc99 gui=bold
|
|
||||||
hi Include guibg=bg guifg=#99cc99 gui=bold
|
|
||||||
hi link Macro Include
|
|
||||||
hi link PreCondit Include
|
|
||||||
|
|
||||||
hi Type guibg=bg guifg=#ccffaa gui=bold
|
|
||||||
hi Structure guibg=bg guifg=#99ff99 gui=bold
|
|
||||||
hi Typedef guibg=bg guifg=#99cc99 gui=italic
|
|
||||||
|
|
||||||
hi StorageClass guibg=bg guifg=#99cc99 gui=bold
|
|
||||||
hi Special guibg=bg guifg=#bbddff gui=bold
|
|
||||||
hi SpecialChar guibg=bg guifg=#bbddff gui=bold
|
|
||||||
hi Tag guibg=bg guifg=#bbddff gui=bold
|
|
||||||
hi Delimiter guibg=bg guifg=fg gui=bold
|
|
||||||
hi SpecialComment guibg=#334455 guifg=#dddddd gui=italic
|
|
||||||
hi Debug guibg=bg guifg=#ff9999 gui=none
|
|
||||||
|
|
||||||
hi Underlined guibg=bg guifg=#99ccff gui=underline
|
|
||||||
|
|
||||||
hi Title guibg=#445566 guifg=white gui=bold
|
|
||||||
hi Ignore guibg=bg guifg=#cccccc gui=italic
|
|
||||||
hi Error guibg=#ff0000 guifg=white gui=bold
|
|
||||||
hi Todo guibg=#556677 guifg=#ff0000 gui=bold
|
|
||||||
|
|
||||||
hi htmlH1 guibg=bg guifg=#ffffff gui=bold
|
|
||||||
hi htmlH2 guibg=bg guifg=#dadada gui=bold
|
|
||||||
hi htmlH3 guibg=bg guifg=#c6c6c6 gui=bold
|
|
||||||
hi htmlH4 guibg=bg guifg=#b2b2b2 gui=bold
|
|
||||||
hi htmlH5 guibg=bg guifg=#9e9e9e gui=bold
|
|
||||||
hi htmlH6 guibg=bg guifg=#8a8a8a gui=bold
|
|
||||||
|
|
||||||
else
|
|
||||||
" Colors for the User Interface.
|
|
||||||
|
|
||||||
if exists("g:gardener_setnum")
|
|
||||||
exec "hi linenr cterm=BOLD ctermfg=235 ctermbg=244"
|
|
||||||
else
|
|
||||||
exec "hi linenr cterm=BOLD ctermfg=244 ctermbg=235"
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
exec "hi Cursor cterm=BOLD ctermfg=255 ctermbg=167"
|
|
||||||
exec "hi CursorIM cterm=BOLD ctermfg=255 ctermbg=167"
|
|
||||||
|
|
||||||
exec "hi Normal cterm=NONE ctermfg=255 ctermbg=233"
|
|
||||||
exec "hi NonText cterm=NONE ctermfg=230 ctermbg=60"
|
|
||||||
exec "hi Visual cterm=NONE ctermfg=255 ctermbg=68"
|
|
||||||
|
|
||||||
exec "hi Linear cterm=NONE ctermfg=248 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi Directory cterm=NONE ctermfg=64 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi IncSearch cterm=NONE ctermfg=255 ctermbg=25"
|
|
||||||
|
|
||||||
exec "hi ErrorMsg cterm=BOLD ctermfg=196 ctermbg=NONE"
|
|
||||||
exec "hi WarningMsg cterm=BOLD ctermfg=196 ctermbg=NONE"
|
|
||||||
exec "hi ModeMsg cterm=NONE ctermfg=230 ctermbg=NONE"
|
|
||||||
exec "hi MoreMsg cterm=NONE ctermfg=230 ctermbg=NONE"
|
|
||||||
exec "hi Question cterm=NONE ctermfg=194 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi StatusLineNC cterm=NONE ctermfg=16 ctermbg=229"
|
|
||||||
exec "hi StatusLine cterm=BOLD ctermfg=255 ctermbg=167"
|
|
||||||
exec "hi VertSplit cterm=NONE ctermfg=16 ctermbg=229"
|
|
||||||
|
|
||||||
exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=60"
|
|
||||||
exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=65"
|
|
||||||
exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=95"
|
|
||||||
exec "hi DiffAdd cterm=BOLD ctermfg=255 ctermbg=95"
|
|
||||||
|
|
||||||
" Colors for Syntax Highlighting.
|
|
||||||
if exists("g:gardener_light_comments")
|
|
||||||
exec "hi Comment cterm=NONE ctermfg=253 ctermbg=60"
|
|
||||||
else
|
|
||||||
exec "hi Comment cterm=NONE ctermfg=244 ctermbg=NONE"
|
|
||||||
endif
|
|
||||||
|
|
||||||
exec "hi Constant cterm=BOLD ctermfg=255 ctermbg=NONE"
|
|
||||||
exec "hi String cterm=NONE ctermfg=230 ctermbg=NONE"
|
|
||||||
exec "hi Character cterm=BOLD ctermfg=230 ctermbg=NONE"
|
|
||||||
exec "hi Number cterm=BOLD ctermfg=153 ctermbg=NONE"
|
|
||||||
exec "hi Boolean cterm=NONE ctermfg=207 ctermbg=NONE"
|
|
||||||
exec "hi Float cterm=BOLD ctermfg=153 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi Identifier cterm=NONE ctermfg=223 ctermbg=NONE"
|
|
||||||
exec "hi Function cterm=BOLD ctermfg=229 ctermbg=NONE"
|
|
||||||
exec "hi Statement cterm=BOLD ctermfg=230 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi Define cterm=BOLD ctermfg=68 ctermbg=NONE"
|
|
||||||
exec "hi Conditional cterm=BOLD ctermfg=149 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi Repeat cterm=BOLD ctermfg=208 ctermbg=NONE"
|
|
||||||
exec "hi Label cterm=BOLD ctermfg=225 ctermbg=NONE"
|
|
||||||
exec "hi Operator cterm=BOLD ctermfg=173 ctermbg=NONE"
|
|
||||||
exec "hi Keyword cterm=BOLD ctermfg=86 ctermbg=NONE"
|
|
||||||
exec "hi Exception cterm=BOLD ctermfg=86 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi PreProc cterm=BOLD ctermfg=222 ctermbg=NONE"
|
|
||||||
exec "hi Include cterm=BOLD ctermfg=114 ctermbg=NONE"
|
|
||||||
exec "hi Macro cterm=BOLD ctermfg=114 ctermbg=NONE"
|
|
||||||
exec "hi PreCondit cterm=BOLD ctermfg=114 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi Type cterm=BOLD ctermfg=193 ctermbg=NONE"
|
|
||||||
exec "hi StorageClass cterm=BOLD ctermfg=78 ctermbg=NONE"
|
|
||||||
exec "hi Structure cterm=BOLD ctermfg=114 ctermbg=NONE"
|
|
||||||
exec "hi Typedef cterm=BOLD ctermfg=114 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi Special cterm=BOLD ctermfg=153 ctermbg=NONE"
|
|
||||||
exec "hi SpecialChar cterm=BOLD ctermfg=153 ctermbg=NONE"
|
|
||||||
exec "hi Tag cterm=BOLD ctermfg=153 ctermbg=NONE"
|
|
||||||
exec "hi Delimiter cterm=BOLD ctermfg=255 ctermbg=NONE"
|
|
||||||
exec "hi SpecialComment cterm=BOLD ctermfg=253 ctermbg=24"
|
|
||||||
exec "hi Debug cterm=NONE ctermfg=210 ctermbg=NONE"
|
|
||||||
|
|
||||||
exec "hi Title cterm=BOLD ctermfg=255 ctermbg=60"
|
|
||||||
exec "hi Ignore cterm=NONE ctermfg=251 ctermbg=NONE"
|
|
||||||
exec "hi Error cterm=NONE ctermfg=255 ctermbg=196"
|
|
||||||
exec "hi Ignore cterm=NONE ctermfg=196 ctermbg=60"
|
|
||||||
|
|
||||||
exec "hi htmlH1 cterm=BOLD ctermfg=255 ctermbg=NONE"
|
|
||||||
exec "hi htmlH2 cterm=BOLD ctermfg=253 ctermbg=NONE"
|
|
||||||
exec "hi htmlH3 cterm=BOLD ctermfg=251 ctermbg=NONE"
|
|
||||||
exec "hi htmlH4 cterm=BOLD ctermfg=249 ctermbg=NONE"
|
|
||||||
exec "hi htmlH5 cterm=BOLD ctermfg=247 ctermbg=NONE"
|
|
||||||
exec "hi htmlH6 cterm=BOLD ctermfg=245 ctermbg=NONE"
|
|
||||||
|
|
||||||
endif
|
|
||||||
" And finally.
|
|
||||||
|
|
||||||
let g:colors_name = "gardener"
|
|
||||||
let colors_name = "gardener"
|
|
||||||
|
|
@ -1,70 +0,0 @@
|
|||||||
" 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
|
|
@ -1,103 +0,0 @@
|
|||||||
" 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"
|
|
||||||
|
|
@ -1,138 +0,0 @@
|
|||||||
" 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
|
|
@ -1,385 +0,0 @@
|
|||||||
" 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
|
|
@ -1,66 +0,0 @@
|
|||||||
" 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
|
|
@ -1,216 +0,0 @@
|
|||||||
" 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 :
|
|
@ -1,133 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Maintainer: Michael Boehler
|
|
||||||
" Mail: michael@familie-boehler.de
|
|
||||||
" Last Change: 2008-2-21
|
|
||||||
" Version: 3.2
|
|
||||||
" This color scheme uses a light background.
|
|
||||||
" GUI only
|
|
||||||
" inspired by colorsheme PYTE
|
|
||||||
|
|
||||||
set background=light
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let colors_name = "ironman"
|
|
||||||
|
|
||||||
hi Normal guifg=#222222 guibg=#F0F0F0
|
|
||||||
|
|
||||||
" Search
|
|
||||||
hi IncSearch gui=NONE guifg=Black guibg=#FFFF4B
|
|
||||||
hi Search gui=NONE guifg=Black guibg=#FFFF8F
|
|
||||||
|
|
||||||
" Messages
|
|
||||||
hi ErrorMsg gui=NONE guifg=#FF0000 guibg=NONE
|
|
||||||
hi WarningMsg gui=NONE guifg=#FF6600 guibg=NONE
|
|
||||||
hi ModeMsg gui=NONE guifg=#0070ff guibg=NONE
|
|
||||||
hi MoreMsg gui=NONE guifg=#FF6600 guibg=NONE
|
|
||||||
hi Question gui=NONE guifg=#008050 guibg=NONE
|
|
||||||
|
|
||||||
" Completion Popup Menu
|
|
||||||
hi Pmenu gui=NONE guifg=#303040 guibg=#ccff00
|
|
||||||
hi PmenuSel gui=NONE guifg=#303040 guibg=#ffff00
|
|
||||||
" hi PmenuSbar scrollbar |hl-PmenuSbar|
|
|
||||||
" hi PmenuThumb thumb of the scrollbar |hl-PmenuThumb|
|
|
||||||
|
|
||||||
" Split area
|
|
||||||
hi StatusLine gui=ITALIC guifg=white guibg=#8090a0
|
|
||||||
hi StatusLineNC gui=ITALIC guifg=#506070 guibg=#a0b0c0
|
|
||||||
hi VertSplit gui=NONE guifg=#a0b0c0 guibg=#a0b0c0
|
|
||||||
hi WarningMsgildMenu gui=NONE guifg=Black guibg=Orange
|
|
||||||
" hi WildMenu gui=UNDERLINE guifg=#56A0EE guibg=#E9E9F4
|
|
||||||
|
|
||||||
" Diff
|
|
||||||
hi DiffText gui=NONE guifg=#2020ff guibg=#c8f2ea
|
|
||||||
hi DiffDelete gui=NONE guifg=#f83010 guibg=#ffeae0
|
|
||||||
hi DiffAdd gui=NONE guifg=#006800 guibg=#d0ffd0
|
|
||||||
hi DiffChange gui=NONE guifg=#2020ff guibg=#c8f2ea
|
|
||||||
|
|
||||||
" Cursor
|
|
||||||
hi Cursor gui=NONE guifg=#ffffff guibg=#DE7171
|
|
||||||
hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff
|
|
||||||
hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff
|
|
||||||
hi CursorLine gui=NONE guifg=NONE guibg=#f6f6f6
|
|
||||||
hi CursorColumn gui=NONE guifg=NONE guibg=#F9F9F9
|
|
||||||
|
|
||||||
" Fold
|
|
||||||
hi Folded gui=NONE guifg=#3399ff guibg=#EAF5FF
|
|
||||||
hi FoldColumn gui=NONE guifg=#3399ff guibg=#EAF5FF
|
|
||||||
|
|
||||||
" Other hi Directory gui=NONE guifg=#0000ff guibg=NONE
|
|
||||||
hi LineNr gui=NONE guifg=#FFFFFF guibg=#C0D0E0
|
|
||||||
hi NonText gui=NONE guifg=#C0C0C0 guibg=#E0E0E0
|
|
||||||
hi SpecialKey gui=NONE guifg=#35E0DF guibg=NONE
|
|
||||||
hi Title gui=NONE guifg=#004060 guibg=#c8f0f8
|
|
||||||
hi Visual gui=NONE guibg=#BDDFFF
|
|
||||||
hi MatchParen gui=NONE guifg=NONE guibg=#9FFF82
|
|
||||||
|
|
||||||
" Syntax group
|
|
||||||
hi Comment gui=ITALIC guifg=#A0B0C0 guibg=#EFEFFF
|
|
||||||
hi Paren gui=NONE guifg=#9326C1 guibg=NONE
|
|
||||||
hi Comma gui=NONE guifg=#C12660 guibg=NONE
|
|
||||||
hi Constant gui=NONE guifg=NONE guibg=#E8F1FF
|
|
||||||
hi Statement gui=NONE guifg=#005EC4 guibg=NONE
|
|
||||||
hi Error gui=BOLD,UNDERLINE guifg=#ff4080 guibg=NONE
|
|
||||||
hi Identifier gui=NONE guifg=#339933 guibg=NONE
|
|
||||||
hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE
|
|
||||||
hi Number gui=NONE guifg=#087B4D
|
|
||||||
hi PreProc gui=NONE guifg=#0070e6 guibg=NONE
|
|
||||||
hi Special gui=NONE guifg=#0000ff guibg=#ccf7ee
|
|
||||||
hi Delimiter gui=BOLD guifg=#A8360F guibg=NONE
|
|
||||||
hi Todo gui=NONE guifg=#ff0070 guibg=#ffe0f4
|
|
||||||
hi Type gui=NONE guifg=#eb7950 guibg=NONE
|
|
||||||
hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE
|
|
||||||
|
|
||||||
hi Conditional gui=None guifg=#0053FF guibg=bg
|
|
||||||
hi Repeat gui=None guifg=SeaGreen2 guibg=bg
|
|
||||||
hi Operator gui=None guifg=#0085B1 guibg=bg
|
|
||||||
hi Keyword gui=None guifg=DarkBlue guibg=bg
|
|
||||||
hi Exception gui=None guifg=DarkBlue guibg=bg
|
|
||||||
hi Function gui=BOLD guifg=#3E0F70
|
|
||||||
|
|
||||||
hi! link String Constant
|
|
||||||
hi! link SpecialComment Comment
|
|
||||||
hi! link Character Constant
|
|
||||||
hi! link Boolean Constant
|
|
||||||
hi! link Float Number
|
|
||||||
hi! link Label 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 Debug Special
|
|
||||||
|
|
||||||
" HTML
|
|
||||||
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 gui=underline guibg=LightGrey
|
|
||||||
highlight TabLineFill gui=reverse
|
|
||||||
highlight TabLineSel gui=bold
|
|
||||||
|
|
||||||
highlight SpellBad gui=undercurl guisp=Red
|
|
||||||
highlight SpellCap gui=undercurl guisp=Blue
|
|
||||||
highlight SpellRare gui=undercurl guisp=Magenta
|
|
||||||
highlight SpellLocale gui=undercurl guisp=DarkCyan
|
|
||||||
|
|
||||||
" Completion {{{1
|
|
||||||
highlight Pmenu guifg=Black guibg=#BDDFFF
|
|
||||||
highlight PmenuSel guifg=Black guibg=Orange
|
|
||||||
highlight PmenuSbar guifg=#CCCCCC guibg=#CCCCCC
|
|
||||||
highlight PmenuThumb gui=reverse guifg=Black guibg=#AAAAAA
|
|
@ -1,111 +0,0 @@
|
|||||||
" Vim color file inherit from the desrt.vim
|
|
||||||
" Maintainer: Jammy Lee<mistapostle@gmail.com>
|
|
||||||
" Last Change: $Date: 2008/03/20 19:30:30 $
|
|
||||||
" Version: $Id: jammy.vim,v 1.1 2008/03/20 $
|
|
||||||
|
|
||||||
" 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="jammy"
|
|
||||||
|
|
||||||
hi Normal guifg=White guibg=Black
|
|
||||||
|
|
||||||
" highlight groups
|
|
||||||
hi Cursor guibg=khaki guifg=slategrey
|
|
||||||
"hi CursorIM
|
|
||||||
"hi Directory
|
|
||||||
"hi DiffAdd
|
|
||||||
"hi DiffChange
|
|
||||||
"hi DiffDelete
|
|
||||||
"hi DiffText
|
|
||||||
"hi ErrorMsg
|
|
||||||
hi String guifg=Skyblue
|
|
||||||
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=black
|
|
||||||
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 guibg=grey30
|
|
||||||
"hi VisualNOS
|
|
||||||
hi WarningMsg guifg=salmon
|
|
||||||
"hi WildMenu
|
|
||||||
"hi Menu
|
|
||||||
"hi Scrollbar
|
|
||||||
"hi Tooltip
|
|
||||||
|
|
||||||
" syntax highlighting groups
|
|
||||||
hi Comment guifg=grey60
|
|
||||||
hi Constant guifg=indianred
|
|
||||||
|
|
||||||
hi Identifier guifg=palegreen
|
|
||||||
"hi Identifier guifg=#D18B2C
|
|
||||||
"palegreen
|
|
||||||
"hi Statement guifg=khaki
|
|
||||||
hi Statement guifg=#E6DB74
|
|
||||||
hi PreProc guifg=Skyblue
|
|
||||||
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 cterm=bold ctermfg=7
|
|
||||||
hi Ignore ctermfg=darkgrey
|
|
||||||
hi Error cterm=bold ctermfg=7 ctermbg=1
|
|
||||||
|
|
||||||
|
|
||||||
"vim: sw=4
|
|
@ -1,410 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
"
|
|
||||||
" " __ _ _ _ "
|
|
||||||
" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ "
|
|
||||||
" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| "
|
|
||||||
" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ "
|
|
||||||
" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ "
|
|
||||||
" " \___/ "
|
|
||||||
"
|
|
||||||
" "A colorful, dark color scheme for Vim."
|
|
||||||
"
|
|
||||||
" File: jellybeans.vim
|
|
||||||
" Maintainer: NanoTech <http://nanotech.nanotechcorp.net/>
|
|
||||||
" Version: 1.2
|
|
||||||
" Last Change: May 26th, 2009
|
|
||||||
" Contributors: Daniel Herbert <http://pocket-ninja.com>,
|
|
||||||
" Henry So, Jr. <henryso@panix.com>,
|
|
||||||
" David Liang <bmdavll at gmail dot com>
|
|
||||||
"
|
|
||||||
" Copyright (c) 2009 NanoTech
|
|
||||||
"
|
|
||||||
" Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
" of this software and associated documentation files (the "Software"), to deal
|
|
||||||
" in the Software without restriction, including without limitation the rights
|
|
||||||
" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
" copies of the Software, and to permit persons to whom the Software is
|
|
||||||
" furnished to do so, subject to the following conditions:
|
|
||||||
"
|
|
||||||
" The above copyright notice and this permission notice shall be included in
|
|
||||||
" all copies or substantial portions of the Software.
|
|
||||||
"
|
|
||||||
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
" THE SOFTWARE.
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
|
|
||||||
hi clear
|
|
||||||
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let colors_name = "jellybeans"
|
|
||||||
|
|
||||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
|
||||||
let s:low_color = 0
|
|
||||||
else
|
|
||||||
let s:low_color = 1
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Color approximation functions by Henry So, Jr. and David Liang {{{
|
|
||||||
" Added to jellybeans.vim by Daniel Herbert
|
|
||||||
|
|
||||||
" returns an approximate grey index for the given grey level
|
|
||||||
fun! s: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! s: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! s: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! s: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! s: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! s: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! s:color(r, g, b)
|
|
||||||
" get the closest grey
|
|
||||||
let l:gx = s:grey_number(a:r)
|
|
||||||
let l:gy = s:grey_number(a:g)
|
|
||||||
let l:gz = s:grey_number(a:b)
|
|
||||||
|
|
||||||
" get the closest color
|
|
||||||
let l:x = s:rgb_number(a:r)
|
|
||||||
let l:y = s:rgb_number(a:g)
|
|
||||||
let l:z = s:rgb_number(a:b)
|
|
||||||
|
|
||||||
if l:gx == l:gy && l:gy == l:gz
|
|
||||||
" there are two possibilities
|
|
||||||
let l:dgr = s:grey_level(l:gx) - a:r
|
|
||||||
let l:dgg = s:grey_level(l:gy) - a:g
|
|
||||||
let l:dgb = s:grey_level(l:gz) - a:b
|
|
||||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
|
||||||
let l:dr = s:rgb_level(l:gx) - a:r
|
|
||||||
let l:dg = s:rgb_level(l:gy) - a:g
|
|
||||||
let l:db = s: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 s:grey_color(l:gx)
|
|
||||||
else
|
|
||||||
" use the color
|
|
||||||
return s:rgb_color(l:x, l:y, l:z)
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
" only one possibility
|
|
||||||
return s:rgb_color(l:x, l:y, l:z)
|
|
||||||
endif
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" returns the palette index to approximate the 'rrggbb' hex string
|
|
||||||
fun! s: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 s:color(l:r, l:g, l:b)
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" sets the highlighting for the given group
|
|
||||||
fun! s:X(group, fg, bg, attr, lcfg, lcbg)
|
|
||||||
if s:low_color
|
|
||||||
let l:fge = empty(a:lcfg)
|
|
||||||
let l:bge = empty(a:lcbg)
|
|
||||||
|
|
||||||
if !l:fge && !l:bge
|
|
||||||
exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=".a:lcbg
|
|
||||||
elseif !l:fge && l:bge
|
|
||||||
exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=NONE"
|
|
||||||
elseif l:fge && !l:bge
|
|
||||||
exec "hi ".a:group." ctermfg=NONE ctermbg=".a:lcbg
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
let l:fge = empty(a:fg)
|
|
||||||
let l:bge = empty(a:bg)
|
|
||||||
|
|
||||||
if !l:fge && !l:bge
|
|
||||||
exec "hi ".a:group." guifg=#".a:fg." guibg=#".a:bg." ctermfg=".s:rgb(a:fg)." ctermbg=".s:rgb(a:bg)
|
|
||||||
elseif !l:fge && l:bge
|
|
||||||
exec "hi ".a:group." guifg=#".a:fg." guibg=NONE ctermfg=".s:rgb(a:fg)
|
|
||||||
elseif l:fge && !l:bge
|
|
||||||
exec "hi ".a:group." guifg=NONE guibg=#".a:bg." ctermbg=".s:rgb(a:bg)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if a:attr == ""
|
|
||||||
exec "hi ".a:group." gui=none cterm=none"
|
|
||||||
else
|
|
||||||
if a:attr == 'italic'
|
|
||||||
exec "hi ".a:group." gui=".a:attr." cterm=none"
|
|
||||||
else
|
|
||||||
exec "hi ".a:group." gui=".a:attr." cterm=".a:attr
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endfun
|
|
||||||
" }}}
|
|
||||||
|
|
||||||
if version >= 700
|
|
||||||
call s:X("CursorLine","","1c1c1c","","","")
|
|
||||||
call s:X("CursorColumn","","1c1c1c","","","")
|
|
||||||
call s:X("MatchParen","ffffff","80a090","bold","","")
|
|
||||||
|
|
||||||
call s:X("TabLine","000000","b0b8c0","italic","","Black")
|
|
||||||
call s:X("TabLineFill","9098a0","","","","")
|
|
||||||
call s:X("TabLineSel","000000","f0f0f0","italic,bold","","")
|
|
||||||
|
|
||||||
" Auto-completion
|
|
||||||
call s:X("Pmenu","ffffff","000000","","","")
|
|
||||||
call s:X("PmenuSel","101010","eeeeee","","","")
|
|
||||||
endif
|
|
||||||
|
|
||||||
call s:X("Visual","","404040","","","")
|
|
||||||
call s:X("Cursor","","b0d0f0","","","")
|
|
||||||
|
|
||||||
call s:X("Normal","e8e8d3","151515","","White","")
|
|
||||||
call s:X("LineNr","605958","151515","none","Black","")
|
|
||||||
call s:X("Comment","888888","","italic","Grey","")
|
|
||||||
call s:X("Todo","808080","","bold","","")
|
|
||||||
|
|
||||||
call s:X("StatusLine","f0f0f0","101010","italic","","")
|
|
||||||
call s:X("StatusLineNC","a0a0a0","181818","italic","","")
|
|
||||||
call s:X("VertSplit","181818","181818","italic","","")
|
|
||||||
|
|
||||||
call s:X("Folded","a0a8b0","384048","italic","black","")
|
|
||||||
call s:X("FoldColumn","a0a8b0","384048","","","")
|
|
||||||
call s:X("SignColumn","a0a8b0","384048","","","")
|
|
||||||
|
|
||||||
call s:X("Title","70b950","","bold","","")
|
|
||||||
|
|
||||||
call s:X("Constant","cf6a4c","","","Red","")
|
|
||||||
call s:X("Special","799d6a","","","Green","")
|
|
||||||
call s:X("Delimiter","668799","","","Grey","")
|
|
||||||
|
|
||||||
call s:X("String","99ad6a","","","Green","")
|
|
||||||
call s:X("StringDelimiter","556633","","","DarkGreen","")
|
|
||||||
|
|
||||||
call s:X("Identifier","c6b6ee","","","LightCyan","")
|
|
||||||
call s:X("Structure","8fbfdc","","","LightCyan","")
|
|
||||||
call s:X("Function","fad07a","","","Yellow","")
|
|
||||||
call s:X("Statement","8197bf","","","DarkBlue","")
|
|
||||||
call s:X("PreProc","8fbfdc","","","LightBlue","")
|
|
||||||
|
|
||||||
hi link Operator Normal
|
|
||||||
|
|
||||||
call s:X("Type","ffb964","","","Yellow","")
|
|
||||||
call s:X("NonText","808080","151515","","","")
|
|
||||||
|
|
||||||
call s:X("SpecialKey","808080","343434","","","")
|
|
||||||
|
|
||||||
call s:X("Search","f0a0c0","302028","underline","Magenta","")
|
|
||||||
|
|
||||||
call s:X("Directory","dad085","","","","")
|
|
||||||
call s:X("ErrorMsg","","902020","","","")
|
|
||||||
hi link Error ErrorMsg
|
|
||||||
|
|
||||||
" Diff
|
|
||||||
|
|
||||||
hi link diffRemoved Constant
|
|
||||||
hi link diffAdded String
|
|
||||||
|
|
||||||
" VimDiff
|
|
||||||
|
|
||||||
call s:X("DiffAdd","","032218","","Black","DarkGreen")
|
|
||||||
call s:X("DiffChange","","100920","","Black","DarkMagenta")
|
|
||||||
call s:X("DiffDelete","220000","220000","","DarkRed","DarkRed")
|
|
||||||
call s:X("DiffText","","000940","","","DarkRed")
|
|
||||||
|
|
||||||
" PHP
|
|
||||||
|
|
||||||
hi link phpFunctions Function
|
|
||||||
call s:X("StorageClass","c59f6f","","","Red","")
|
|
||||||
hi link phpSuperglobal Identifier
|
|
||||||
hi link phpQuoteSingle StringDelimiter
|
|
||||||
hi link phpQuoteDouble StringDelimiter
|
|
||||||
hi link phpBoolean Constant
|
|
||||||
hi link phpNull Constant
|
|
||||||
hi link phpArrayPair Operator
|
|
||||||
|
|
||||||
" Ruby
|
|
||||||
|
|
||||||
hi link rubySharpBang Comment
|
|
||||||
call s:X("rubyClass","447799","","","DarkBlue","")
|
|
||||||
call s:X("rubyIdentifier","c6b6fe","","","","")
|
|
||||||
|
|
||||||
call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","")
|
|
||||||
call s:X("rubySymbol","7697d6","","","Blue","")
|
|
||||||
hi link rubyGlobalVariable rubyInstanceVariable
|
|
||||||
hi link rubyModule rubyClass
|
|
||||||
call s:X("rubyControl","7597c6","","","","")
|
|
||||||
|
|
||||||
hi link rubyString String
|
|
||||||
hi link rubyStringDelimiter StringDelimiter
|
|
||||||
hi link rubyInterpolationDelimiter Identifier
|
|
||||||
|
|
||||||
call s:X("rubyRegexpDelimiter","540063","","","Magenta","")
|
|
||||||
call s:X("rubyRegexp","dd0093","","","DarkMagenta","")
|
|
||||||
call s:X("rubyRegexpSpecial","a40073","","","Magenta","")
|
|
||||||
|
|
||||||
call s:X("rubyPredefinedIdentifier","de5577","","","Red","")
|
|
||||||
|
|
||||||
" JavaScript
|
|
||||||
hi link javaScriptValue Constant
|
|
||||||
hi link javaScriptRegexpString rubyRegexp
|
|
||||||
|
|
||||||
" Tag list
|
|
||||||
hi link TagListFileName Directory
|
|
||||||
|
|
||||||
" delete functions {{{
|
|
||||||
delf s:X
|
|
||||||
delf s:rgb
|
|
||||||
delf s:color
|
|
||||||
delf s:rgb_color
|
|
||||||
delf s:rgb_level
|
|
||||||
delf s:rgb_number
|
|
||||||
delf s:grey_color
|
|
||||||
delf s:grey_level
|
|
||||||
delf s:grey_number
|
|
||||||
" }}}
|
|
@ -1,236 +0,0 @@
|
|||||||
" Description: a colour scheme inspired by kellys bicycles
|
|
||||||
" Maintainer: kamil.stachowski@gmail.com
|
|
||||||
" License: gpl 3+
|
|
||||||
" Version: 0.3 (2008.12.07)
|
|
||||||
|
|
||||||
" changelog:
|
|
||||||
" 0.3: 2008.12.07
|
|
||||||
" finished ada, haskell, html, lisp, pascal, php, python, ruby, scheme, sh, xml and vim
|
|
||||||
" changed preproc to slightly darker
|
|
||||||
" changed statement to bold
|
|
||||||
" 0.2: 2008.12.02
|
|
||||||
" added support for 256-colour terminal
|
|
||||||
" added diff*, pmenu* and wildmenu
|
|
||||||
" added some cpp, java*, python*, some sh and ruby*
|
|
||||||
" removed italic from comments and made them slightly lighter
|
|
||||||
" 0.1: 2008.11.28
|
|
||||||
" initial version
|
|
||||||
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
|
|
||||||
if version > 580
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
let colors_name = "kellys"
|
|
||||||
|
|
||||||
" black 2a2b2f 235
|
|
||||||
" blue 62acce 81
|
|
||||||
" blue slight 9ab2c8 74
|
|
||||||
" brown slight d1c79e 144
|
|
||||||
" green yellowy d1d435 184
|
|
||||||
" grey dark 67686b 240
|
|
||||||
" grey light e1e0e5 254
|
|
||||||
" orange e6ac32 178
|
|
||||||
" red 9d0e15 124
|
|
||||||
|
|
||||||
" tabline
|
|
||||||
|
|
||||||
if has("gui_running")
|
|
||||||
hi Comment guifg=#67686b guibg=#2a2b2f gui=none
|
|
||||||
hi Cursor guifg=#2a2b2f guibg=#e1e0e5 gui=none
|
|
||||||
hi Constant guifg=#d1c79e guibg=#2a2b2f gui=none
|
|
||||||
hi CursorLine guibg=#303132 gui=none
|
|
||||||
hi DiffAdd guifg=#2a2b2f guibg=#9ab2c8 gui=none
|
|
||||||
hi DiffChange guifg=#2a2b2f guibg=#d1c79e gui=none
|
|
||||||
hi DiffDelete guifg=#67686b guibg=#2a2b2f gui=none
|
|
||||||
hi DiffText guifg=#9d0e15 guibg=#d1c79e gui=none
|
|
||||||
hi Folded guifg=#2a2b2f guibg=#67686b gui=none
|
|
||||||
hi MatchParen guifg=#d1d435 guibg=#2a2b2f gui=bold,underline
|
|
||||||
hi ModeMsg guifg=#e1e0e5 guibg=#2a2b2f gui=bold
|
|
||||||
hi Normal guifg=#e1e0e5 guibg=#2a2b2f gui=none
|
|
||||||
hi Pmenu guifg=#2a2b2f guibg=#9ab2c8 gui=none
|
|
||||||
hi PmenuSel guifg=#2a2b2f guibg=#62acce gui=bold
|
|
||||||
hi PmenuSbar guifg=#2a2b2f guibg=#2a2b2f gui=none
|
|
||||||
hi PmenuThumb guifg=#2a2b2f guibg=#62acce gui=none
|
|
||||||
hi PreProc guifg=#d1d435 guibg=#2a2b2f gui=none
|
|
||||||
hi Search guifg=#2a2b2f guibg=#e1e0e5 gui=none
|
|
||||||
hi Special guifg=#9ab2c8 guibg=#2a2b2f gui=none
|
|
||||||
hi Statement guifg=#62acce guibg=#2a2b2f gui=bold
|
|
||||||
hi StatusLine guifg=#2a2b2f guibg=#62acce gui=bold
|
|
||||||
hi StatusLineNC guifg=#2a2b2f guibg=#e1e0e5 gui=none
|
|
||||||
hi Todo guifg=#e1e0e5 guibg=#9d0e15 gui=bold
|
|
||||||
hi Type guifg=#e6ac32 guibg=#2a2b2f gui=none
|
|
||||||
hi Underlined guifg=#e1e0e5 guibg=#2a2b2f gui=underline
|
|
||||||
hi Visual guifg=#2a2b2f guibg=#e1e0e5 gui=none
|
|
||||||
hi Wildmenu guifg=#62acce guibg=#2a2b2f gui=bold
|
|
||||||
else
|
|
||||||
if &t_Co == 256
|
|
||||||
hi Comment ctermfg=239 ctermbg=235 cterm=none
|
|
||||||
hi Cursor ctermfg=235 ctermbg=254 cterm=none
|
|
||||||
hi Constant ctermfg=144 ctermbg=235 cterm=none
|
|
||||||
hi CursorLine ctermbg=236 cterm=none
|
|
||||||
hi DiffAdd ctermfg=235 ctermbg=74 cterm=none
|
|
||||||
hi DiffChange ctermfg=235 ctermbg=144 cterm=none
|
|
||||||
hi DiffDelete ctermfg=239 ctermbg=235 cterm=none
|
|
||||||
hi DiffText ctermfg=124 ctermbg=144 cterm=none
|
|
||||||
hi Folded ctermfg=239 ctermbg=235 cterm=none
|
|
||||||
hi MatchParen ctermfg=184 ctermbg=235 cterm=bold,underline
|
|
||||||
hi ModeMsg ctermfg=254 ctermbg=235 cterm=bold
|
|
||||||
hi Normal ctermfg=254 ctermbg=235 cterm=none
|
|
||||||
hi Pmenu ctermfg=235 ctermbg=74 cterm=none
|
|
||||||
hi PmenuSel ctermfg=235 ctermbg=81 cterm=bold
|
|
||||||
hi PmenuSbar ctermfg=235 ctermbg=235 cterm=none
|
|
||||||
hi PmenuThumb ctermfg=235 ctermbg=81 cterm=none
|
|
||||||
hi PreProc ctermfg=184 ctermbg=235 cterm=none
|
|
||||||
hi Search ctermfg=235 ctermbg=254 cterm=none
|
|
||||||
hi Special ctermfg=74 ctermbg=235 cterm=none
|
|
||||||
hi Statement ctermfg=81 ctermbg=235 cterm=none
|
|
||||||
hi StatusLine ctermfg=235 ctermbg=81 cterm=bold
|
|
||||||
hi StatusLineNC ctermfg=235 ctermbg=254 cterm=none
|
|
||||||
hi Todo ctermfg=254 ctermbg=124 cterm=bold
|
|
||||||
hi Type ctermfg=178 ctermbg=234 cterm=none
|
|
||||||
hi Underlined ctermfg=254 ctermbg=234 cterm=underline
|
|
||||||
hi Visual ctermfg=235 ctermbg=254 cterm=none
|
|
||||||
hi Wildmenu ctermfg=81 ctermbg=234 cterm=bold
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
hi! link Boolean Constant
|
|
||||||
hi! link Character Constant
|
|
||||||
hi! link Conditional Statement
|
|
||||||
hi! link CursorColumn CursorLine
|
|
||||||
hi! link Debug Special
|
|
||||||
hi! link Define PreProc
|
|
||||||
hi! link Delimiter Special
|
|
||||||
hi! link Directory Type
|
|
||||||
hi! link Error Todo
|
|
||||||
hi! link ErrorMsg Error
|
|
||||||
hi! link Exception Statement
|
|
||||||
hi! link Float Constant
|
|
||||||
hi! link FoldColumn Folded
|
|
||||||
hi! link Function Normal
|
|
||||||
hi! link Identifier Special
|
|
||||||
hi! link Ignore Comment
|
|
||||||
hi! link IncSearch Search
|
|
||||||
hi! link Include PreProc
|
|
||||||
hi! link Keyword Statement
|
|
||||||
hi! link Label Statement
|
|
||||||
hi! link LineNr Comment
|
|
||||||
hi! link Macro PreProc
|
|
||||||
hi! link MoreMsg ModeMsg
|
|
||||||
hi! link NonText Comment
|
|
||||||
hi! link Number Constant
|
|
||||||
hi! link Operator Special
|
|
||||||
hi! link PreCondit PreProc
|
|
||||||
hi! link Question MoreMsg
|
|
||||||
hi! link Repeat Statement
|
|
||||||
hi! link SignColumn FoldColumn
|
|
||||||
hi! link SpecialChar Special
|
|
||||||
hi! link SpecialComment Special
|
|
||||||
hi! link SpecialKey Special
|
|
||||||
hi! link SpellBad Error
|
|
||||||
hi! link SpellCap Error
|
|
||||||
hi! link SpellLocal Error
|
|
||||||
hi! link SpellRare Error
|
|
||||||
hi! link StorageClass Type
|
|
||||||
hi! link String Constant
|
|
||||||
hi! link Structure Type
|
|
||||||
hi! link Tag Special
|
|
||||||
hi! link Title ModeMsg
|
|
||||||
hi! link Typedef Type
|
|
||||||
hi! link VertSplit StatusLineNC
|
|
||||||
hi! link WarningMsg Error
|
|
||||||
|
|
||||||
" ada
|
|
||||||
hi! link adaBegin Type
|
|
||||||
hi! link adaEnd Type
|
|
||||||
hi! link adaKeyword Special
|
|
||||||
" c++
|
|
||||||
hi! link cppAccess Type
|
|
||||||
hi! link cppStatement Special
|
|
||||||
" hs
|
|
||||||
hi! link ConId Type
|
|
||||||
hi! link hsPragma PreProc
|
|
||||||
hi! link hsConSym Operator
|
|
||||||
" html
|
|
||||||
hi! link htmlArg Statement
|
|
||||||
hi! link htmlEndTag Special
|
|
||||||
hi! link htmlLink Underlined
|
|
||||||
hi! link htmlSpecialTagName PreProc
|
|
||||||
hi! link htmlTag Special
|
|
||||||
hi! link htmlTagName Type
|
|
||||||
" java
|
|
||||||
hi! link javaTypeDef Special
|
|
||||||
" lisp
|
|
||||||
hi! link lispAtom Constant
|
|
||||||
hi! link lispAtomMark Constant
|
|
||||||
hi! link lispConcat Special
|
|
||||||
hi! link lispDecl Type
|
|
||||||
hi! link lispFunc Special
|
|
||||||
hi! link lispKey PreProc
|
|
||||||
" pas
|
|
||||||
hi! link pascalAsmKey Statement
|
|
||||||
hi! link pascalDirective PreProc
|
|
||||||
hi! link pascalModifier PreProc
|
|
||||||
hi! link pascalPredefined Special
|
|
||||||
hi! link pascalStatement Type
|
|
||||||
hi! link pascalStruct Type
|
|
||||||
" php
|
|
||||||
hi! link phpComparison Special
|
|
||||||
hi! link phpDefine Normal
|
|
||||||
hi! link phpIdentifier Normal
|
|
||||||
hi! link phpMemberSelector Special
|
|
||||||
hi! link phpRegion Special
|
|
||||||
hi! link phpVarSelector Special
|
|
||||||
" py
|
|
||||||
hi! link pythonStatement Type
|
|
||||||
" rb
|
|
||||||
hi! link rubyConstant Special
|
|
||||||
hi! link rubyDefine Type
|
|
||||||
hi! link rubyRegexp Special
|
|
||||||
" scm
|
|
||||||
hi! link schemeSyntax Special
|
|
||||||
" sh
|
|
||||||
hi! link shArithRegion Normal
|
|
||||||
hi! link shDerefSimple Normal
|
|
||||||
hi! link shDerefVar Normal
|
|
||||||
hi! link shFunction Type
|
|
||||||
hi! link shLoop Statement
|
|
||||||
hi! link shStatement Special
|
|
||||||
hi! link shVariable Normal
|
|
||||||
" sql
|
|
||||||
hi! link sqlKeyword Statement
|
|
||||||
" vim
|
|
||||||
hi! link vimCommand Statement
|
|
||||||
hi! link vimCommentTitle Normal
|
|
||||||
hi! link vimEnvVar Special
|
|
||||||
hi! link vimFuncKey Type
|
|
||||||
hi! link vimGroup Special
|
|
||||||
hi! link vimHiAttrib Constant
|
|
||||||
hi! link vimHiCTerm Special
|
|
||||||
hi! link vimHiCtermFgBg Special
|
|
||||||
hi! link vimHighlight Special
|
|
||||||
hi! link vimHiGui Special
|
|
||||||
hi! link vimHiGuiFgBg Special
|
|
||||||
hi! link vimOption Special
|
|
||||||
hi! link vimSyntax Special
|
|
||||||
hi! link vimSynType Special
|
|
||||||
hi! link vimUserAttrb Special
|
|
||||||
" xml
|
|
||||||
hi! link xmlAttrib Special
|
|
||||||
hi! link xmlCdata Normal
|
|
||||||
hi! link xmlCdataCdata Statement
|
|
||||||
hi! link xmlCdataEnd PreProc
|
|
||||||
hi! link xmlCdataStart PreProc
|
|
||||||
hi! link xmlDocType PreProc
|
|
||||||
hi! link xmlDocTypeDecl PreProc
|
|
||||||
hi! link xmlDocTypeKeyword PreProc
|
|
||||||
hi! link xmlEndTag Statement
|
|
||||||
hi! link xmlProcessingDelim PreProc
|
|
||||||
hi! link xmlNamespace PreProc
|
|
||||||
hi! link xmlTagName Statement
|
|
@ -1,150 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Maintainer: Lorenzo Leonini <vim-theme[a]leonini[.]net>
|
|
||||||
" Last Change: 2009 Feb 23
|
|
||||||
" URL: http://www.leonini.net
|
|
||||||
|
|
||||||
" Description:
|
|
||||||
" A contrasted theme for long programming sessions.
|
|
||||||
" Specially for 256-colors term (xterm, Eterm, konsole, gnome-terminal, ...)
|
|
||||||
" Very good with Ruby, C, Lua, PHP, HTML, shell...
|
|
||||||
" (but no using language specific settings)
|
|
||||||
|
|
||||||
" Note:
|
|
||||||
" If your term report 8 colors (but is 256 capable), put 'set t_Co=256'
|
|
||||||
" in your .vimrc
|
|
||||||
|
|
||||||
" Tips:
|
|
||||||
" :verbose hi StatusLine
|
|
||||||
" Color numbers (0-255) see:
|
|
||||||
" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
|
|
||||||
" :so $VIMRUNTIME/syntax/hitest.vim
|
|
||||||
|
|
||||||
" 0.81 => 0.82
|
|
||||||
" menu backgrounf lighter
|
|
||||||
" LineNr
|
|
||||||
" gui comments in italic
|
|
||||||
"
|
|
||||||
" 0.8 => 0.81
|
|
||||||
" invisible char
|
|
||||||
" line number
|
|
||||||
" status bar
|
|
||||||
" add MatchParen
|
|
||||||
" add Underlined
|
|
||||||
"
|
|
||||||
" 0.6 => 0.8
|
|
||||||
" GUI fixed, color < 16 fixed
|
|
||||||
" comments from 247 => 249
|
|
||||||
" main color 255 => 254
|
|
||||||
" boolean and numbers more visible
|
|
||||||
"
|
|
||||||
" 0.5 => 0.6
|
|
||||||
" Synchro with GUI
|
|
||||||
|
|
||||||
" 0.3 => 0.5
|
|
||||||
" Ligther vertical separation
|
|
||||||
" Better diff
|
|
||||||
" Better pmenu
|
|
||||||
" Uniformisation between status bar, tabs and pmenu
|
|
||||||
" Added spell hl
|
|
||||||
" Change search highlight (I don't use it...)
|
|
||||||
" Folding done
|
|
||||||
" All in 256 code
|
|
||||||
|
|
||||||
if !has("gui_running")
|
|
||||||
if &t_Co != 256
|
|
||||||
echomsg "err: Please use a 256-colors terminal (so that t_Co=256 could be set)."
|
|
||||||
echomsg ""
|
|
||||||
finish
|
|
||||||
end
|
|
||||||
endif
|
|
||||||
|
|
||||||
let g:colors_name = "leo256"
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
if v:version > 580
|
|
||||||
highlight clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Normal should come first
|
|
||||||
hi Normal cterm=none ctermfg=255 ctermbg=16 guibg=#000000 guifg=#ffffff
|
|
||||||
hi CursorLine cterm=none ctermbg=16 guibg=#101010
|
|
||||||
hi DiffAdd cterm=none ctermbg=235 guibg=#262626
|
|
||||||
hi DiffChange cterm=none ctermbg=235 guibg=#262626
|
|
||||||
hi DiffDelete cterm=none ctermfg=238 ctermbg=244 guibg=#808080 guifg=#444444
|
|
||||||
hi DiffText cterm=bold ctermfg=255 ctermbg=196 guifg=#ffffff
|
|
||||||
hi Directory cterm=none ctermfg=196
|
|
||||||
hi ErrorMsg cterm=none ctermfg=255 ctermbg=160 guifg=#ffffff
|
|
||||||
hi FoldColumn cterm=none ctermfg=110 ctermbg=16 guibg=#000000
|
|
||||||
hi SignColumn cterm=none ctermbg=16 guibg=#000000
|
|
||||||
hi Folded cterm=none ctermfg=16 ctermbg=110 guifg=#000000 guibg=#87afd7
|
|
||||||
hi IncSearch cterm=reverse
|
|
||||||
hi LineNr cterm=none ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000
|
|
||||||
hi ModeMsg cterm=bold
|
|
||||||
hi MoreMsg cterm=none ctermfg=40
|
|
||||||
hi NonText cterm=none ctermfg=27
|
|
||||||
hi Question cterm=none ctermfg=40
|
|
||||||
hi Search cterm=none ctermfg=16 ctermbg=248 guifg=#000000 guibg=#a8a8a8
|
|
||||||
hi SpecialKey cterm=none ctermfg=245 ctermbg=233 guifg=#8a8a8a guibg=#121212
|
|
||||||
hi StatusLine cterm=bold ctermfg=255 ctermbg=19 guifg=#0000ff guibg=#ffffff
|
|
||||||
hi StatusLineNC cterm=none ctermfg=252 ctermbg=17 guibg=#d0d0d0 guifg=#00005f
|
|
||||||
hi Title cterm=none ctermfg=33
|
|
||||||
hi VertSplit cterm=none ctermfg=254 ctermbg=16 guibg=#EEEEEE guifg=#000000
|
|
||||||
hi Visual cterm=reverse ctermbg=none
|
|
||||||
hi VisualNOS cterm=underline,bold
|
|
||||||
hi WarningMsg cterm=none ctermfg=255 guifg=#ffffff
|
|
||||||
hi WildMenu cterm=none ctermfg=16 ctermbg=11
|
|
||||||
|
|
||||||
if v:version >= 700
|
|
||||||
" light
|
|
||||||
"hi Pmenu cterm=none ctermfg=16 ctermbg=252
|
|
||||||
"hi PmenuSel cterm=none ctermfg=255 ctermbg=21
|
|
||||||
"hi PmenuSbar cterm=none ctermfg=240 ctermbg=240
|
|
||||||
"hi PmenuThumb cterm=none ctermfg=255 ctermbg=255
|
|
||||||
|
|
||||||
"dark
|
|
||||||
hi Pmenu cterm=none ctermfg=255 ctermbg=237 guibg=#262626 guifg=#ffffff
|
|
||||||
hi PmenuSel cterm=none ctermfg=255 ctermbg=21 guibg=#0000ff guifg=#ffffff
|
|
||||||
hi PmenuSbar cterm=none ctermfg=240 ctermbg=240 guibg=#444444
|
|
||||||
hi PmenuThumb cterm=none ctermfg=255 ctermbg=255 guifg=#ffffff
|
|
||||||
|
|
||||||
hi SpellBad cterm=none ctermfg=16 ctermbg=196
|
|
||||||
hi SpellCap cterm=none ctermfg=16 ctermbg=196
|
|
||||||
hi SpellLocal cterm=none ctermfg=16 ctermbg=196
|
|
||||||
hi SpellRare cterm=none ctermfg=16 ctermbg=196
|
|
||||||
|
|
||||||
" No need for GUI colors :)
|
|
||||||
hi TabLine cterm=none ctermfg=252 ctermbg=17
|
|
||||||
hi TabLineSel cterm=none ctermfg=255 ctermbg=21
|
|
||||||
hi TabLineFill cterm=none ctermfg=17 ctermbg=17
|
|
||||||
|
|
||||||
hi MatchParen cterm=none ctermfg=16 ctermbg=226 guibg=#ffff00 guifg=#000000
|
|
||||||
endif
|
|
||||||
|
|
||||||
" syntax highlighting
|
|
||||||
hi Boolean cterm=none ctermfg=171 guifg=#d75fff
|
|
||||||
hi Character cterm=none ctermfg=184
|
|
||||||
hi Comment cterm=none ctermfg=248 gui=italic guifg=#a8a8a8
|
|
||||||
hi Constant cterm=none ctermfg=226 guifg=#ffff00
|
|
||||||
hi Conditional cterm=none ctermfg=154 guifg=#afff00
|
|
||||||
hi Define cterm=bold ctermfg=27 gui=bold guifg=#005fff
|
|
||||||
hi Delimiter cterm=none ctermfg=196 guifg=#ff0000
|
|
||||||
hi Exception cterm=bold ctermfg=226 gui=bold guifg=#ffff00
|
|
||||||
hi Error cterm=none ctermfg=255 ctermbg=9 guifg=#ffffff
|
|
||||||
hi Keyword cterm=none ctermfg=159 guifg=#afffff
|
|
||||||
hi Function cterm=none ctermfg=196 guifg=#ff0000
|
|
||||||
hi Identifier cterm=none ctermfg=33 guifg=#0087ff
|
|
||||||
hi Number cterm=none ctermfg=209 guifg=#ff875f
|
|
||||||
hi Operator cterm=none ctermfg=226 guifg=#ffff00
|
|
||||||
hi PreProc cterm=none ctermfg=202 guifg=#ff5f00
|
|
||||||
hi Special cterm=none ctermfg=206 ctermbg=234 guifg=#ff5fd7 guibg=#1c1c1c
|
|
||||||
hi Statement cterm=none ctermfg=40 gui=none guifg=#00d700
|
|
||||||
hi String cterm=none ctermfg=224 ctermbg=234 guifg=#ffd7d7 guibg=#1c1c1c
|
|
||||||
hi Todo cterm=none ctermfg=16 ctermbg=226 guifg=#000000 guibg=#ffff00
|
|
||||||
hi Type cterm=none ctermfg=75 gui=none guifg=#5fafff
|
|
||||||
hi Underlined cterm=underline ctermfg=39 gui=underline guifg=#00afff
|
|
||||||
|
|
||||||
" ADDITIONNAL
|
|
||||||
hi Repeat cterm=none ctermfg=142 guifg=#afaf00
|
|
@ -1,215 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Version: 1.2 2007.08.08
|
|
||||||
" Author: Valyaeff Valentin <hhyperr AT gmail DOT com>
|
|
||||||
" License: GPL
|
|
||||||
"
|
|
||||||
" Copyright 2007 Valyaeff Valentin
|
|
||||||
"
|
|
||||||
" This program is free software: you can redistribute it and/or modify
|
|
||||||
" it under the terms of the GNU General Public License as published by
|
|
||||||
" the Free Software Foundation, either version 3 of the License, or
|
|
||||||
" (at your option) any later version.
|
|
||||||
"
|
|
||||||
" This program is distributed in the hope that it will be useful,
|
|
||||||
" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
" GNU General Public License for more details.
|
|
||||||
"
|
|
||||||
" You should have received a copy of the GNU General Public License
|
|
||||||
" along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
let g:colors_name="lettuce"
|
|
||||||
|
|
||||||
|
|
||||||
augroup Syntax_extensions
|
|
||||||
au!
|
|
||||||
au Syntax c,cpp,ruby,javascript syn match Operator "[*/%&|!=><^~,.;:?+-]\+" display contains=TOP
|
|
||||||
au Syntax c,cpp syn region cParen matchgroup=Operator transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,cCppString,@Spell
|
|
||||||
au Syntax c,cpp syn region cCppParen matchgroup=Operator transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString,@Spell
|
|
||||||
au Syntax c,cpp syn region cBracket matchgroup=Operator transparent start='\[\|<::\@!' end=']\|:>' contains=ALLBUT,@cParenGroup,cErrInParen,cCppParen,cCppBracket,cCppString,@Spell
|
|
||||||
au Syntax c,cpp syn region cCppBracket matchgroup=Operator transparent start='\[\|<::\@!' skip='\\$' excludenl end=']\|:>' end='$' contained contains=ALLBUT,@cParenGroup,cErrInParen,cParen,cBracket,cString,@Spell
|
|
||||||
au Syntax c,cpp syn region cBlock matchgroup=OperatorCurlyBrackets start="{" end="}" transparent fold
|
|
||||||
au Syntax ruby syn match rubyBlockParameter "\%(\%(\<do\>\|{\)\s*\)\@<=|\s*[( ,a-zA-Z0-9_*)]\+\ze\s*|"hs=s+1 display
|
|
||||||
au Syntax ruby syn region rubyCurlyBlock matchgroup=Operator start="{" end="}" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo fold
|
|
||||||
au Syntax ruby syn region rubyParentheses matchgroup=Operator start="(" end=")" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo
|
|
||||||
au Syntax ruby syn region rubySquareBrackets matchgroup=Operator start="\[" end="\]" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo
|
|
||||||
au Syntax javascript syn region javascriptCurlyBrackets matchgroup=Operator start="{" end="}" transparent fold
|
|
||||||
au Syntax javascript syn region javascriptParentheses matchgroup=Operator start="(" end=")" transparent
|
|
||||||
au Syntax javascript syn region javascriptSquareBrackets matchgroup=Operator start="\[" end="\]" transparent
|
|
||||||
augroup END
|
|
||||||
|
|
||||||
|
|
||||||
if !has("gui_running")
|
|
||||||
|
|
||||||
hi rubyGlobalVariable cterm=none ctermfg=64
|
|
||||||
hi rubyPredefinedIdentifier cterm=bold ctermfg=64
|
|
||||||
hi def link rubyStringDelimiter String
|
|
||||||
|
|
||||||
hi Normal cterm=none ctermbg=232 ctermfg=189
|
|
||||||
hi StatusLine cterm=none ctermbg=236 ctermfg=231
|
|
||||||
hi StatusLineNC cterm=none ctermbg=236 ctermfg=103
|
|
||||||
hi User1 cterm=bold ctermbg=236 ctermfg=223
|
|
||||||
hi User2 cterm=none ctermbg=236 ctermfg=240
|
|
||||||
hi VertSplit cterm=none ctermbg=236 ctermfg=103
|
|
||||||
hi TabLine cterm=none ctermbg=236 ctermfg=145
|
|
||||||
hi TabLineFill cterm=none ctermbg=236
|
|
||||||
hi TabLineSel cterm=none ctermbg=240 ctermfg=253
|
|
||||||
hi LineNr cterm=none ctermfg=238
|
|
||||||
hi NonText cterm=bold ctermbg=233 ctermfg=241
|
|
||||||
hi Folded cterm=none ctermbg=234 ctermfg=136
|
|
||||||
hi FoldColumn cterm=none ctermbg=236 ctermfg=103
|
|
||||||
hi SignColumn cterm=none ctermbg=236 ctermfg=103
|
|
||||||
hi CursorColumn cterm=none ctermbg=234
|
|
||||||
hi CursorLine cterm=none ctermbg=234
|
|
||||||
hi IncSearch cterm=bold ctermbg=63 ctermfg=232
|
|
||||||
hi Search cterm=none ctermbg=36 ctermfg=232
|
|
||||||
hi Visual cterm=none ctermbg=24
|
|
||||||
hi WildMenu cterm=bold ctermbg=35 ctermfg=232
|
|
||||||
hi ModeMsg cterm=bold ctermfg=110
|
|
||||||
hi MoreMsg cterm=bold ctermfg=121
|
|
||||||
hi Question cterm=bold ctermfg=121
|
|
||||||
hi ErrorMsg cterm=none ctermbg=88 ctermfg=255
|
|
||||||
hi WarningMsg cterm=none ctermbg=58 ctermfg=255
|
|
||||||
hi SpecialKey cterm=none ctermfg=77
|
|
||||||
hi Title cterm=bold ctermfg=147
|
|
||||||
hi Directory ctermfg=105
|
|
||||||
hi DiffAdd cterm=none ctermbg=18
|
|
||||||
hi DiffChange cterm=none ctermbg=58
|
|
||||||
hi DiffDelete cterm=none ctermbg=52 ctermfg=58
|
|
||||||
hi DiffText cterm=none ctermbg=53
|
|
||||||
hi Pmenu cterm=none ctermbg=17 ctermfg=121
|
|
||||||
hi PmenuSel cterm=none ctermbg=24 ctermfg=121
|
|
||||||
hi PmenuSbar cterm=none ctermbg=19
|
|
||||||
hi PmenuThumb cterm=none ctermbg=37
|
|
||||||
hi MatchParen cterm=bold ctermbg=24
|
|
||||||
hi SpellBad cterm=none ctermbg=88
|
|
||||||
hi SpellCap cterm=none ctermbg=18
|
|
||||||
hi SpellLocal cterm=none ctermbg=30
|
|
||||||
hi SpellRare cterm=none ctermbg=90
|
|
||||||
|
|
||||||
hi Comment cterm=none ctermfg=138
|
|
||||||
hi Constant cterm=none ctermfg=215
|
|
||||||
hi String cterm=none ctermbg=235 ctermfg=215
|
|
||||||
hi Character cterm=none ctermbg=235 ctermfg=215
|
|
||||||
hi Number cterm=none ctermfg=34
|
|
||||||
hi Float cterm=none ctermfg=41
|
|
||||||
hi Identifier cterm=none ctermfg=186
|
|
||||||
hi Function cterm=none ctermfg=210
|
|
||||||
hi Statement cterm=bold ctermfg=63
|
|
||||||
hi Exception cterm=bold ctermfg=99
|
|
||||||
hi Operator cterm=none ctermfg=75
|
|
||||||
hi Label cterm=none ctermfg=63
|
|
||||||
hi PreProc cterm=bold ctermfg=36
|
|
||||||
hi Type cterm=bold ctermfg=71
|
|
||||||
hi Special cterm=none ctermbg=235 ctermfg=87
|
|
||||||
hi Underlined cterm=underline ctermfg=227
|
|
||||||
hi Ignore cterm=bold ctermfg=235
|
|
||||||
hi Error cterm=bold ctermbg=52 ctermfg=231
|
|
||||||
hi Todo cterm=bold ctermbg=143 ctermfg=16
|
|
||||||
|
|
||||||
hi OperatorCurlyBrackets cterm=bold ctermfg=75
|
|
||||||
|
|
||||||
" highlight modes
|
|
||||||
autocmd InsertEnter * hi StatusLine ctermbg=52
|
|
||||||
autocmd InsertEnter * hi User1 ctermbg=52
|
|
||||||
autocmd InsertEnter * hi User2 ctermbg=52
|
|
||||||
autocmd InsertLeave * hi User2 ctermbg=236
|
|
||||||
autocmd InsertLeave * hi User1 ctermbg=236
|
|
||||||
autocmd InsertLeave * hi StatusLine ctermbg=236
|
|
||||||
autocmd CmdwinEnter * hi StatusLine ctermbg=22
|
|
||||||
autocmd CmdwinEnter * hi User1 ctermbg=22
|
|
||||||
autocmd CmdwinEnter * hi User2 ctermbg=22
|
|
||||||
autocmd CmdwinLeave * hi User2 ctermbg=236
|
|
||||||
autocmd CmdwinLeave * hi User1 ctermbg=236
|
|
||||||
autocmd CmdwinLeave * hi StatusLine ctermbg=236
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
hi rubyGlobalVariable gui=none guifg=#5f8700
|
|
||||||
hi rubyPredefinedIdentifier gui=bold guifg=#5f8700
|
|
||||||
hi def link rubyStringDelimiter String
|
|
||||||
|
|
||||||
hi Normal gui=none guibg=#080808 guifg=#dfdfff
|
|
||||||
hi StatusLine gui=none guibg=#303030 guifg=#ffffff
|
|
||||||
hi StatusLineNC gui=none guibg=#303030 guifg=#8787af
|
|
||||||
hi User1 gui=bold guibg=#303030 guifg=#ffdfaf
|
|
||||||
hi User2 gui=none guibg=#303030 guifg=#585858
|
|
||||||
hi VertSplit gui=none guibg=#303030 guifg=#8787af
|
|
||||||
hi TabLine gui=none guibg=#303030 guifg=#afafaf
|
|
||||||
hi TabLineFill gui=none guibg=#303030
|
|
||||||
hi TabLineSel gui=none guibg=#585858 guifg=#dadada
|
|
||||||
hi LineNr gui=none guifg=#444444
|
|
||||||
hi NonText gui=bold guibg=#121212 guifg=#606060
|
|
||||||
hi Folded gui=none guibg=#1c1c1c guifg=#af8700
|
|
||||||
hi FoldColumn gui=none guibg=#303030 guifg=#8787af
|
|
||||||
hi SignColumn gui=none guibg=#303030 guifg=#8787af
|
|
||||||
hi CursorColumn gui=none guibg=#1c1c1c
|
|
||||||
hi CursorLine gui=none guibg=#1c1c1c
|
|
||||||
hi IncSearch gui=bold guibg=#5f5fff guifg=#080808
|
|
||||||
hi Search gui=none guibg=#00af87 guifg=#080808
|
|
||||||
hi Visual gui=none guibg=#005f87
|
|
||||||
hi WildMenu gui=bold guibg=#00af5f guifg=#080808
|
|
||||||
hi ModeMsg gui=bold guifg=#87afdf
|
|
||||||
hi MoreMsg gui=bold guifg=#87ffaf
|
|
||||||
hi Question gui=bold guifg=#87ffaf
|
|
||||||
hi ErrorMsg gui=none guibg=#870000 guifg=#eeeeee
|
|
||||||
hi WarningMsg gui=none guibg=#5f5f00 guifg=#eeeeee
|
|
||||||
hi SpecialKey gui=none guifg=#5fdf5f
|
|
||||||
hi Title gui=bold guifg=#afafff
|
|
||||||
hi Directory guifg=#8787ff
|
|
||||||
hi DiffAdd gui=none guibg=#000087
|
|
||||||
hi DiffChange gui=none guibg=#5f5f00
|
|
||||||
hi DiffDelete gui=none guibg=#5f0000 guifg=#5f5f00
|
|
||||||
hi DiffText gui=none guibg=#5f005f
|
|
||||||
hi Pmenu gui=none guibg=#00005f guifg=#87ffaf
|
|
||||||
hi PmenuSel gui=none guibg=#005f87 guifg=#87ffaf
|
|
||||||
hi PmenuSbar gui=none guibg=#0000af
|
|
||||||
hi PmenuThumb gui=none guibg=#00afaf
|
|
||||||
hi MatchParen gui=bold guibg=#005f87
|
|
||||||
hi SpellBad gui=none guibg=#870000
|
|
||||||
hi SpellCap gui=none guibg=#000087
|
|
||||||
hi SpellLocal gui=none guibg=#008787
|
|
||||||
hi SpellRare gui=none guibg=#870087
|
|
||||||
|
|
||||||
hi Comment gui=none guifg=#af8787
|
|
||||||
hi Constant gui=none guifg=#ffaf5f
|
|
||||||
hi String gui=none guibg=#262626 guifg=#ffaf5f
|
|
||||||
hi Character gui=none guibg=#262626 guifg=#ffaf5f
|
|
||||||
hi Number gui=none guifg=#00af00
|
|
||||||
hi Float gui=none guifg=#00df5f
|
|
||||||
hi Identifier gui=none guifg=#dfdf87
|
|
||||||
hi Function gui=none guifg=#ff8787
|
|
||||||
hi Statement gui=bold guifg=#5f5fff
|
|
||||||
hi Exception gui=bold guifg=#875fff
|
|
||||||
hi Operator gui=none guifg=#5fafff
|
|
||||||
hi Label gui=none guifg=#5f5fff
|
|
||||||
hi PreProc gui=bold guifg=#00af87
|
|
||||||
hi Type gui=bold guifg=#5faf5f
|
|
||||||
hi Special gui=none guibg=#262626 guifg=#5fffff
|
|
||||||
hi Underlined gui=underline guifg=#ffff5f
|
|
||||||
hi Ignore gui=bold guifg=#262626
|
|
||||||
hi Error gui=bold guibg=#5f0000 guifg=#ffffff
|
|
||||||
hi Todo gui=bold guibg=#afaf5f guifg=#000000
|
|
||||||
|
|
||||||
hi OperatorCurlyBrackets gui=bold guifg=#5fafff
|
|
||||||
|
|
||||||
" highlight modes
|
|
||||||
autocmd InsertEnter * hi StatusLine guibg=#5f0000
|
|
||||||
autocmd InsertEnter * hi User1 guibg=#5f0000
|
|
||||||
autocmd InsertEnter * hi User2 guibg=#5f0000
|
|
||||||
autocmd InsertLeave * hi User2 guibg=#303030
|
|
||||||
autocmd InsertLeave * hi User1 guibg=#303030
|
|
||||||
autocmd InsertLeave * hi StatusLine guibg=#303030
|
|
||||||
autocmd CmdwinEnter * hi StatusLine guibg=#005f00
|
|
||||||
autocmd CmdwinEnter * hi User1 guibg=#005f00
|
|
||||||
autocmd CmdwinEnter * hi User2 guibg=#005f00
|
|
||||||
autocmd CmdwinLeave * hi User2 guibg=#303030
|
|
||||||
autocmd CmdwinLeave * hi User1 guibg=#303030
|
|
||||||
autocmd CmdwinLeave * hi StatusLine guibg=#303030
|
|
||||||
|
|
||||||
end
|
|
@ -1,346 +0,0 @@
|
|||||||
" Vim color file
|
|
||||||
" Maintainer: Jonathan Filip <jfilip1024@gmail.com>
|
|
||||||
" Last Modified: Wed Oct 21, 2009 11:39AM
|
|
||||||
" Version: 3.1
|
|
||||||
"
|
|
||||||
" GUI / 256 color terminal
|
|
||||||
"
|
|
||||||
" I started out trying to combine my favorite parts of other schemes and ended
|
|
||||||
" up with this (oceandeep, moria, peaksea, wombat, zenburn).
|
|
||||||
"
|
|
||||||
" This file also tries to have descriptive comments for each higlighting group
|
|
||||||
" so it is easy to understand what each part does.
|
|
||||||
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
let colors_name="lucius"
|
|
||||||
|
|
||||||
" Some other colors to save
|
|
||||||
" blue: 3eb8e5
|
|
||||||
" green: 92d400
|
|
||||||
" c green: d5f876, cae682
|
|
||||||
" new blue: 002D62
|
|
||||||
" new gray: CCCCCC
|
|
||||||
|
|
||||||
|
|
||||||
" Base color
|
|
||||||
" ----------
|
|
||||||
hi Normal guifg=#e0e0e0 guibg=#202020
|
|
||||||
hi Normal ctermfg=253 ctermbg=235
|
|
||||||
|
|
||||||
|
|
||||||
" Comment Group
|
|
||||||
" -------------
|
|
||||||
" any comment
|
|
||||||
hi Comment guifg=#606060 gui=none
|
|
||||||
hi Comment ctermfg=240 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Constant Group
|
|
||||||
" --------------
|
|
||||||
" any constant
|
|
||||||
hi Constant guifg=#8cd0d3 gui=none
|
|
||||||
hi Constant ctermfg=116 cterm=none
|
|
||||||
" strings
|
|
||||||
hi String guifg=#80c0d9 gui=none
|
|
||||||
hi String ctermfg=110 cterm=none
|
|
||||||
" character constant
|
|
||||||
hi Character guifg=#80c0d9 gui=none
|
|
||||||
hi Character ctermfg=110 cterm=none
|
|
||||||
" numbers decimal/hex
|
|
||||||
hi Number guifg=#8cd0d3 gui=none
|
|
||||||
hi Number ctermfg=116 cterm=none
|
|
||||||
" true, false
|
|
||||||
hi Boolean guifg=#8cd0d3 gui=none
|
|
||||||
hi Boolean ctermfg=116 cterm=none
|
|
||||||
" float
|
|
||||||
hi Float guifg=#8cd0d3 gui=none
|
|
||||||
hi Float ctermfg=116 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Identifier Group
|
|
||||||
" ----------------
|
|
||||||
" any variable name
|
|
||||||
hi Identifier guifg=#efaf7f gui=none
|
|
||||||
hi Identifier ctermfg=216 cterm=none
|
|
||||||
" function, method, class
|
|
||||||
hi Function guifg=#efaf7f gui=none
|
|
||||||
hi Function ctermfg=216 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Statement Group
|
|
||||||
" ---------------
|
|
||||||
" any statement
|
|
||||||
hi Statement guifg=#b3d38c gui=none
|
|
||||||
hi Statement ctermfg=150 cterm=none
|
|
||||||
" if, then, else
|
|
||||||
hi Conditional guifg=#b3d38c gui=none
|
|
||||||
hi Conditional ctermfg=150 cterm=none
|
|
||||||
" try, catch, throw, raise
|
|
||||||
hi Exception guifg=#b3d38c gui=none
|
|
||||||
hi Exception ctermfg=150 cterm=none
|
|
||||||
" for, while, do
|
|
||||||
hi Repeat guifg=#b3d38c gui=none
|
|
||||||
hi Repeat ctermfg=150 cterm=none
|
|
||||||
" case, default
|
|
||||||
hi Label guifg=#b3d38c gui=none
|
|
||||||
hi Label ctermfg=150 cterm=none
|
|
||||||
" sizeof, +, *
|
|
||||||
hi Operator guifg=#b3d38c gui=none
|
|
||||||
hi Operator ctermfg=150 cterm=none
|
|
||||||
" any other keyword
|
|
||||||
hi Keyword guifg=#b3d38c gui=none
|
|
||||||
hi Keyword ctermfg=150 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Preprocessor Group
|
|
||||||
" ------------------
|
|
||||||
" generic preprocessor
|
|
||||||
hi PreProc guifg=#f0dfaf gui=none
|
|
||||||
hi PreProc ctermfg=223 cterm=none
|
|
||||||
" #include
|
|
||||||
hi Include guifg=#f0dfaf gui=none
|
|
||||||
hi Include ctermfg=223 cterm=none
|
|
||||||
" #define
|
|
||||||
hi Define guifg=#f0dfaf gui=none
|
|
||||||
hi Define ctermfg=223 cterm=none
|
|
||||||
" same as define
|
|
||||||
hi Macro guifg=#f0dfaf gui=none
|
|
||||||
hi Macro ctermfg=223 cterm=none
|
|
||||||
" #if, #else, #endif
|
|
||||||
hi PreCondit guifg=#f0dfaf gui=none
|
|
||||||
hi PreCondit ctermfg=223 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Type Group
|
|
||||||
" ----------
|
|
||||||
" int, long, char
|
|
||||||
hi Type guifg=#93d6a9 gui=none
|
|
||||||
hi Type ctermfg=115 cterm=none
|
|
||||||
" static, register, volative
|
|
||||||
hi StorageClass guifg=#93d6a9 gui=none
|
|
||||||
hi StorageClass ctermfg=115 cterm=none
|
|
||||||
" struct, union, enum
|
|
||||||
hi Structure guifg=#93d6a9 gui=none
|
|
||||||
hi Structure ctermfg=115 cterm=none
|
|
||||||
" typedef
|
|
||||||
hi Typedef guifg=#93d6a9 gui=none
|
|
||||||
hi Typedef ctermfg=115 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Special Group
|
|
||||||
" -------------
|
|
||||||
" any special symbol
|
|
||||||
hi Special guifg=#cca3b3 gui=none
|
|
||||||
hi Special ctermfg=181 cterm=none
|
|
||||||
" special character in a constant
|
|
||||||
hi SpecialChar guifg=#cca3b3 gui=none
|
|
||||||
hi SpecialChar ctermfg=181 cterm=none
|
|
||||||
" things you can CTRL-]
|
|
||||||
hi Tag guifg=#cca3b3 gui=none
|
|
||||||
hi Tag ctermfg=181 cterm=none
|
|
||||||
" character that needs attention
|
|
||||||
hi Delimiter guifg=#cca3b3 gui=none
|
|
||||||
hi Delimiter ctermfg=181 cterm=none
|
|
||||||
" special things inside a comment
|
|
||||||
hi SpecialComment guifg=#cca3b3 gui=none
|
|
||||||
hi SpecialComment ctermfg=181 cterm=none
|
|
||||||
" debugging statements
|
|
||||||
hi Debug guifg=#cca3b3 guibg=NONE gui=none
|
|
||||||
hi Debug ctermfg=181 ctermbg=NONE cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Underlined Group
|
|
||||||
" ----------------
|
|
||||||
" text that stands out, html links
|
|
||||||
hi Underlined guifg=fg gui=underline
|
|
||||||
hi Underlined ctermfg=fg cterm=underline
|
|
||||||
|
|
||||||
|
|
||||||
" Ignore Group
|
|
||||||
" ------------
|
|
||||||
" left blank, hidden
|
|
||||||
hi Ignore guifg=bg
|
|
||||||
hi Ignore ctermfg=bg
|
|
||||||
|
|
||||||
|
|
||||||
" Error Group
|
|
||||||
" -----------
|
|
||||||
" any erroneous construct
|
|
||||||
hi Error guifg=#e37170 guibg=#432323 gui=none
|
|
||||||
hi Error ctermfg=167 ctermbg=52 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Todo Group
|
|
||||||
" ----------
|
|
||||||
" todo, fixme, note, xxx
|
|
||||||
hi Todo guifg=#efef8f guibg=NONE gui=underline
|
|
||||||
hi Todo ctermfg=228 ctermbg=NONE cterm=underline
|
|
||||||
|
|
||||||
|
|
||||||
" Spelling
|
|
||||||
" --------
|
|
||||||
" word not recognized
|
|
||||||
hi SpellBad guisp=#ee0000 gui=undercurl
|
|
||||||
hi SpellBad ctermbg=9 cterm=undercurl
|
|
||||||
" word not capitalized
|
|
||||||
hi SpellCap guisp=#eeee00 gui=undercurl
|
|
||||||
hi SpellCap ctermbg=12 cterm=undercurl
|
|
||||||
" rare word
|
|
||||||
hi SpellRare guisp=#ffa500 gui=undercurl
|
|
||||||
hi SpellRare ctermbg=13 cterm=undercurl
|
|
||||||
" wrong spelling for selected region
|
|
||||||
hi SpellLocal guisp=#ffa500 gui=undercurl
|
|
||||||
hi SpellLocal ctermbg=14 cterm=undercurl
|
|
||||||
|
|
||||||
|
|
||||||
" Cursor
|
|
||||||
" ------
|
|
||||||
" character under the cursor
|
|
||||||
hi Cursor guifg=bg guibg=#a3e3ed
|
|
||||||
hi Cursor ctermfg=bg ctermbg=153
|
|
||||||
" like cursor, but used when in IME mode
|
|
||||||
hi CursorIM guifg=bg guibg=#96cdcd
|
|
||||||
hi CursorIM ctermfg=bg ctermbg=116
|
|
||||||
" cursor column
|
|
||||||
hi CursorColumn guifg=NONE guibg=#202438 gui=none
|
|
||||||
hi CursorColumn ctermfg=NONE ctermbg=236 cterm=none
|
|
||||||
" cursor line/row
|
|
||||||
hi CursorLine gui=NONE guibg=#202438 gui=none
|
|
||||||
hi CursorLine cterm=NONE ctermbg=236 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Misc
|
|
||||||
" ----
|
|
||||||
" directory names and other special names in listings
|
|
||||||
hi Directory guifg=#c0e0b0 gui=none
|
|
||||||
hi Directory ctermfg=151 cterm=none
|
|
||||||
" error messages on the command line
|
|
||||||
hi ErrorMsg guifg=#ee0000 guibg=NONE gui=none
|
|
||||||
hi ErrorMsg ctermfg=196 ctermbg=NONE cterm=none
|
|
||||||
" column separating vertically split windows
|
|
||||||
hi VertSplit guifg=#777777 guibg=#363946 gui=none
|
|
||||||
hi VertSplit ctermfg=242 ctermbg=237 cterm=none
|
|
||||||
" columns where signs are displayed (used in IDEs)
|
|
||||||
hi SignColumn guifg=#9fafaf guibg=#181818 gui=none
|
|
||||||
hi SignColumn ctermfg=145 ctermbg=233 cterm=none
|
|
||||||
" line numbers
|
|
||||||
hi LineNr guifg=#818698 guibg=#363946
|
|
||||||
hi LineNr ctermfg=102 ctermbg=237
|
|
||||||
" match parenthesis, brackets
|
|
||||||
hi MatchParen guifg=#00ff00 guibg=NONE gui=bold
|
|
||||||
hi MatchParen ctermfg=46 ctermbg=NONE cterm=bold
|
|
||||||
" the 'more' prompt when output takes more than one line
|
|
||||||
hi MoreMsg guifg=#2e8b57 gui=none
|
|
||||||
hi MoreMsg ctermfg=29 cterm=none
|
|
||||||
" text showing what mode you are in
|
|
||||||
hi ModeMsg guifg=#76d5f8 guibg=NONE gui=none
|
|
||||||
hi ModeMsg ctermfg=117 ctermbg=NONE cterm=none
|
|
||||||
" the '~' and '@' and showbreak, '>' double wide char doesn't fit on line
|
|
||||||
hi NonText guifg=#404040 gui=none
|
|
||||||
hi NonText ctermfg=235 cterm=none
|
|
||||||
" the hit-enter prompt (show more output) and yes/no questions
|
|
||||||
hi Question guifg=fg gui=none
|
|
||||||
hi Question ctermfg=fg cterm=none
|
|
||||||
" meta and special keys used with map, unprintable characters
|
|
||||||
hi SpecialKey guifg=#404040
|
|
||||||
hi SpecialKey ctermfg=237
|
|
||||||
" titles for output from :set all, :autocmd, etc
|
|
||||||
hi Title guifg=#62bdde gui=none
|
|
||||||
hi Title ctermfg=74 cterm=none
|
|
||||||
"hi Title guifg=#5ec8e5 gui=none
|
|
||||||
" warning messages
|
|
||||||
hi WarningMsg guifg=#e5786d gui=none
|
|
||||||
hi WarningMsg ctermfg=173 cterm=none
|
|
||||||
" current match in the wildmenu completion
|
|
||||||
hi WildMenu guifg=#cae682 guibg=#363946 gui=bold,underline
|
|
||||||
hi WildMenu ctermfg=16 ctermbg=186 cterm=bold
|
|
||||||
|
|
||||||
|
|
||||||
" Diff
|
|
||||||
" ----
|
|
||||||
" added line
|
|
||||||
hi DiffAdd guifg=#80a090 guibg=#313c36 gui=none
|
|
||||||
hi DiffAdd ctermfg=108 ctermbg=22 cterm=none
|
|
||||||
" changed line
|
|
||||||
hi DiffChange guifg=NONE guibg=#4a343a gui=none
|
|
||||||
hi DiffChange ctermfg=fg ctermbg=52 cterm=none
|
|
||||||
" deleted line
|
|
||||||
hi DiffDelete guifg=#6c6661 guibg=#3c3631 gui=none
|
|
||||||
hi DiffDelete ctermfg=59 ctermbg=58 cterm=none
|
|
||||||
" changed text within line
|
|
||||||
hi DiffText guifg=#f05060 guibg=#4a343a gui=bold
|
|
||||||
hi DiffText ctermfg=203 ctermbg=52 cterm=bold
|
|
||||||
|
|
||||||
|
|
||||||
" Folds
|
|
||||||
" -----
|
|
||||||
" line used for closed folds
|
|
||||||
hi Folded guifg=#91d6f8 guibg=#363946 gui=none
|
|
||||||
hi Folded ctermfg=117 ctermbg=238 cterm=none
|
|
||||||
" column on side used to indicated open and closed folds
|
|
||||||
hi FoldColumn guifg=#91d6f8 guibg=#363946 gui=none
|
|
||||||
hi FoldColumn ctermfg=117 ctermbg=238 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Search
|
|
||||||
" ------
|
|
||||||
" highlight incremental search text; also highlight text replaced with :s///c
|
|
||||||
hi IncSearch guifg=#66ffff gui=reverse
|
|
||||||
hi IncSearch ctermfg=87 cterm=reverse
|
|
||||||
" hlsearch (last search pattern), also used for quickfix
|
|
||||||
hi Search guibg=#ffaa33 gui=none
|
|
||||||
hi Search ctermbg=214 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Popup Menu
|
|
||||||
" ----------
|
|
||||||
" normal item in popup
|
|
||||||
hi Pmenu guifg=#e0e0e0 guibg=#303840 gui=none
|
|
||||||
hi Pmenu ctermfg=253 ctermbg=233 cterm=none
|
|
||||||
" selected item in popup
|
|
||||||
hi PmenuSel guifg=#cae682 guibg=#505860 gui=none
|
|
||||||
hi PmenuSel ctermfg=186 ctermbg=237 cterm=none
|
|
||||||
" scrollbar in popup
|
|
||||||
hi PMenuSbar guibg=#505860 gui=none
|
|
||||||
hi PMenuSbar ctermbg=59 cterm=none
|
|
||||||
" thumb of the scrollbar in the popup
|
|
||||||
hi PMenuThumb guibg=#808890 gui=none
|
|
||||||
hi PMenuThumb ctermbg=102 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Status Line
|
|
||||||
" -----------
|
|
||||||
" status line for current window
|
|
||||||
hi StatusLine guifg=#e0e0e0 guibg=#363946 gui=bold
|
|
||||||
hi StatusLine ctermfg=254 ctermbg=237 cterm=bold
|
|
||||||
" status line for non-current windows
|
|
||||||
hi StatusLineNC guifg=#767986 guibg=#363946 gui=none
|
|
||||||
hi StatusLineNC ctermfg=244 ctermbg=237 cterm=none
|
|
||||||
|
|
||||||
|
|
||||||
" Tab Lines
|
|
||||||
" ---------
|
|
||||||
" tab pages line, not active tab page label
|
|
||||||
hi TabLine guifg=#b6bf98 guibg=#363946 gui=none
|
|
||||||
hi TabLine ctermfg=244 ctermbg=236 cterm=none
|
|
||||||
" tab pages line, where there are no labels
|
|
||||||
hi TabLineFill guifg=#cfcfaf guibg=#363946 gui=none
|
|
||||||
hi TabLineFill ctermfg=187 ctermbg=236 cterm=none
|
|
||||||
" tab pages line, active tab page label
|
|
||||||
hi TabLineSel guifg=#efefef guibg=#414658 gui=bold
|
|
||||||
hi TabLineSel ctermfg=254 ctermbg=236 cterm=bold
|
|
||||||
|
|
||||||
|
|
||||||
" Visual
|
|
||||||
" ------
|
|
||||||
" visual mode selection
|
|
||||||
hi Visual guifg=NONE guibg=#364458
|
|
||||||
hi Visual ctermfg=NONE ctermbg=24
|
|
||||||
" visual mode selection when vim is not owning the selection (x11 only)
|
|
||||||
hi VisualNOS guifg=fg gui=underline
|
|
||||||
hi VisualNOS ctermfg=fg cterm=underline
|
|
@ -1,47 +0,0 @@
|
|||||||
""" local syntax file - set colors on a per-machine basis:
|
|
||||||
""" Vim color file
|
|
||||||
""" Title: Manxome Foes Color Scheme
|
|
||||||
""" Maintainer: Ricardo SIGNES <rjbs-vim@lists.manxome.org>
|
|
||||||
""" This Version: R2v2 [2003-07-16]
|
|
||||||
""" suggested vim editing options: tw=0 ts=4 sw=4
|
|
||||||
|
|
||||||
"" clear and re-initialize global variables
|
|
||||||
hi clear
|
|
||||||
set background=dark
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
let g:colors_name = "manxome"
|
|
||||||
|
|
||||||
"" set highlight groups
|
|
||||||
"" you'll notice that the ctermbg is often 'none'; this is so that when
|
|
||||||
"" console vim runs in a terminal, transparency (if any) is not broken
|
|
||||||
|
|
||||||
highlight Title ctermfg=3 ctermbg=none cterm=bold guifg=#ffff00 guibg=#000000 gui=none
|
|
||||||
highlight Directory ctermfg=4 ctermbg=none cterm=bold guifg=#0000ff guibg=#000000 gui=none
|
|
||||||
highlight StatusLine ctermfg=7 ctermbg=4 cterm=bold guifg=#ffffff guibg=#0000ff gui=none
|
|
||||||
highlight StatusLineNC ctermfg=0 ctermbg=4 cterm=bold guifg=#000000 guibg=#0000ff gui=none
|
|
||||||
highlight Normal ctermfg=7 ctermbg=none cterm=none guifg=#cccccc guibg=#000000 gui=none
|
|
||||||
highlight Search ctermfg=7 ctermbg=4 cterm=bold guifg=#ffffff guibg=#0000ff gui=none
|
|
||||||
highlight Visual ctermfg=7 ctermbg=6 cterm=bold guifg=#ffffff guibg=#00aaaa gui=none
|
|
||||||
|
|
||||||
"" set major preferred groups
|
|
||||||
|
|
||||||
highlight Comment ctermfg=2 ctermbg=none cterm=bold guifg=#00ff00 guibg=#000000 gui=none
|
|
||||||
highlight Constant ctermfg=6 ctermbg=none cterm=bold guifg=#00ffff guibg=#000000 gui=none
|
|
||||||
highlight Identifier ctermfg=4 ctermbg=none cterm=bold guifg=#0000ee guibg=#000000 gui=none
|
|
||||||
highlight Statement ctermfg=6 ctermbg=none cterm=none guifg=#00aaaa guibg=#000000 gui=none
|
|
||||||
highlight PreProc ctermfg=7 ctermbg=none cterm=bold guifg=#ffffff guibg=#000000 gui=none
|
|
||||||
highlight Type ctermfg=6 ctermbg=none cterm=none guifg=#00aaaa guibg=#000000 gui=none
|
|
||||||
highlight Special ctermfg=7 ctermbg=none cterm=bold guifg=#ffffff guibg=#000000 gui=none
|
|
||||||
highlight Underlined ctermfg=2 ctermbg=none cterm=none guifg=#00aa00 guibg=#000000 gui=none
|
|
||||||
highlight Ignore ctermfg=0 ctermbg=none cterm=bold guifg=#aaaaaa guibg=#000000 gui=none
|
|
||||||
highlight Error ctermfg=1 ctermbg=none cterm=bold guibg=#ff0000 guibg=#000000 gui=none
|
|
||||||
highlight Todo ctermfg=3 ctermbg=none cterm=none guifg=#aaaa00 guibg=#000000 gui=none
|
|
||||||
|
|
||||||
" set syntax-specific groups
|
|
||||||
" I'd like to avoid using these, but the default settings for these two are
|
|
||||||
" just no good. Seeing italic text in Vim is just plain wrong.
|
|
||||||
|
|
||||||
highlight htmlBold ctermfg=7 ctermbg=none cterm=bold guifg=#ffffff guibg=#000000 gui=none
|
|
||||||
highlight htmlItalic ctermfg=5 ctermbg=none cterm=bold guifg=#ff00ff guibg=#000000 gui=none
|
|
@ -1,174 +0,0 @@
|
|||||||
" ------------------------------------------------------------------
|
|
||||||
" Filename: marklar.vim
|
|
||||||
" Last Modified: Nov, 30 2006 (13:01)
|
|
||||||
" Version: 0.5
|
|
||||||
" Maintainer: SM Smithfield (m_smithfield AT yahoo DOT com)
|
|
||||||
" Copyright: 2006 SM Smithfield
|
|
||||||
" This script is free software; you can redistribute it and/or
|
|
||||||
" modify it under the terms of the GNU General Public License as
|
|
||||||
" published by the Free Software Foundation; either version 2 of
|
|
||||||
" the License, or (at your option) any later version.
|
|
||||||
" Description: Vim colorscheme file.
|
|
||||||
" Install: Put this file in the users colors directory (~/.vim/colors)
|
|
||||||
" then load it with :colorscheme marklar
|
|
||||||
" ------------------------------------------------------------------
|
|
||||||
|
|
||||||
hi clear
|
|
||||||
set background=dark
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
let g:colors_name = "marklar"
|
|
||||||
|
|
||||||
if !exists("s:main")
|
|
||||||
|
|
||||||
" OPTIONS:
|
|
||||||
let s:bold_opt = 0
|
|
||||||
let s:ignore_opt = 1
|
|
||||||
|
|
||||||
function! s:main()
|
|
||||||
if version >= 700
|
|
||||||
call s:apply_opts()
|
|
||||||
endif
|
|
||||||
|
|
||||||
if s:bold_opt
|
|
||||||
let s:bold = 'bold'
|
|
||||||
else
|
|
||||||
let s:bold = 'NONE'
|
|
||||||
endif
|
|
||||||
|
|
||||||
if s:ignore_opt
|
|
||||||
" completely invisible
|
|
||||||
let s:ignore = 'bg'
|
|
||||||
else
|
|
||||||
" nearly invisible
|
|
||||||
let s:ignore = '#467C5C'
|
|
||||||
endif
|
|
||||||
|
|
||||||
execute "hi Constant guifg=#FFFFFF guibg=NONE ctermfg=7 cterm=NONE"
|
|
||||||
execute "hi Identifier guifg=#38FF56 guibg=NONE gui=".s:bold." ctermfg=8 cterm=bold"
|
|
||||||
execute "hi Statement guifg=#FFFF00 guibg=NONE gui=".s:bold." ctermfg=3 cterm=bold"
|
|
||||||
execute "hi Special guifg=#25B9F8 guibg=bg gui=".s:bold." ctermfg=2 cterm=underline"
|
|
||||||
execute "hi PreProc guifg=#FF80FF guibg=bg gui=NONE ctermfg=2"
|
|
||||||
execute "hi Type guifg=#00FFFF guibg=NONE gui=".s:bold." ctermfg=6 cterm=bold"
|
|
||||||
|
|
||||||
execute "hi Ignore guifg=".s:ignore." guibg=NONE ctermfg=0"
|
|
||||||
|
|
||||||
hi Comment guifg=#00BBBB guibg=NONE ctermfg=6 cterm=none
|
|
||||||
hi Cursor guifg=NONE guibg=#FF0000
|
|
||||||
hi DiffAdd guifg=NONE guibg=#136769 ctermfg=4 ctermbg=7 cterm=NONE
|
|
||||||
hi DiffDelete guifg=NONE guibg=#50694A ctermfg=1 ctermbg=7 cterm=NONE
|
|
||||||
hi DiffChange guifg=fg guibg=#00463c gui=NONE ctermfg=4 ctermbg=2 cterm=NONE
|
|
||||||
hi DiffText guifg=#7CFC94 guibg=#00463c gui=bold ctermfg=4 ctermbg=3 cterm=NONE
|
|
||||||
hi Directory guifg=#25B9F8 guibg=NONE ctermfg=2
|
|
||||||
hi Error guifg=#FFFFFF guibg=#000000 ctermfg=7 ctermbg=0 cterm=bold
|
|
||||||
hi ErrorMsg guifg=#8eff2e guibg=#204d40
|
|
||||||
hi FoldColumn guifg=#00BBBB guibg=#204d40
|
|
||||||
hi Folded guifg=#44DDDD guibg=#204d40 ctermfg=0 ctermbg=8 cterm=bold
|
|
||||||
|
|
||||||
hi IncSearch guibg=#52891f gui=bold
|
|
||||||
hi LineNr guifg=#38ff56 guibg=#204d40
|
|
||||||
hi ModeMsg guifg=#FFFFFF guibg=#0000FF ctermfg=7 ctermbg=4 cterm=bold
|
|
||||||
hi MoreMsg guifg=#FFFFFF guibg=#00A261 ctermfg=7 ctermbg=2 cterm=bold
|
|
||||||
hi NonText guifg=#00bbbb guibg=#204d40
|
|
||||||
hi Normal guifg=#71C293 guibg=#06544a
|
|
||||||
hi Question guifg=#FFFFFF guibg=#00A261
|
|
||||||
hi Search guifg=NONE guibg=#0f374c ctermfg=3 ctermbg=0 cterm=bold
|
|
||||||
|
|
||||||
hi SignColumn guifg=#00BBBB guibg=#204d40
|
|
||||||
hi SpecialKey guifg=#00FFFF guibg=#266955
|
|
||||||
hi StatusLine guifg=#245748 guibg=#71C293 gui=NONE cterm=reverse
|
|
||||||
hi StatusLineNC guifg=#245748 guibg=#689C7C gui=NONE
|
|
||||||
hi Title guifg=#7CFC94 guibg=NONE gui=bold ctermfg=2 cterm=bold
|
|
||||||
hi Todo guifg=#FFFFFF guibg=#884400 ctermfg=6 ctermbg=4 cterm=NONE
|
|
||||||
hi Underlined guifg=#df820c guibg=NONE gui=underline ctermfg=8 cterm=underline
|
|
||||||
hi Visual guibg=#0B7260 gui=NONE
|
|
||||||
hi WarningMsg guifg=#FFFFFF guibg=#FF0000 ctermfg=7 ctermbg=1 cterm=bold
|
|
||||||
hi WildMenu guifg=#20012e guibg=#00a675 gui=bold ctermfg=NONE ctermbg=NONE cterm=bold
|
|
||||||
"
|
|
||||||
if version >= 700
|
|
||||||
hi SpellBad guisp=#FF0000
|
|
||||||
hi SpellCap guisp=#0000FF
|
|
||||||
hi SpellRare guisp=#ff4046
|
|
||||||
hi SpellLocal guisp=#000000 ctermbg=0
|
|
||||||
hi Pmenu guifg=#00ffff guibg=#000000 ctermbg=0 ctermfg=6
|
|
||||||
hi PmenuSel guifg=#ffff00 guibg=#000000 gui=bold cterm=bold ctermfg=3
|
|
||||||
hi PmenuSbar guibg=#204d40 ctermbg=6
|
|
||||||
hi PmenuThumb guifg=#38ff56 ctermfg=3
|
|
||||||
hi CursorColumn guibg=#096354
|
|
||||||
hi CursorLine guibg=#096354
|
|
||||||
hi Tabline guifg=bg guibg=fg gui=NONE cterm=reverse,bold ctermfg=NONE ctermbg=NONE
|
|
||||||
hi TablineSel guifg=#20012e guibg=#00a675 gui=bold
|
|
||||||
hi TablineFill guifg=#689C7C
|
|
||||||
hi MatchParen guifg=#38ff56 guibg=#0000ff gui=bold ctermbg=4
|
|
||||||
endif
|
|
||||||
"
|
|
||||||
hi Tag guifg=#7CFC94 guibg=NONE gui=bold ctermfg=2 cterm=bold
|
|
||||||
hi link Bold Tag
|
|
||||||
"
|
|
||||||
hi pythonPreCondit ctermfg=2 cterm=NONE
|
|
||||||
execute "hi tkWidget guifg=#ffa0a0 guibg=bg gui=".s:bold." ctermfg=7 cterm=bold"
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
if version >= 700
|
|
||||||
|
|
||||||
let s:opts = {'bold': 0, 'ignore': 1}
|
|
||||||
|
|
||||||
" preserves vim<7 compat, while letting me reuses some code
|
|
||||||
function! s:apply_opts()
|
|
||||||
let s:bold_opt = s:opts['bold']
|
|
||||||
let s:ignore_opt = s:opts['ignore']
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:print_opts(...)
|
|
||||||
let d = a:000
|
|
||||||
if len(a:000) == 0
|
|
||||||
let d = keys(s:opts)
|
|
||||||
endif
|
|
||||||
for k in d
|
|
||||||
echo k.': '.s:opts[k]
|
|
||||||
endfor
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:Marklar(...)
|
|
||||||
let args = a:000
|
|
||||||
if len(args) == 0
|
|
||||||
call s:print_opts()
|
|
||||||
else
|
|
||||||
while len(args)>0
|
|
||||||
" take first arg
|
|
||||||
let k = args[0]
|
|
||||||
let args = args[1:]
|
|
||||||
" is it a key?
|
|
||||||
if k =~ '\a\+!'
|
|
||||||
" does it bang?
|
|
||||||
let k = strpart(k,0,strlen(k)-1)
|
|
||||||
let s:opts[k] = !s:opts[k]
|
|
||||||
call s:main()
|
|
||||||
elseif k =~ '\a\+?'
|
|
||||||
" does it quiz?
|
|
||||||
let k = strpart(k,0,strlen(k)-1)
|
|
||||||
call s:print_opts(k)
|
|
||||||
elseif len(args)
|
|
||||||
" is there another arg?
|
|
||||||
" take it
|
|
||||||
let v = args[0]
|
|
||||||
let args = args[1:]
|
|
||||||
" is it legal value?
|
|
||||||
if v == 0 || v == 1
|
|
||||||
" assign val->key
|
|
||||||
let s:opts[k] = v
|
|
||||||
call s:main()
|
|
||||||
else
|
|
||||||
echoerr "(".v.") Bad value. Expected 0 or 1."
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
endif
|
|
||||||
endwhile
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
command! -nargs=* Marklar :call s:Marklar(<f-args>)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
call s:main()
|
|
@ -1,594 +0,0 @@
|
|||||||
" File : maroloccio.vim
|
|
||||||
" Description : a colour scheme for Vim (GUI only)
|
|
||||||
" Scheme : maroloccio
|
|
||||||
" Maintainer : Marco Ippolito < m a r o l o c c i o [at] g m a i l . c o m >
|
|
||||||
" Comment : works well in GUI mode
|
|
||||||
" Version : v0.3.0 inspired by watermark
|
|
||||||
" Date : 6 may 2009
|
|
||||||
"
|
|
||||||
" History:
|
|
||||||
"
|
|
||||||
" 0.3.0 Greatly improved cterm colours when t_Co=256 thanks to Kyle and CSApprox
|
|
||||||
" 0.2.9 Improved readability of cterm searches for dark backgrounds
|
|
||||||
" 0.2.8 Added VimDiff colouring
|
|
||||||
" 0.2.7 Further improved readability of cterm colours
|
|
||||||
" 0.2.6 Improved readability of cterm colours on different terminals
|
|
||||||
" 0.2.5 Reinstated minimal cterm support
|
|
||||||
" 0.2.4 Added full colour descriptions and reinstated minimal cterm support
|
|
||||||
" 0.2.3 Added FoldColumn to the list of hlights as per David Hall's suggestion
|
|
||||||
" 0.2.2 Removed cterm support, changed visual highlight, fixed bolds
|
|
||||||
" 0.2.1 Changed search highlight
|
|
||||||
" 0.2.0 Removed italics
|
|
||||||
" 0.1.9 Improved search and menu highlighting
|
|
||||||
" 0.1.8 Added minimal cterm support
|
|
||||||
" 0.1.7 Uploaded to vim.org
|
|
||||||
" 0.1.6 Removed redundant highlight definitions
|
|
||||||
" 0.1.5 Improved display of folded sections
|
|
||||||
" 0.1.4 Removed linked sections for improved compatibility, more Python friendly
|
|
||||||
" 0.1.3 Removed settings which usually belong to .vimrc (as in 0.1.1)
|
|
||||||
" 0.1.2 Fixed versioning system, added .vimrc -like commands
|
|
||||||
" 0.1.1 Corrected typo in header comments, changed colour for Comment
|
|
||||||
" 0.1.0 Inital upload to vim.org
|
|
||||||
|
|
||||||
hi clear
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
let g:colors_name="maroloccio"
|
|
||||||
|
|
||||||
" --- GUI section
|
|
||||||
"
|
|
||||||
hi Normal guifg=#8b9aaa guibg=#1a202a gui=none " watermark-foreground on watermark-background
|
|
||||||
hi Constant guifg=#82ade0 guibg=bg gui=none " cyan on background
|
|
||||||
hi Boolean guifg=#82ade0 guibg=bg gui=none " cyan on background
|
|
||||||
hi Character guifg=#82ade0 guibg=bg gui=none " cyan on background
|
|
||||||
hi Float guifg=#82ade0 guibg=bg gui=none " cyan on background
|
|
||||||
hi Comment guifg=#006666 guibg=bg gui=none " teal on background
|
|
||||||
hi Type guifg=#ffcc00 guibg=bg gui=none " yellow on background
|
|
||||||
hi Typedef guifg=#ffcc00 guibg=bg gui=none " yellow on background
|
|
||||||
hi Structure guifg=#ffcc00 guibg=bg gui=none " yellow on background
|
|
||||||
hi Function guifg=#ffcc00 guibg=bg gui=none " yellow on background
|
|
||||||
hi StorageClass guifg=#ffcc00 guibg=bg gui=none " yellow on background
|
|
||||||
hi Conditional guifg=#ff9900 guibg=bg gui=none " orange on background
|
|
||||||
hi Repeat guifg=#78ba42 guibg=bg gui=none " light green on background
|
|
||||||
hi Visual guifg=fg guibg=#3741ad gui=none " foreground on blue
|
|
||||||
hi DiffChange guifg=fg guibg=#3741ad gui=none " foreground on blue
|
|
||||||
if version>= 700
|
|
||||||
hi Pmenu guifg=fg guibg=#3741ad gui=none " foreground on blue
|
|
||||||
endif
|
|
||||||
hi String guifg=#4c4cad guibg=bg gui=none " violet on background
|
|
||||||
hi Folded guifg=fg guibg=#333366 gui=none " foreground on dark violet
|
|
||||||
hi VertSplit guifg=fg guibg=#333366 gui=none " foreground on dark violet
|
|
||||||
if version>= 700
|
|
||||||
hi PmenuSel guifg=fg guibg=#333366 gui=none " foreground on dark violet
|
|
||||||
endif
|
|
||||||
hi Search guifg=#78ba42 guibg=#107040 gui=none " light green on green
|
|
||||||
hi DiffAdd guifg=#78ba42 guibg=#107040 gui=none " light green on green
|
|
||||||
hi Exception guifg=#8f3231 guibg=bg gui=none " red on background
|
|
||||||
hi Title guifg=#8f3231 guibg=bg gui=none " red on background
|
|
||||||
hi Error guifg=fg guibg=#8f3231 gui=none " foreground on red
|
|
||||||
hi DiffDelete guifg=fg guibg=#8f3231 gui=none " foreground on red
|
|
||||||
hi Todo guifg=#8f3231 guibg=#0e1219 gui=bold,undercurl guisp=#cbc32a " red on dark grey
|
|
||||||
hi LineNr guifg=#2c3138 guibg=#0e1219 gui=none " grey on dark grey
|
|
||||||
hi Statement guifg=#9966cc guibg=bg gui=none " lavender on background
|
|
||||||
hi Underlined gui=bold,underline " underline
|
|
||||||
if version>= 700
|
|
||||||
hi CursorLine guibg=#0e1219 gui=none " foreground on dark grey
|
|
||||||
hi CursorColumn guibg=#0e1219 gui=none " foreground on dark grey
|
|
||||||
endif
|
|
||||||
hi Include guifg=#107040 guibg=bg gui=none " green on background
|
|
||||||
hi Define guifg=#107040 guibg=bg gui=none " green on background
|
|
||||||
hi Macro guifg=#107040 guibg=bg gui=none " green on background
|
|
||||||
hi PreProc guifg=#107040 guibg=bg gui=none " green on background
|
|
||||||
hi PreCondit guifg=#107040 guibg=bg gui=none " green on background
|
|
||||||
hi StatusLineNC guifg=#2c3138 guibg=black gui=none " grey on black
|
|
||||||
hi StatusLine guifg=fg guibg=black gui=none " foreground on black
|
|
||||||
hi WildMenu guifg=fg guibg=#0e1219 gui=none " foreground on dark grey
|
|
||||||
hi FoldColumn guifg=#333366 guibg=#0e1219 gui=none " dark violet on dark grey
|
|
||||||
hi IncSearch guifg=#0e1219 guibg=#82ade0 gui=bold " dark grey on cyan
|
|
||||||
hi DiffText guifg=#0e1219 guibg=#82ade0 gui=bold " dark grey on cyan
|
|
||||||
hi Label guifg=#7e28a9 guibg=bg gui=none " purple on background
|
|
||||||
hi Operator guifg=#6d5279 guibg=bg gui=none " pink on background
|
|
||||||
hi Number guifg=#8b8b00 guibg=bg gui=none " dark yellow on background
|
|
||||||
if version>= 700
|
|
||||||
hi MatchParen guifg=#0e1219 guibg=#78ba42 gui=none " dark grey on light green
|
|
||||||
endif
|
|
||||||
hi SpecialKey guifg=#333366 guibg=bg gui=none " metal on background
|
|
||||||
|
|
||||||
hi Cursor guifg=#0e1219 guibg=#8b9aaa gui=none " dark grey on foreground
|
|
||||||
hi TabLine guifg=fg guibg=black gui=none " foreground on black
|
|
||||||
hi NonText guifg=#333366 guibg=bg gui=none " metal on background
|
|
||||||
hi Tag guifg=#3741ad guibg=bg gui=none " blue on background
|
|
||||||
hi Delimiter guifg=#3741ad guibg=bg gui=none " blue on background
|
|
||||||
hi Special guifg=#3741ad guibg=bg gui=none " blue on background
|
|
||||||
hi SpecialChar guifg=#3741ad guibg=bg gui=none " blue on background
|
|
||||||
hi SpecialComment guifg=#2680af guibg=bg gui=none " blue2 on background
|
|
||||||
|
|
||||||
" --- CTerm8 section
|
|
||||||
if &t_Co == 8
|
|
||||||
|
|
||||||
" --- CTerm8 (Dark)
|
|
||||||
if &background == "dark"
|
|
||||||
"hi Normal ctermfg=Grey "ctermbg=DarkGrey
|
|
||||||
hi Constant ctermfg=DarkGreen
|
|
||||||
hi Boolean ctermfg=DarkGreen
|
|
||||||
hi Character ctermfg=DarkGreen
|
|
||||||
hi Float ctermfg=DarkGreen
|
|
||||||
hi Comment ctermfg=DarkCyan
|
|
||||||
hi Type ctermfg=Brown
|
|
||||||
hi Typedef ctermfg=Brown
|
|
||||||
hi Structure ctermfg=Brown
|
|
||||||
hi Function ctermfg=Brown
|
|
||||||
hi StorageClass ctermfg=Brown
|
|
||||||
hi Conditional ctermfg=Brown
|
|
||||||
hi Repeat ctermfg=Brown
|
|
||||||
hi Visual ctermfg=Brown ctermbg=Black
|
|
||||||
hi DiffChange ctermfg=Grey ctermbg=DarkBlue
|
|
||||||
if version>= 700
|
|
||||||
hi Pmenu ctermfg=Grey ctermbg=DarkBlue
|
|
||||||
endif
|
|
||||||
hi String ctermfg=DarkGreen
|
|
||||||
hi Folded ctermfg=DarkGrey ctermbg=Black
|
|
||||||
hi VertSplit ctermfg=DarkGrey ctermbg=DarkGrey
|
|
||||||
if version>= 700
|
|
||||||
hi PmenuSel ctermfg=DarkBlue ctermbg=Grey
|
|
||||||
endif
|
|
||||||
hi Search ctermfg=Black ctermbg=Brown
|
|
||||||
hi DiffAdd ctermfg=Black ctermbg=DarkGreen
|
|
||||||
hi Exception ctermfg=Brown
|
|
||||||
hi Title ctermfg=DarkRed
|
|
||||||
hi Error ctermfg=Brown ctermbg=DarkRed
|
|
||||||
hi DiffDelete ctermfg=Brown ctermbg=DarkRed
|
|
||||||
hi Todo ctermfg=Brown ctermbg=DarkRed
|
|
||||||
hi LineNr ctermfg=DarkGrey
|
|
||||||
hi Statement ctermfg=Brown
|
|
||||||
hi Underlined cterm=Underline
|
|
||||||
if version>= 700
|
|
||||||
hi CursorLine ctermbg=Black cterm=Underline
|
|
||||||
hi CursorColumn ctermfg=Grey ctermbg=Black
|
|
||||||
endif
|
|
||||||
hi Include ctermfg=DarkMagenta
|
|
||||||
hi Define ctermfg=DarkMagenta
|
|
||||||
hi Macro ctermfg=DarkMagenta
|
|
||||||
hi PreProc ctermfg=DarkMagenta
|
|
||||||
hi PreCondit ctermfg=DarkMagenta
|
|
||||||
hi StatusLineNC ctermfg=DarkGrey ctermbg=Black
|
|
||||||
hi StatusLine ctermfg=Grey ctermbg=DarkGrey
|
|
||||||
hi WildMenu ctermfg=Grey ctermbg=DarkGrey
|
|
||||||
hi FoldColumn ctermfg=DarkGrey
|
|
||||||
hi IncSearch ctermfg=DarkCyan ctermbg=Black
|
|
||||||
hi DiffText ctermfg=DarkBlue ctermbg=Grey
|
|
||||||
hi Label ctermfg=Brown
|
|
||||||
hi Operator ctermfg=Brown
|
|
||||||
hi Number ctermfg=DarkGreen
|
|
||||||
if version>= 700
|
|
||||||
hi MatchParen ctermfg=Grey ctermbg=Green
|
|
||||||
endif
|
|
||||||
hi SpecialKey ctermfg=DarkRed
|
|
||||||
|
|
||||||
hi Cursor ctermfg=Black ctermbg=Grey
|
|
||||||
hi Delimiter ctermfg=Brown
|
|
||||||
hi NonText ctermfg=DarkRed
|
|
||||||
hi Special ctermfg=Brown
|
|
||||||
hi SpecialChar ctermfg=Brown
|
|
||||||
hi SpecialComment ctermfg=DarkCyan
|
|
||||||
hi TabLine ctermfg=DarkGrey ctermbg=Grey
|
|
||||||
hi Tag ctermfg=Brown
|
|
||||||
|
|
||||||
" --- CTerm8 (Light)
|
|
||||||
elseif &background == "light"
|
|
||||||
hi Normal ctermfg=Black ctermbg=White
|
|
||||||
hi Constant ctermfg=DarkCyan
|
|
||||||
hi Boolean ctermfg=DarkCyan
|
|
||||||
hi Character ctermfg=DarkCyan
|
|
||||||
hi Float ctermfg=DarkCyan
|
|
||||||
hi Comment ctermfg=DarkGreen
|
|
||||||
hi Type ctermfg=DarkBlue
|
|
||||||
hi Typedef ctermfg=DarkBlue
|
|
||||||
hi Structure ctermfg=DarkBlue
|
|
||||||
hi Function ctermfg=DarkBlue
|
|
||||||
hi StorageClass ctermfg=DarkBlue
|
|
||||||
hi Conditional ctermfg=DarkBlue
|
|
||||||
hi Repeat ctermfg=DarkBlue
|
|
||||||
hi Visual ctermfg=Brown ctermbg=Black
|
|
||||||
hi DiffChange ctermfg=Grey ctermbg=DarkBlue
|
|
||||||
if version>= 700
|
|
||||||
hi Pmenu ctermfg=Grey ctermbg=DarkBlue
|
|
||||||
endif
|
|
||||||
hi String ctermfg=DarkRed
|
|
||||||
hi Folded ctermfg=Black ctermbg=DarkCyan
|
|
||||||
hi VertSplit ctermfg=Grey ctermbg=Black
|
|
||||||
if version>= 700
|
|
||||||
hi PmenuSel ctermfg=DarkBlue ctermbg=Grey
|
|
||||||
endif
|
|
||||||
hi Search ctermfg=Grey ctermbg=DarkGreen
|
|
||||||
hi DiffAdd ctermfg=Black ctermbg=DarkGreen
|
|
||||||
hi Exception ctermfg=DarkBlue
|
|
||||||
hi Title ctermfg=DarkRed
|
|
||||||
hi Error ctermfg=Brown ctermbg=DarkRed
|
|
||||||
hi DiffDelete ctermfg=Brown ctermbg=DarkRed
|
|
||||||
hi Todo ctermfg=Brown ctermbg=DarkRed
|
|
||||||
hi LineNr ctermfg=Black ctermbg=Grey
|
|
||||||
hi Statement ctermfg=DarkBlue
|
|
||||||
hi Underlined cterm=Underline
|
|
||||||
if version>= 700
|
|
||||||
hi CursorLine ctermbg=Grey cterm=Underline
|
|
||||||
hi CursorColumn ctermfg=Black ctermbg=Grey
|
|
||||||
endif
|
|
||||||
hi Include ctermfg=DarkMagenta
|
|
||||||
hi Define ctermfg=DarkMagenta
|
|
||||||
hi Macro ctermfg=DarkMagenta
|
|
||||||
hi PreProc ctermfg=DarkMagenta
|
|
||||||
hi PreCondit ctermfg=DarkMagenta
|
|
||||||
hi StatusLineNC ctermfg=Grey ctermbg=DarkBlue
|
|
||||||
hi StatusLine ctermfg=Grey ctermbg=Black
|
|
||||||
hi WildMenu ctermfg=Grey ctermbg=DarkBlue
|
|
||||||
hi FoldColumn ctermfg=Black ctermbg=Grey
|
|
||||||
hi IncSearch ctermfg=Brown ctermbg=Black
|
|
||||||
hi DiffText ctermfg=DarkBlue ctermbg=Grey
|
|
||||||
hi Label ctermfg=DarkBlue
|
|
||||||
hi Operator ctermfg=DarkBlue
|
|
||||||
hi Number ctermfg=DarkCyan
|
|
||||||
if version>= 700
|
|
||||||
hi MatchParen ctermfg=Grey ctermbg=Green
|
|
||||||
endif
|
|
||||||
hi SpecialKey ctermfg=Red
|
|
||||||
|
|
||||||
hi Cursor ctermfg=Black ctermbg=Grey
|
|
||||||
hi Delimiter ctermfg=DarkBlue
|
|
||||||
hi NonText ctermfg=Red
|
|
||||||
hi Special ctermfg=DarkBlue
|
|
||||||
hi SpecialChar ctermfg=DarkBlue
|
|
||||||
hi SpecialComment ctermfg=DarkGreen
|
|
||||||
hi TabLine ctermfg=DarkBlue ctermbg=Grey
|
|
||||||
hi Tag ctermfg=DarkBlue
|
|
||||||
endif
|
|
||||||
|
|
||||||
" --- CTerm256 section
|
|
||||||
elseif &t_Co == 256
|
|
||||||
|
|
||||||
if v:version < 700
|
|
||||||
command! -nargs=+ CSAHi exe "hi" substitute(substitute(<q-args>, "undercurl", "underline", "g"), "guisp\\S\\+", "", "g")
|
|
||||||
else
|
|
||||||
command! -nargs=+ CSAHi exe "hi" <q-args>
|
|
||||||
endif
|
|
||||||
if has("gui_running") || (&t_Co == 256 && (&term ==# "xterm" || &term =~# "^screen") && exists("g:CSApprox_konsole") && g:CSApprox_konsole) || &term =~? "^konsole"
|
|
||||||
CSAHi Normal ctermbg=59 ctermfg=145
|
|
||||||
CSAHi Constant term=underline ctermbg=59 ctermfg=146
|
|
||||||
CSAHi Boolean ctermbg=59 ctermfg=146
|
|
||||||
CSAHi Character ctermbg=59 ctermfg=146
|
|
||||||
CSAHi Float ctermbg=59 ctermfg=146
|
|
||||||
CSAHi Comment term=bold ctermbg=59 ctermfg=30
|
|
||||||
CSAHi Type term=underline ctermbg=59 ctermfg=220
|
|
||||||
CSAHi Typedef ctermbg=59 ctermfg=220
|
|
||||||
CSAHi Structure ctermbg=59 ctermfg=220
|
|
||||||
CSAHi Function ctermbg=59 ctermfg=220
|
|
||||||
CSAHi StorageClass ctermbg=59 ctermfg=220
|
|
||||||
CSAHi Conditional ctermbg=59 ctermfg=214
|
|
||||||
CSAHi Repeat ctermbg=59 ctermfg=113
|
|
||||||
CSAHi Visual term=reverse ctermbg=61 ctermfg=white
|
|
||||||
CSAHi DiffChange term=bold ctermbg=61 ctermfg=white
|
|
||||||
CSAHi Pmenu ctermbg=61 ctermfg=white
|
|
||||||
CSAHi String ctermbg=59 ctermfg=61
|
|
||||||
CSAHi Folded ctermbg=61 ctermfg=black
|
|
||||||
CSAHi VertSplit term=reverse ctermbg=black ctermfg=61
|
|
||||||
CSAHi PmenuSel ctermbg=220 ctermfg=black
|
|
||||||
CSAHi Search term=reverse ctermbg=29 ctermfg=113
|
|
||||||
CSAHi DiffAdd term=bold ctermbg=29 ctermfg=113
|
|
||||||
CSAHi Exception ctermbg=59 ctermfg=red
|
|
||||||
CSAHi Title term=bold ctermbg=59 ctermfg=red
|
|
||||||
CSAHi Error term=reverse ctermbg=red ctermfg=white
|
|
||||||
CSAHi DiffDelete term=bold ctermbg=red ctermfg=white
|
|
||||||
CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=red
|
|
||||||
CSAHi LineNr term=underline ctermbg=black ctermfg=61
|
|
||||||
CSAHi Statement term=bold ctermbg=59 ctermfg=140
|
|
||||||
CSAHi Underlined term=underline cterm=bold,underline ctermfg=147
|
|
||||||
CSAHi CursorLine term=underline cterm=underline ctermbg=black
|
|
||||||
CSAHi CursorColumn term=reverse ctermfg=white ctermbg=29
|
|
||||||
CSAHi Include ctermbg=59 ctermfg=97
|
|
||||||
CSAHi Define ctermbg=59 ctermfg=97
|
|
||||||
CSAHi Macro ctermbg=59 ctermfg=97
|
|
||||||
CSAHi PreProc term=underline ctermbg=59 ctermfg=97
|
|
||||||
CSAHi PreCondit ctermbg=59 ctermfg=97
|
|
||||||
CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=61
|
|
||||||
CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=220
|
|
||||||
CSAHi WildMenu ctermbg=16 ctermfg=145
|
|
||||||
CSAHi FoldColumn ctermbg=16 ctermfg=61
|
|
||||||
CSAHi IncSearch term=reverse cterm=bold ctermbg=146 ctermfg=16
|
|
||||||
CSAHi DiffText term=reverse cterm=bold ctermbg=146 ctermfg=16
|
|
||||||
CSAHi Label ctermbg=59 ctermfg=140
|
|
||||||
CSAHi Operator ctermbg=59 ctermfg=142
|
|
||||||
CSAHi Number ctermbg=59 ctermfg=146
|
|
||||||
CSAHi MatchParen term=reverse ctermbg=113 ctermfg=16
|
|
||||||
CSAHi SpecialKey term=bold ctermbg=59 ctermfg=97
|
|
||||||
|
|
||||||
CSAHi Cursor ctermbg=145 ctermfg=16
|
|
||||||
CSAHi lCursor ctermbg=145 ctermfg=59
|
|
||||||
CSAHi Delimiter ctermbg=59 ctermfg=61
|
|
||||||
CSAHi Directory term=bold ctermfg=39
|
|
||||||
CSAHi ErrorMsg ctermbg=160 ctermfg=231
|
|
||||||
CSAHi Identifier term=underline ctermfg=87
|
|
||||||
CSAHi Ignore ctermfg=59
|
|
||||||
CSAHi ModeMsg term=bold cterm=bold
|
|
||||||
CSAHi MoreMsg term=bold cterm=bold ctermfg=72
|
|
||||||
CSAHi NonText term=bold ctermbg=59 ctermfg=60
|
|
||||||
CSAHi PmenuSbar ctermbg=250
|
|
||||||
CSAHi PmenuThumb ctermbg=145 ctermfg=59
|
|
||||||
CSAHi Question cterm=bold ctermfg=28
|
|
||||||
CSAHi SignColumn ctermbg=250 ctermfg=39
|
|
||||||
CSAHi Special term=bold ctermbg=59 ctermfg=61
|
|
||||||
CSAHi SpecialChar ctermbg=59 ctermfg=61
|
|
||||||
CSAHi SpecialComment ctermbg=59 ctermfg=73
|
|
||||||
CSAHi SpellBad term=reverse cterm=undercurl ctermfg=196
|
|
||||||
CSAHi SpellCap term=reverse cterm=undercurl ctermfg=21
|
|
||||||
CSAHi SpellLocal term=underline cterm=undercurl ctermfg=51
|
|
||||||
CSAHi SpellRare term=reverse cterm=undercurl ctermfg=201
|
|
||||||
CSAHi TabLine term=underline ctermbg=16 ctermfg=145
|
|
||||||
CSAHi TabLineFill term=reverse ctermbg=145 ctermfg=59
|
|
||||||
CSAHi TabLineSel term=bold cterm=bold
|
|
||||||
CSAHi Tag ctermbg=59 ctermfg=61
|
|
||||||
CSAHi VisualNOS term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi WarningMsg ctermfg=160
|
|
||||||
CSAHi htmlBold term=bold cterm=bold
|
|
||||||
CSAHi htmlBoldItalic term=bold,italic cterm=bold
|
|
||||||
CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline
|
|
||||||
CSAHi htmlItalic term=italic
|
|
||||||
CSAHi htmlUnderline term=underline cterm=underline
|
|
||||||
CSAHi htmlUnderlineItalic term=italic,underline cterm=underline
|
|
||||||
elseif has("gui_running") || (&t_Co == 256 && (&term ==# "xterm" || &term =~# "^screen") && exists("g:CSApprox_eterm") && g:CSApprox_eterm) || &term =~? "^eterm"
|
|
||||||
CSAHi Normal ctermbg=59 ctermfg=152
|
|
||||||
CSAHi Constant term=underline ctermbg=59 ctermfg=153
|
|
||||||
CSAHi Boolean ctermbg=59 ctermfg=153
|
|
||||||
CSAHi Character ctermbg=59 ctermfg=153
|
|
||||||
CSAHi Float ctermbg=59 ctermfg=153
|
|
||||||
CSAHi Comment term=bold ctermbg=59 ctermfg=30
|
|
||||||
CSAHi Type term=underline ctermbg=59 ctermfg=226
|
|
||||||
CSAHi Typedef ctermbg=59 ctermfg=226
|
|
||||||
CSAHi Structure ctermbg=59 ctermfg=226
|
|
||||||
CSAHi Function ctermbg=59 ctermfg=226
|
|
||||||
CSAHi StorageClass ctermbg=59 ctermfg=226
|
|
||||||
CSAHi Conditional ctermbg=59 ctermfg=220
|
|
||||||
CSAHi Repeat ctermbg=59 ctermfg=150
|
|
||||||
CSAHi Visual term=reverse ctermbg=68 ctermfg=white
|
|
||||||
CSAHi DiffChange term=bold ctermbg=68 ctermfg=white
|
|
||||||
CSAHi Pmenu ctermbg=68 ctermfg=white
|
|
||||||
CSAHi String ctermbg=59 ctermfg=104
|
|
||||||
CSAHi Folded ctermbg=104 ctermfg=black
|
|
||||||
CSAHi VertSplit term=reverse ctermbg=black ctermfg=104
|
|
||||||
CSAHi PmenuSel ctermbg=226 ctermfg=black
|
|
||||||
CSAHi Search term=reverse ctermbg=36 ctermfg=150
|
|
||||||
CSAHi DiffAdd term=bold ctermbg=36 ctermfg=150
|
|
||||||
CSAHi Exception ctermbg=59 ctermfg=red
|
|
||||||
CSAHi Title term=bold ctermbg=59 ctermfg=red
|
|
||||||
CSAHi Error term=reverse ctermbg=red ctermfg=white
|
|
||||||
CSAHi DiffDelete term=bold ctermbg=red ctermfg=white
|
|
||||||
CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=red
|
|
||||||
CSAHi LineNr term=underline ctermbg=black ctermfg=104
|
|
||||||
CSAHi Statement term=bold ctermbg=59 ctermfg=177
|
|
||||||
CSAHi Underlined term=underline cterm=bold,underline ctermfg=153
|
|
||||||
CSAHi CursorLine term=underline cterm=underline ctermbg=black
|
|
||||||
CSAHi CursorColumn term=reverse ctermfg=white ctermbg=36
|
|
||||||
CSAHi Include ctermbg=59 ctermfg=134
|
|
||||||
CSAHi Define ctermbg=59 ctermfg=134
|
|
||||||
CSAHi Macro ctermbg=59 ctermfg=134
|
|
||||||
CSAHi PreProc term=underline ctermbg=59 ctermfg=134
|
|
||||||
CSAHi PreCondit ctermbg=59 ctermfg=134
|
|
||||||
CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=104
|
|
||||||
CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=226
|
|
||||||
CSAHi WildMenu ctermbg=17 ctermfg=152
|
|
||||||
CSAHi FoldColumn ctermbg=17 ctermfg=104
|
|
||||||
CSAHi IncSearch term=reverse cterm=bold ctermbg=153 ctermfg=17
|
|
||||||
CSAHi DiffText term=reverse cterm=bold ctermbg=153 ctermfg=17
|
|
||||||
CSAHi Label ctermbg=59 ctermfg=177
|
|
||||||
CSAHi Operator ctermbg=59 ctermfg=142
|
|
||||||
CSAHi Number ctermbg=59 ctermfg=153
|
|
||||||
CSAHi MatchParen term=reverse ctermbg=150 ctermfg=17
|
|
||||||
CSAHi SpecialKey term=bold ctermbg=59 ctermfg=134
|
|
||||||
|
|
||||||
CSAHi Cursor ctermbg=152 ctermfg=17
|
|
||||||
CSAHi lCursor ctermbg=152 ctermfg=59
|
|
||||||
CSAHi TabLine term=underline ctermbg=16 ctermfg=152
|
|
||||||
CSAHi Ignore ctermfg=59
|
|
||||||
CSAHi NonText term=bold ctermbg=59 ctermfg=60
|
|
||||||
CSAHi Directory term=bold ctermfg=45
|
|
||||||
CSAHi ErrorMsg ctermbg=196 ctermfg=255
|
|
||||||
CSAHi MoreMsg term=bold cterm=bold ctermfg=72
|
|
||||||
CSAHi ModeMsg term=bold cterm=bold
|
|
||||||
CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi htmlBoldItalic term=bold,italic cterm=bold
|
|
||||||
CSAHi htmlBold term=bold cterm=bold
|
|
||||||
CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline
|
|
||||||
CSAHi PmenuSbar ctermbg=250
|
|
||||||
CSAHi PmenuThumb ctermbg=152 ctermfg=59
|
|
||||||
CSAHi TabLineSel term=bold cterm=bold
|
|
||||||
CSAHi TabLineFill term=reverse ctermbg=152 ctermfg=59
|
|
||||||
CSAHi Question cterm=bold ctermfg=28
|
|
||||||
CSAHi VisualNOS term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi WarningMsg ctermfg=196
|
|
||||||
CSAHi htmlUnderlineItalic term=italic,underline cterm=underline
|
|
||||||
CSAHi htmlUnderline term=underline cterm=underline
|
|
||||||
CSAHi Special term=bold ctermbg=59 ctermfg=68
|
|
||||||
CSAHi Identifier term=underline ctermfg=123
|
|
||||||
CSAHi Tag ctermbg=59 ctermfg=68
|
|
||||||
CSAHi SpecialChar ctermbg=59 ctermfg=68
|
|
||||||
CSAHi Delimiter ctermbg=59 ctermfg=68
|
|
||||||
CSAHi SpecialComment ctermbg=59 ctermfg=74
|
|
||||||
CSAHi SignColumn ctermbg=250 ctermfg=45
|
|
||||||
CSAHi SpellBad term=reverse cterm=undercurl ctermfg=196
|
|
||||||
CSAHi SpellCap term=reverse cterm=undercurl ctermfg=21
|
|
||||||
CSAHi SpellRare term=reverse cterm=undercurl ctermfg=201
|
|
||||||
CSAHi SpellLocal term=underline cterm=undercurl ctermfg=51
|
|
||||||
CSAHi htmlItalic term=italic
|
|
||||||
elseif has("gui_running") || &t_Co == 256
|
|
||||||
CSAHi Normal ctermbg=16 ctermfg=103
|
|
||||||
CSAHi Constant term=underline ctermbg=16 ctermfg=110
|
|
||||||
CSAHi Boolean ctermbg=16 ctermfg=110
|
|
||||||
CSAHi Character ctermbg=16 ctermfg=110
|
|
||||||
CSAHi Float ctermbg=16 ctermfg=110
|
|
||||||
CSAHi Comment term=bold ctermbg=16 ctermfg=23
|
|
||||||
CSAHi Type term=underline ctermbg=16 ctermfg=220
|
|
||||||
CSAHi Typedef ctermbg=16 ctermfg=220
|
|
||||||
CSAHi Structure ctermbg=16 ctermfg=220
|
|
||||||
CSAHi Function ctermbg=16 ctermfg=220
|
|
||||||
CSAHi StorageClass ctermbg=16 ctermfg=220
|
|
||||||
CSAHi Conditional ctermbg=16 ctermfg=208
|
|
||||||
CSAHi Repeat ctermbg=16 ctermfg=107
|
|
||||||
CSAHi Visual term=reverse ctermbg=61 ctermfg=white
|
|
||||||
CSAHi DiffChange term=bold ctermbg=61 ctermfg=white
|
|
||||||
CSAHi Pmenu ctermbg=61 ctermfg=white
|
|
||||||
CSAHi String ctermbg=16 ctermfg=61
|
|
||||||
CSAHi Folded ctermbg=61 ctermfg=black
|
|
||||||
CSAHi VertSplit term=reverse ctermbg=black ctermfg=61
|
|
||||||
CSAHi PmenuSel ctermbg=220 ctermfg=black
|
|
||||||
CSAHi Search term=reverse ctermbg=23 ctermfg=107
|
|
||||||
CSAHi DiffAdd term=bold ctermbg=23 ctermfg=107
|
|
||||||
CSAHi Exception ctermbg=16 ctermfg=red
|
|
||||||
CSAHi Title term=bold ctermbg=16 ctermfg=red
|
|
||||||
CSAHi Error term=reverse ctermbg=red ctermfg=white
|
|
||||||
CSAHi DiffDelete term=bold ctermbg=red ctermfg=white
|
|
||||||
CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=red
|
|
||||||
CSAHi LineNr term=underline ctermbg=black ctermfg=61
|
|
||||||
CSAHi Statement term=bold ctermbg=16 ctermfg=98
|
|
||||||
CSAHi Underlined term=underline cterm=bold,underline ctermfg=111
|
|
||||||
CSAHi CursorLine term=underline cterm=underline ctermbg=black
|
|
||||||
CSAHi CursorColumn term=reverse ctermbg=23 ctermfg=white
|
|
||||||
CSAHi Include ctermbg=16 ctermfg=91
|
|
||||||
CSAHi Define ctermbg=16 ctermfg=91
|
|
||||||
CSAHi Macro ctermbg=16 ctermfg=91
|
|
||||||
CSAHi PreProc term=underline ctermbg=16 ctermfg=91
|
|
||||||
CSAHi PreCondit ctermbg=16 ctermfg=91
|
|
||||||
CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=61
|
|
||||||
CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=220
|
|
||||||
CSAHi WildMenu ctermbg=16 ctermfg=103
|
|
||||||
CSAHi FoldColumn ctermbg=16 ctermfg=61
|
|
||||||
CSAHi IncSearch term=reverse cterm=bold ctermbg=110 ctermfg=16
|
|
||||||
CSAHi DiffText term=reverse cterm=bold ctermbg=110 ctermfg=16
|
|
||||||
CSAHi Label ctermbg=16 ctermfg=98
|
|
||||||
CSAHi Operator ctermbg=16 ctermfg=100
|
|
||||||
CSAHi Number ctermbg=16 ctermfg=110
|
|
||||||
CSAHi MatchParen term=reverse ctermbg=107 ctermfg=16
|
|
||||||
CSAHi SpecialKey term=bold ctermbg=16 ctermfg=91
|
|
||||||
|
|
||||||
CSAHi Cursor ctermbg=103 ctermfg=16
|
|
||||||
CSAHi lCursor ctermbg=103 ctermfg=16
|
|
||||||
CSAHi Delimiter ctermbg=16 ctermfg=61
|
|
||||||
CSAHi Directory term=bold ctermfg=38
|
|
||||||
CSAHi ErrorMsg ctermbg=160 ctermfg=231
|
|
||||||
CSAHi Identifier term=underline ctermfg=87
|
|
||||||
CSAHi Ignore ctermfg=16
|
|
||||||
CSAHi ModeMsg term=bold cterm=bold
|
|
||||||
CSAHi MoreMsg term=bold cterm=bold ctermfg=29
|
|
||||||
CSAHi NonText term=bold ctermbg=16 ctermfg=59
|
|
||||||
CSAHi PmenuSbar ctermbg=250
|
|
||||||
CSAHi PmenuThumb ctermbg=103 ctermfg=16
|
|
||||||
CSAHi Question cterm=bold ctermfg=22
|
|
||||||
CSAHi SignColumn ctermbg=250 ctermfg=38
|
|
||||||
CSAHi Special term=bold ctermbg=16 ctermfg=61
|
|
||||||
CSAHi SpecialChar ctermbg=16 ctermfg=61
|
|
||||||
CSAHi SpecialComment ctermbg=16 ctermfg=31
|
|
||||||
CSAHi SpellBad term=reverse cterm=undercurl ctermfg=196
|
|
||||||
CSAHi SpellCap term=reverse cterm=undercurl ctermfg=21
|
|
||||||
CSAHi SpellLocal term=underline cterm=undercurl ctermfg=51
|
|
||||||
CSAHi SpellRare term=reverse cterm=undercurl ctermfg=201
|
|
||||||
CSAHi TabLine term=underline ctermbg=16 ctermfg=103
|
|
||||||
CSAHi TabLineFill term=reverse ctermbg=103 ctermfg=16
|
|
||||||
CSAHi TabLineSel term=bold cterm=bold
|
|
||||||
CSAHi Tag ctermbg=16 ctermfg=61
|
|
||||||
CSAHi VisualNOS term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi WarningMsg ctermfg=160
|
|
||||||
CSAHi htmlBold term=bold cterm=bold
|
|
||||||
CSAHi htmlBoldItalic term=bold,italic cterm=bold
|
|
||||||
CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline
|
|
||||||
CSAHi htmlItalic term=italic
|
|
||||||
CSAHi htmlUnderline term=underline cterm=underline
|
|
||||||
CSAHi htmlUnderlineItalic term=italic,underline cterm=underline
|
|
||||||
elseif has("gui_running") || &t_Co == 88
|
|
||||||
CSAHi Normal ctermbg=80 ctermfg=37
|
|
||||||
CSAHi Constant term=underline ctermbg=80 ctermfg=42
|
|
||||||
CSAHi Boolean ctermbg=80 ctermfg=42
|
|
||||||
CSAHi Character ctermbg=80 ctermfg=42
|
|
||||||
CSAHi Float ctermbg=80 ctermfg=42
|
|
||||||
CSAHi Comment term=bold ctermbg=80 ctermfg=21
|
|
||||||
CSAHi Type term=underline ctermbg=80 ctermfg=72
|
|
||||||
CSAHi Typedef ctermbg=80 ctermfg=72
|
|
||||||
CSAHi Structure ctermbg=80 ctermfg=72
|
|
||||||
CSAHi Function ctermbg=80 ctermfg=72
|
|
||||||
CSAHi StorageClass ctermbg=80 ctermfg=72
|
|
||||||
CSAHi Conditional ctermbg=80 ctermfg=68
|
|
||||||
CSAHi Repeat ctermbg=80 ctermfg=40
|
|
||||||
CSAHi Visual term=reverse ctermbg=18 ctermfg=white
|
|
||||||
CSAHi DiffChange term=bold ctermbg=18 ctermfg=white
|
|
||||||
CSAHi Pmenu ctermbg=18 ctermfg=white
|
|
||||||
CSAHi String ctermbg=80 ctermfg=38
|
|
||||||
CSAHi Folded ctermbg=38 ctermfg=black
|
|
||||||
CSAHi VertSplit term=reverse ctermbg=black ctermfg=38
|
|
||||||
CSAHi PmenuSel ctermbg=72 ctermfg=black
|
|
||||||
CSAHi Search term=reverse ctermbg=20 ctermfg=40
|
|
||||||
CSAHi DiffAdd term=bold ctermbg=20 ctermfg=40
|
|
||||||
CSAHi Exception ctermbg=80 ctermfg=red
|
|
||||||
CSAHi Title term=bold ctermbg=80 ctermfg=red
|
|
||||||
CSAHi Error term=reverse ctermbg=red ctermfg=white
|
|
||||||
CSAHi DiffDelete term=bold ctermbg=red ctermfg=white
|
|
||||||
CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=white
|
|
||||||
CSAHi LineNr term=underline ctermbg=black ctermfg=38
|
|
||||||
CSAHi Statement term=bold ctermbg=80 ctermfg=38
|
|
||||||
CSAHi Underlined term=underline cterm=bold,underline ctermfg=39
|
|
||||||
CSAHi CursorLine term=underline ctermbg=black
|
|
||||||
CSAHi CursorColumn term=reverse ctermbg=20 ctermfg=white
|
|
||||||
CSAHi Include ctermbg=80 ctermfg=33
|
|
||||||
CSAHi Define ctermbg=80 ctermfg=33
|
|
||||||
CSAHi Macro ctermbg=80 ctermfg=33
|
|
||||||
CSAHi PreProc term=underline ctermbg=80 ctermfg=33
|
|
||||||
CSAHi PreCondit ctermbg=80 ctermfg=33
|
|
||||||
CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=38
|
|
||||||
CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=72
|
|
||||||
CSAHi WildMenu ctermbg=16 ctermfg=37
|
|
||||||
CSAHi FoldColumn ctermbg=16 ctermfg=38
|
|
||||||
CSAHi IncSearch term=reverse cterm=bold ctermbg=42 ctermfg=16
|
|
||||||
CSAHi DiffText term=reverse cterm=bold ctermbg=42 ctermfg=16
|
|
||||||
CSAHi Label ctermbg=80 ctermfg=38
|
|
||||||
CSAHi Operator ctermbg=80 ctermfg=36
|
|
||||||
CSAHi Number ctermbg=80 ctermfg=42
|
|
||||||
CSAHi MatchParen term=reverse ctermbg=40 ctermfg=16
|
|
||||||
CSAHi SpecialKey term=bold ctermbg=80 ctermfg=33
|
|
||||||
|
|
||||||
CSAHi Cursor ctermbg=37 ctermfg=16
|
|
||||||
CSAHi lCursor ctermbg=37 ctermfg=80
|
|
||||||
CSAHi Delimiter ctermbg=80 ctermfg=18
|
|
||||||
CSAHi Directory term=bold ctermfg=23
|
|
||||||
CSAHi ErrorMsg ctermbg=48 ctermfg=79
|
|
||||||
CSAHi Identifier term=underline ctermfg=31
|
|
||||||
CSAHi Ignore ctermfg=80
|
|
||||||
CSAHi ModeMsg term=bold cterm=bold
|
|
||||||
CSAHi MoreMsg term=bold cterm=bold ctermfg=21
|
|
||||||
CSAHi NonText term=bold ctermbg=80 ctermfg=17
|
|
||||||
CSAHi PmenuSbar ctermbg=85
|
|
||||||
CSAHi PmenuThumb ctermbg=37 ctermfg=80
|
|
||||||
CSAHi Question cterm=bold ctermfg=20
|
|
||||||
CSAHi SignColumn ctermbg=85 ctermfg=23
|
|
||||||
CSAHi Special term=bold ctermbg=80 ctermfg=18
|
|
||||||
CSAHi SpecialChar ctermbg=80 ctermfg=18
|
|
||||||
CSAHi SpecialComment ctermbg=80 ctermfg=22
|
|
||||||
CSAHi SpellBad term=reverse cterm=undercurl ctermfg=64
|
|
||||||
CSAHi SpellCap term=reverse cterm=undercurl ctermfg=19
|
|
||||||
CSAHi SpellLocal term=underline cterm=undercurl ctermfg=31
|
|
||||||
CSAHi SpellRare term=reverse cterm=undercurl ctermfg=67
|
|
||||||
CSAHi TabLine term=underline ctermbg=16 ctermfg=37
|
|
||||||
CSAHi TabLineFill term=reverse ctermbg=37 ctermfg=80
|
|
||||||
CSAHi TabLineSel term=bold cterm=bold
|
|
||||||
CSAHi Tag ctermbg=80 ctermfg=18
|
|
||||||
CSAHi VisualNOS term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi WarningMsg ctermfg=48
|
|
||||||
CSAHi htmlBold term=bold cterm=bold
|
|
||||||
CSAHi htmlBoldItalic term=bold,italic cterm=bold
|
|
||||||
CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline
|
|
||||||
CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline
|
|
||||||
CSAHi htmlItalic term=italic
|
|
||||||
CSAHi htmlUnderline term=underline cterm=underline
|
|
||||||
CSAHi htmlUnderlineItalic term=italic,underline cterm=underline
|
|
||||||
endif
|
|
||||||
delcommand CSAHi
|
|
||||||
|
|
||||||
endif
|
|
@ -1,397 +0,0 @@
|
|||||||
"-------------------------------------------------------------------------------
|
|
||||||
" Description: My personal colors
|
|
||||||
" $Id: martin_krischik.vim 458 2006-11-18 09:42:10Z krischik $
|
|
||||||
" Copyright: Copyright (C) 2006 Martin Krischik
|
|
||||||
" Maintainer: Martin Krischik
|
|
||||||
" $Author: krischik $
|
|
||||||
" $Date: 2006-11-18 10:42:10 +0100 (Sa, 18 Nov 2006) $
|
|
||||||
" Version: 3.2
|
|
||||||
" $Revision: 458 $
|
|
||||||
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/colors/martin_krischik.vim $
|
|
||||||
" Note: Tried and Tested for 'builtin_gui', 'xterm' (KDE Konsole)
|
|
||||||
" 'vt320'" (OpenVMS) and 'linux' (Linux Console).
|
|
||||||
" History: 16.05.2006 MK Check that all vim 7.0 colors are set
|
|
||||||
" 16.05.2006 MK Split GUI from terminal.
|
|
||||||
" 24.05.2006 MK Unified Headers
|
|
||||||
" 24.07.2006 MK Omni-Completion Colors.
|
|
||||||
" 15.10.2006 MK Bram's suggestion for runtime integration
|
|
||||||
" Usage: copy to colors directory
|
|
||||||
"------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
" First remove all existing highlighting.
|
|
||||||
|
|
||||||
set background=light
|
|
||||||
highlight clear
|
|
||||||
|
|
||||||
if exists ("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let colors_name = "martin_krischik"
|
|
||||||
|
|
||||||
if version < 700
|
|
||||||
" Section: works only with vim 7.0 use default otherwise {{{1
|
|
||||||
"
|
|
||||||
colorscheme default
|
|
||||||
"
|
|
||||||
" }}}1
|
|
||||||
finish
|
|
||||||
elseif (&term == "builtin_gui")
|
|
||||||
" Section: Set GUI colors. {{{1
|
|
||||||
"
|
|
||||||
" Subsection: User-Interface Colors {{{2
|
|
||||||
"
|
|
||||||
" Group: Normal Text Colors {{{3
|
|
||||||
"
|
|
||||||
highlight Normal gui=none guifg=black guibg=white
|
|
||||||
highlight Search guibg=Yellow
|
|
||||||
highlight SpecialKey guifg=Blue
|
|
||||||
highlight Title gui=bold guifg=Magenta
|
|
||||||
highlight LineNr guifg=Brown guibg=grey80
|
|
||||||
highlight NonText gui=bold guifg=Blue guibg=grey80
|
|
||||||
highlight MatchParen guibg=Cyan
|
|
||||||
highlight IncSearch gui=reverse
|
|
||||||
"
|
|
||||||
" Group: Messages {{{3
|
|
||||||
"
|
|
||||||
highlight WarningMsg guifg=Red
|
|
||||||
highlight ErrorMsg guifg=White guibg=Red
|
|
||||||
highlight ModeMsg gui=bold
|
|
||||||
highlight MoreMsg gui=bold guifg=SeaGreen
|
|
||||||
highlight Question gui=bold guifg=SeaGreen
|
|
||||||
"
|
|
||||||
" Group: Spell Checker {{{3
|
|
||||||
"
|
|
||||||
highlight SpellBad gui=undercurl guisp=Red
|
|
||||||
highlight SpellCap gui=undercurl guisp=Blue
|
|
||||||
highlight SpellLocal gui=undercurl guisp=DarkCyan
|
|
||||||
highlight SpellRare gui=undercurl guisp=Magenta
|
|
||||||
"
|
|
||||||
" Group: Status line {{{3
|
|
||||||
"
|
|
||||||
highlight StatusLine gui=bold,reverse guifg=LightBlue2 guibg=black
|
|
||||||
highlight StatusLineNC gui=reverse guifg=grey75 guibg=black
|
|
||||||
highlight VertSplit gui=reverse guifg=LightBlue3 guibg=black
|
|
||||||
"
|
|
||||||
" Group: Visual selektio {{{3n
|
|
||||||
"
|
|
||||||
highlight Visual gui=reverse guifg=firebrick guibg=white
|
|
||||||
highlight VisualNOS gui=reverse guifg=firebrick guibg=black
|
|
||||||
"
|
|
||||||
" Group: tab pages line {{{3
|
|
||||||
"
|
|
||||||
highlight TabLine gui=reverse guifg=grey75 guibg=black
|
|
||||||
highlight TabLineFill gui=reverse
|
|
||||||
highlight TabLineSel gui=bold,reverse guifg=LightBlue2 guibg=black
|
|
||||||
"
|
|
||||||
" Group: Competion (omni and otherwise) menu colors {{{3
|
|
||||||
"
|
|
||||||
highlight Pmenu guibg=Grey
|
|
||||||
highlight PmenuSel guifg=White guibg=firebrick
|
|
||||||
highlight PmenuSbar guibg=LightGrey guibg=DarkGrey
|
|
||||||
highlight PmenuThumb gui=reverse
|
|
||||||
highlight WildMenu guifg=White guibg=firebrick
|
|
||||||
"
|
|
||||||
" Group: Diff colors {{{3
|
|
||||||
"
|
|
||||||
highlight DiffAdd guibg=LightBlue
|
|
||||||
highlight DiffChange guibg=LightMagenta
|
|
||||||
highlight DiffDelete gui=bold guifg=Blue guibg=LightCyan
|
|
||||||
highlight DiffText gui=bold guibg=Red
|
|
||||||
"
|
|
||||||
" Group: Fold colors {{{3
|
|
||||||
"
|
|
||||||
highlight FoldColumn guifg=DarkBlue guibg=Grey
|
|
||||||
highlight Folded guifg=DarkBlue guibg=LightGrey
|
|
||||||
"
|
|
||||||
" Group: Other Syntax Highlight Colors {{{3
|
|
||||||
"
|
|
||||||
highlight Directory guifg=Blue
|
|
||||||
highlight SignColumn guifg=DarkBlue guibg=Grey
|
|
||||||
"
|
|
||||||
" Group: Motif and Athena widget colors. {{{3
|
|
||||||
"
|
|
||||||
highlight Menu guifg=Black guibg=LightGrey
|
|
||||||
highlight Scrollbar guifg=LightGrey guibg=DarkGrey
|
|
||||||
highlight Tooltip guifg=Black guibg=LightGrey
|
|
||||||
|
|
||||||
" Subsection: Syntax Colors {{{2
|
|
||||||
"
|
|
||||||
" Group: Comment colors syntax-group
|
|
||||||
"
|
|
||||||
highlight Comment guifg=grey30
|
|
||||||
"
|
|
||||||
" Group: Constant colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Boolean guifg=DarkOrchid3 guibg=grey95
|
|
||||||
highlight Character guifg=RoyalBlue3 guibg=grey95
|
|
||||||
highlight Constant guifg=MediumOrchid3 guibg=grey95
|
|
||||||
highlight Float guifg=MediumOrchid4 guibg=grey95
|
|
||||||
highlight Number guifg=DarkOrchid4 guibg=grey95
|
|
||||||
highlight String guifg=RoyalBlue4 guibg=grey95
|
|
||||||
"
|
|
||||||
" Group: Identifier colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Function guifg=SteelBlue
|
|
||||||
highlight Identifier guifg=DarkCyan
|
|
||||||
"
|
|
||||||
" Group: Statement colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Conditional gui=bold guifg=DodgerBlue4
|
|
||||||
highlight Exception gui=none guifg=SlateBlue4
|
|
||||||
highlight Keyword gui=bold guifg=RoyalBlue4
|
|
||||||
highlight Label gui=none guifg=SlateBlue3
|
|
||||||
highlight Operator gui=none guifg=RoyalBlue3
|
|
||||||
highlight Repeat gui=bold guifg=DodgerBlue3
|
|
||||||
highlight Statement gui=none guifg=RoyalBlue4
|
|
||||||
"
|
|
||||||
" Group: Preprocessor colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Define guifg=brown4 guibg=snow
|
|
||||||
highlight Include guifg=firebrick3 guibg=snow
|
|
||||||
highlight Macro guifg=brown3 guibg=snow
|
|
||||||
highlight PreCondit guifg=red guibg=snow
|
|
||||||
highlight PreProc guifg=firebrick4 guibg=snow
|
|
||||||
"
|
|
||||||
" Group: type group {{{3
|
|
||||||
"
|
|
||||||
highlight StorageClass gui=none guifg=SeaGreen3
|
|
||||||
highlight Structure gui=none guifg=DarkSlateGray4
|
|
||||||
highlight Type gui=none guifg=SeaGreen4
|
|
||||||
highlight Typedef gui=none guifg=DarkSeaGreen4
|
|
||||||
"
|
|
||||||
" Group: special symbol group {{{3
|
|
||||||
"
|
|
||||||
highlight Special guifg=SlateBlue guibg=GhostWhite
|
|
||||||
highlight SpecialChar guifg=DeepPink guibg=GhostWhite
|
|
||||||
highlight Tag guifg=DarkSlateBlue guibg=GhostWhite
|
|
||||||
highlight Delimiter guifg=DarkOrchid guibg=GhostWhite
|
|
||||||
highlight SpecialComment guifg=VioletRed guibg=GhostWhite
|
|
||||||
highlight Debug guifg=maroon guibg=GhostWhite
|
|
||||||
"
|
|
||||||
" Group: text that stands out {{{3
|
|
||||||
"
|
|
||||||
highlight Underlined gui=underline guifg=SlateBlue
|
|
||||||
"
|
|
||||||
" Group: left blank, hidden {{{3
|
|
||||||
"
|
|
||||||
highlight Ignore guifg=bg
|
|
||||||
"
|
|
||||||
" Group: any erroneous construct {{{3
|
|
||||||
"
|
|
||||||
highlight Error gui=undercurl guifg=Red guibg=MistyRose
|
|
||||||
"
|
|
||||||
" Group: anything that needs extra attention {{{3
|
|
||||||
"
|
|
||||||
highlight Todo guifg=Blue guibg=Yellow
|
|
||||||
|
|
||||||
" Subsection: Cursor Colors {{{2
|
|
||||||
"
|
|
||||||
" Group: Mouse Cursor {{{3
|
|
||||||
"
|
|
||||||
highlight cCursor guifg=bg guibg=DarkRed
|
|
||||||
highlight Cursor guifg=bg guibg=DarkGreen
|
|
||||||
highlight CursorColumn guibg=FloralWhite
|
|
||||||
highlight CursorIM guifg=bg guibg=DarkGrey
|
|
||||||
highlight CursorLine guibg=cornsilk
|
|
||||||
highlight lCursor guifg=bg guibg=DarkMagenta
|
|
||||||
highlight oCursor guifg=bg guibg=DarkCyan
|
|
||||||
highlight vCursor guifg=bg guibg=DarkYellow
|
|
||||||
"
|
|
||||||
" Group: Text Cursor {{{3
|
|
||||||
"
|
|
||||||
set guicursor=n:block-lCursor,
|
|
||||||
\i:ver25-Cursor,
|
|
||||||
\r:hor25-Cursor,
|
|
||||||
\v:block-vCursor,
|
|
||||||
\ve:ver35-vCursor,
|
|
||||||
\o:hor50-oCursor-blinkwait75-blinkoff50-blinkon75,
|
|
||||||
\c:block-cCursor,
|
|
||||||
\ci:ver20-cCursor,
|
|
||||||
\cr:hor20-cCursor,
|
|
||||||
\sm:block-Cursor-blinkwait175-blinkoff150-blinkon175
|
|
||||||
|
|
||||||
syntax enable
|
|
||||||
|
|
||||||
" }}}1
|
|
||||||
finish
|
|
||||||
elseif (&term == "xterm") ||
|
|
||||||
\ (&term == "vt320") ||
|
|
||||||
\ (&term == "linux")
|
|
||||||
" Section: Only set colors for terminals we actualy know of {{{1
|
|
||||||
"
|
|
||||||
if &term=="vt320"
|
|
||||||
set t_Co=8
|
|
||||||
else
|
|
||||||
set t_Co=16
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Subsection: User Interface Colors {{{2
|
|
||||||
"
|
|
||||||
" Group: Normal Text Colors {{{3
|
|
||||||
"
|
|
||||||
highlight Normal term=none cterm=none ctermfg=Black ctermbg=LightGray
|
|
||||||
highlight Search term=reverse ctermbg=DarkYellow
|
|
||||||
highlight SpecialKey term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight Title term=bold ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight LineNr term=underline ctermfg=DarkRed ctermbg=DarkGray
|
|
||||||
highlight NonText term=bold ctermfg=LightBlue ctermbg=LightGray
|
|
||||||
highlight MatchParen term=reverse ctermbg=DarkYellow
|
|
||||||
highlight IncSearch term=reverse cterm=reverse
|
|
||||||
"
|
|
||||||
" Group: Messages {{{3
|
|
||||||
"
|
|
||||||
highlight WarningMsg term=standout ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
highlight ErrorMsg term=standout ctermfg=White ctermbg=DarkRed
|
|
||||||
highlight ModeMsg term=bold cterm=bold ctermbg=LightGray
|
|
||||||
highlight MoreMsg term=bold ctermfg=DarkGreen ctermbg=LightGray
|
|
||||||
highlight Question term=standout ctermfg=DarkGreen ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: Spell Checker {{{3
|
|
||||||
"
|
|
||||||
highlight SpellBad term=reverse ctermbg=LightRed
|
|
||||||
highlight SpellCap term=reverse ctermbg=LightBlue
|
|
||||||
highlight SpellLocal term=underline ctermbg=LightCyan
|
|
||||||
highlight SpellRare term=reverse ctermbg=LightMagenta
|
|
||||||
"
|
|
||||||
" Group: Status line {{{3
|
|
||||||
"
|
|
||||||
highlight StatusLine term=bold,reverse cterm=bold,reverse
|
|
||||||
highlight StatusLineNC term=reverse cterm=reverse
|
|
||||||
highlight VertSplit term=reverse cterm=reverse
|
|
||||||
"
|
|
||||||
" Group: Visual selektion {{{3
|
|
||||||
"
|
|
||||||
highlight Visual term=reverse cterm=reverse ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
highlight VisualNOS term=bold,underline cterm=bold,underline
|
|
||||||
"
|
|
||||||
" Group: tab pages line {{{3
|
|
||||||
"
|
|
||||||
highlight TabLine term=reverse cterm=reverse
|
|
||||||
highlight TabLineFill term=reverse cterm=reverse
|
|
||||||
highlight TabLineSel term=bold,reverse cterm=bold,reverse
|
|
||||||
"
|
|
||||||
" Group: Menu colors {{{3
|
|
||||||
"
|
|
||||||
highlight Pmenu ctermbg=Grey
|
|
||||||
highlight PmenuSel ctermfg=White ctermbg=Red
|
|
||||||
highlight PmenuSbar ctermfg=LightGrey ctermbg=DarkGray
|
|
||||||
highlight PmenuThumb cterm=reverse
|
|
||||||
highlight WildMenu term=standout ctermfg=White ctermbg=Red
|
|
||||||
"
|
|
||||||
" Group: Diff colors {{{3
|
|
||||||
"
|
|
||||||
highlight DiffAdd term=bold ctermbg=LightBlue
|
|
||||||
highlight DiffChange term=bold ctermbg=LightMagenta
|
|
||||||
highlight DiffDelete term=bold ctermfg=LightBlue ctermbg=LightCyan
|
|
||||||
highlight DiffText term=reverse cterm=bold ctermbg=LightRed
|
|
||||||
"
|
|
||||||
" Group: Fold colors {{{3
|
|
||||||
"
|
|
||||||
highlight FoldColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray
|
|
||||||
highlight Folded term=standout ctermfg=DarkBlue ctermbg=DarkGray
|
|
||||||
"
|
|
||||||
" Group: Other Syntax Highlight Colors {{{3
|
|
||||||
"
|
|
||||||
highlight Directory term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight SignColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray
|
|
||||||
|
|
||||||
" Subsection: Syntax Colors {{{2
|
|
||||||
"
|
|
||||||
" Group: Comment colors syntax-group {{{3
|
|
||||||
"
|
|
||||||
highlight Comment term=bold ctermfg=DarkGray ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: Constant colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Boolean term=underline ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
highlight Character term=underline ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
highlight Constant term=underline ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
highlight Float term=underline ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
highlight Number term=underline ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
highlight String term=underline ctermfg=DarkRed ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: Identifier colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Function term=underline ctermfg=DarkCyan ctermbg=LightGray
|
|
||||||
highlight Identifier term=underline ctermfg=DarkCyan ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: Statement colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Conditional term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight Exception term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight Keyword term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight Label term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight Operator term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight Repeat term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
highlight Statement term=bold ctermfg=DarkBlue ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: Preprocessor colors group {{{3
|
|
||||||
"
|
|
||||||
highlight Define term=underline ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight Include term=underline ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight Macro term=underline ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight PreCondit term=underline ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight PreProc term=underline ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: type group {{{3
|
|
||||||
"
|
|
||||||
highlight StorageClass term=underline ctermfg=DarkGreen ctermbg=LightGray
|
|
||||||
highlight Structure term=underline ctermfg=DarkGreen ctermbg=LightGray
|
|
||||||
highlight Type term=underline ctermfg=DarkGreen ctermbg=LightGray
|
|
||||||
highlight Typedef term=underline ctermfg=DarkGreen ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: special symbol group {{{3
|
|
||||||
"
|
|
||||||
highlight Special term=bold ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight SpecialChar term=bold ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight Tag term=bold ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight Delimiter term=bold ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight SpecialComment term=bold ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
highlight Debug term=bold ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: text that stands out {{{3
|
|
||||||
"
|
|
||||||
highlight Underlined term=underline cterm=underline ctermfg=DarkMagenta ctermbg=LightGray
|
|
||||||
"
|
|
||||||
" Group: left blank, hidden {{{3
|
|
||||||
"
|
|
||||||
highlight Ignore ctermfg=White ctermbg=grey
|
|
||||||
"
|
|
||||||
" Group: any erroneous construct {{{3
|
|
||||||
"
|
|
||||||
highlight Error term=reverse ctermfg=White ctermbg=LightRed
|
|
||||||
"
|
|
||||||
" Group: anything that needs extra attention {{{3
|
|
||||||
"
|
|
||||||
highlight Todo term=standout ctermfg=Black ctermbg=Yellow
|
|
||||||
|
|
||||||
" Subsection: Cursor Colors {{{2
|
|
||||||
"
|
|
||||||
" Group: Mouse Cursor {{{3
|
|
||||||
"
|
|
||||||
highlight Cursor ctermfg=bg ctermbg=DarkGreen
|
|
||||||
highlight CursorColumn term=reverse ctermbg=LightGray
|
|
||||||
highlight CursorIM ctermfg=bg ctermbg=DarkGrey
|
|
||||||
highlight CursorLine term=reverse ctermbg=LightGray
|
|
||||||
|
|
||||||
syntax enable
|
|
||||||
|
|
||||||
" }}}1
|
|
||||||
finish
|
|
||||||
else
|
|
||||||
" Section: terminal is completely unknown - fallback to system default {{{1
|
|
||||||
"
|
|
||||||
set t_Co=8
|
|
||||||
|
|
||||||
" }}}1
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
"------------------------------------------------------------------------------
|
|
||||||
" Copyright (C) 2006 Martin Krischik
|
|
||||||
"
|
|
||||||
" Vim is Charityware - see ":help license" or uganda.txt for licence details.
|
|
||||||
"------------------------------------------------------------------------------
|
|
||||||
" vim: nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
|
|
||||||
" vim: filetype=vim foldmethod=marker textwidth=0
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue