remove hybrid and xoria256 themes, jellybeans is much better
This commit is contained in:
parent
3b3f30505d
commit
ca1f6d41e4
2 changed files with 0 additions and 583 deletions
|
@ -1,441 +0,0 @@
|
||||||
" File: hybrid.vim
|
|
||||||
" Maintainer: Andrew Wong (w0ng)
|
|
||||||
" URL: https://github.com/w0ng/vim-hybrid
|
|
||||||
" Modified: 27 Jan 2013 07:33 AM AEST
|
|
||||||
" License: MIT
|
|
||||||
|
|
||||||
" Description:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
" The RGB colour palette is taken from Tomorrow-Night.vim:
|
|
||||||
" https://github.com/chriskempson/vim-tomorrow-theme
|
|
||||||
"
|
|
||||||
" The syntax highlighting scheme is taken from jellybeans.vim:
|
|
||||||
" https://github.com/nanotech/jellybeans.vim
|
|
||||||
"
|
|
||||||
" The code taken from solarized.vim
|
|
||||||
" https://github.com/altercation/vim-colors-solarized
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Requirements And Recommendations:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
" This colourscheme is intended for use on:
|
|
||||||
" - gVim 7.3 for Linux, Mac and Windows.
|
|
||||||
" - Vim 7.3 for Linux, using a 256 colour enabled terminal.
|
|
||||||
"
|
|
||||||
" By default, Vim will use the closest matching cterm equivalent of the RGB
|
|
||||||
" colours.
|
|
||||||
"
|
|
||||||
" However, Due to the limited 256 palette, colours in Vim and gVim will still
|
|
||||||
" be noticeably different. In order to get a uniform appearance and the way
|
|
||||||
" that this colourscheme was intended, it is HIGHLY recommended that you:
|
|
||||||
"
|
|
||||||
" 1. Add these colours to ~/.Xresources:
|
|
||||||
"
|
|
||||||
" https://gist.github.com/3278077
|
|
||||||
"
|
|
||||||
" 2. Use Xresources colours by setting in ~/.vimrc:
|
|
||||||
"
|
|
||||||
" let g:hybrid_use_Xresources = 1
|
|
||||||
" colorscheme hybrid
|
|
||||||
"
|
|
||||||
" For iTerm2 users:
|
|
||||||
" 1. Install this color preset on your iTerm2:
|
|
||||||
"
|
|
||||||
" https://gist.github.com/luan/6362811
|
|
||||||
"
|
|
||||||
" 2. Use iTerm colours by setting in ~/.vimrc:
|
|
||||||
"
|
|
||||||
" let g:hybrid_use_iTerm_colors = 1
|
|
||||||
" colorscheme hybrid
|
|
||||||
"
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Initialisation:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
if !has("gui_running") && &t_Co < 256
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !exists("g:hybrid_use_Xresources")
|
|
||||||
let g:hybrid_use_Xresources = 0
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !exists("g:hybrid_use_iTerm_colors")
|
|
||||||
let g:hybrid_use_iTerm_colors = 0
|
|
||||||
endif
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let colors_name = "hybrid"
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" GUI And Cterm Palettes:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
if has("gui_running")
|
|
||||||
let s:vmode = "gui"
|
|
||||||
let s:background = "#1d1f21"
|
|
||||||
let s:foreground = "#c5c8c6"
|
|
||||||
let s:selection = "#373b41"
|
|
||||||
let s:line = "#282a2e"
|
|
||||||
let s:comment = "#707880"
|
|
||||||
let s:red = "#cc6666"
|
|
||||||
let s:orange = "#de935f"
|
|
||||||
let s:yellow = "#f0c674"
|
|
||||||
let s:green = "#b5bd68"
|
|
||||||
let s:aqua = "#8abeb7"
|
|
||||||
let s:blue = "#81a2be"
|
|
||||||
let s:purple = "#b294bb"
|
|
||||||
let s:window = "#303030"
|
|
||||||
let s:darkcolumn = "#1c1c1c"
|
|
||||||
let s:addbg = "#5F875F"
|
|
||||||
let s:addfg = "#d7ffaf"
|
|
||||||
let s:changebg = "#5F5F87"
|
|
||||||
let s:changefg = "#d7d7ff"
|
|
||||||
let s:darkblue = "#00005f"
|
|
||||||
let s:darkcyan = "#005f5f"
|
|
||||||
let s:darkred = "#5f0000"
|
|
||||||
let s:darkpurple = "#5f005f"
|
|
||||||
else
|
|
||||||
let s:vmode = "cterm"
|
|
||||||
let s:background = "234"
|
|
||||||
let s:window = "236"
|
|
||||||
let s:darkcolumn = "234"
|
|
||||||
let s:addbg = "65"
|
|
||||||
let s:addfg = "193"
|
|
||||||
let s:changebg = "60"
|
|
||||||
let s:changefg = "189"
|
|
||||||
let s:darkblue = "17"
|
|
||||||
let s:darkcyan = "24"
|
|
||||||
let s:darkred = "52"
|
|
||||||
let s:darkpurple = "53"
|
|
||||||
if g:hybrid_use_Xresources == 1
|
|
||||||
let s:foreground = "15" " White
|
|
||||||
let s:selection = "8" " DarkGrey
|
|
||||||
let s:line = "0" " Black
|
|
||||||
let s:comment = "7" " LightGrey
|
|
||||||
let s:red = "9" " LightRed
|
|
||||||
let s:orange = "3" " DarkYellow
|
|
||||||
let s:yellow = "11" " LightYellow
|
|
||||||
let s:green = "10" " LightGreen
|
|
||||||
let s:aqua = "14" " LightCyan
|
|
||||||
let s:blue = "12" " LightBlue
|
|
||||||
let s:purple = "13" " LightMagenta
|
|
||||||
elseif g:hybrid_use_iTerm_colors == 1
|
|
||||||
let s:background = "NONE"
|
|
||||||
let s:foreground = "7"
|
|
||||||
let s:selection = "0"
|
|
||||||
let s:line = "0"
|
|
||||||
let s:comment = "15"
|
|
||||||
let s:red = "1"
|
|
||||||
let s:orange = "11"
|
|
||||||
let s:yellow = "3"
|
|
||||||
let s:green = "2"
|
|
||||||
let s:aqua = "6"
|
|
||||||
let s:blue = "4"
|
|
||||||
let s:purple = "5"
|
|
||||||
else
|
|
||||||
let s:foreground = "250"
|
|
||||||
let s:selection = "237"
|
|
||||||
let s:line = "235"
|
|
||||||
let s:comment = "243"
|
|
||||||
let s:red = "167"
|
|
||||||
let s:orange = "173"
|
|
||||||
let s:yellow = "221"
|
|
||||||
let s:green = "143"
|
|
||||||
let s:aqua = "109"
|
|
||||||
let s:blue = "110"
|
|
||||||
let s:purple = "139"
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Formatting Options:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
let s:none = "NONE"
|
|
||||||
let s:t_none = "NONE"
|
|
||||||
let s:n = "NONE"
|
|
||||||
let s:c = ",undercurl"
|
|
||||||
let s:r = ",reverse"
|
|
||||||
let s:s = ",standout"
|
|
||||||
let s:b = ",bold"
|
|
||||||
let s:u = ",underline"
|
|
||||||
let s:i = ",italic"
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Highlighting Primitives:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
exe "let s:bg_none = ' ".s:vmode."bg=".s:none ."'"
|
|
||||||
exe "let s:bg_foreground = ' ".s:vmode."bg=".s:foreground."'"
|
|
||||||
exe "let s:bg_background = ' ".s:vmode."bg=".s:background."'"
|
|
||||||
exe "let s:bg_selection = ' ".s:vmode."bg=".s:selection ."'"
|
|
||||||
exe "let s:bg_line = ' ".s:vmode."bg=".s:line ."'"
|
|
||||||
exe "let s:bg_comment = ' ".s:vmode."bg=".s:comment ."'"
|
|
||||||
exe "let s:bg_red = ' ".s:vmode."bg=".s:red ."'"
|
|
||||||
exe "let s:bg_orange = ' ".s:vmode."bg=".s:orange ."'"
|
|
||||||
exe "let s:bg_yellow = ' ".s:vmode."bg=".s:yellow ."'"
|
|
||||||
exe "let s:bg_green = ' ".s:vmode."bg=".s:green ."'"
|
|
||||||
exe "let s:bg_aqua = ' ".s:vmode."bg=".s:aqua ."'"
|
|
||||||
exe "let s:bg_blue = ' ".s:vmode."bg=".s:blue ."'"
|
|
||||||
exe "let s:bg_purple = ' ".s:vmode."bg=".s:purple ."'"
|
|
||||||
exe "let s:bg_window = ' ".s:vmode."bg=".s:window ."'"
|
|
||||||
exe "let s:bg_darkcolumn = ' ".s:vmode."bg=".s:darkcolumn."'"
|
|
||||||
exe "let s:bg_addbg = ' ".s:vmode."bg=".s:addbg ."'"
|
|
||||||
exe "let s:bg_addfg = ' ".s:vmode."bg=".s:addfg ."'"
|
|
||||||
exe "let s:bg_changebg = ' ".s:vmode."bg=".s:changebg ."'"
|
|
||||||
exe "let s:bg_changefg = ' ".s:vmode."bg=".s:changefg ."'"
|
|
||||||
exe "let s:bg_darkblue = ' ".s:vmode."bg=".s:darkblue ."'"
|
|
||||||
exe "let s:bg_darkcyan = ' ".s:vmode."bg=".s:darkcyan ."'"
|
|
||||||
exe "let s:bg_darkred = ' ".s:vmode."bg=".s:darkred ."'"
|
|
||||||
exe "let s:bg_darkpurple = ' ".s:vmode."bg=".s:darkpurple."'"
|
|
||||||
|
|
||||||
exe "let s:fg_none = ' ".s:vmode."fg=".s:none ."'"
|
|
||||||
exe "let s:fg_foreground = ' ".s:vmode."fg=".s:foreground."'"
|
|
||||||
exe "let s:fg_background = ' ".s:vmode."fg=".s:background."'"
|
|
||||||
exe "let s:fg_selection = ' ".s:vmode."fg=".s:selection ."'"
|
|
||||||
exe "let s:fg_line = ' ".s:vmode."fg=".s:line ."'"
|
|
||||||
exe "let s:fg_comment = ' ".s:vmode."fg=".s:comment ."'"
|
|
||||||
exe "let s:fg_red = ' ".s:vmode."fg=".s:red ."'"
|
|
||||||
exe "let s:fg_orange = ' ".s:vmode."fg=".s:orange ."'"
|
|
||||||
exe "let s:fg_yellow = ' ".s:vmode."fg=".s:yellow ."'"
|
|
||||||
exe "let s:fg_green = ' ".s:vmode."fg=".s:green ."'"
|
|
||||||
exe "let s:fg_aqua = ' ".s:vmode."fg=".s:aqua ."'"
|
|
||||||
exe "let s:fg_blue = ' ".s:vmode."fg=".s:blue ."'"
|
|
||||||
exe "let s:fg_purple = ' ".s:vmode."fg=".s:purple ."'"
|
|
||||||
exe "let s:fg_window = ' ".s:vmode."fg=".s:window ."'"
|
|
||||||
exe "let s:fg_darkcolumn = ' ".s:vmode."fg=".s:darkcolumn."'"
|
|
||||||
exe "let s:fg_addbg = ' ".s:vmode."fg=".s:addbg ."'"
|
|
||||||
exe "let s:fg_addfg = ' ".s:vmode."fg=".s:addfg ."'"
|
|
||||||
exe "let s:fg_changebg = ' ".s:vmode."fg=".s:changebg ."'"
|
|
||||||
exe "let s:fg_changefg = ' ".s:vmode."fg=".s:changefg ."'"
|
|
||||||
exe "let s:fg_darkblue = ' ".s:vmode."fg=".s:darkblue ."'"
|
|
||||||
exe "let s:fg_darkcyan = ' ".s:vmode."fg=".s:darkcyan ."'"
|
|
||||||
exe "let s:fg_darkred = ' ".s:vmode."fg=".s:darkred ."'"
|
|
||||||
exe "let s:fg_darkpurple = ' ".s:vmode."fg=".s:darkpurple."'"
|
|
||||||
|
|
||||||
exe "let s:fmt_none = ' ".s:vmode."=NONE". " term=NONE" ."'"
|
|
||||||
exe "let s:fmt_bold = ' ".s:vmode."=NONE".s:b. " term=NONE".s:b ."'"
|
|
||||||
exe "let s:fmt_bldi = ' ".s:vmode."=NONE".s:b. " term=NONE".s:b ."'"
|
|
||||||
exe "let s:fmt_undr = ' ".s:vmode."=NONE".s:u. " term=NONE".s:u ."'"
|
|
||||||
exe "let s:fmt_undb = ' ".s:vmode."=NONE".s:u.s:b. " term=NONE".s:u.s:b."'"
|
|
||||||
exe "let s:fmt_undi = ' ".s:vmode."=NONE".s:u. " term=NONE".s:u ."'"
|
|
||||||
exe "let s:fmt_curl = ' ".s:vmode."=NONE".s:c. " term=NONE".s:c ."'"
|
|
||||||
exe "let s:fmt_ital = ' ".s:vmode."=NONE".s:i. " term=NONE".s:i ."'"
|
|
||||||
exe "let s:fmt_stnd = ' ".s:vmode."=NONE".s:s. " term=NONE".s:s ."'"
|
|
||||||
exe "let s:fmt_revr = ' ".s:vmode."=NONE".s:r. " term=NONE".s:r ."'"
|
|
||||||
exe "let s:fmt_revb = ' ".s:vmode."=NONE".s:r.s:b. " term=NONE".s:r.s:b."'"
|
|
||||||
|
|
||||||
if has("gui_running")
|
|
||||||
exe "let s:sp_none = ' guisp=".s:none ."'"
|
|
||||||
exe "let s:sp_foreground = ' guisp=".s:foreground."'"
|
|
||||||
exe "let s:sp_background = ' guisp=".s:background."'"
|
|
||||||
exe "let s:sp_selection = ' guisp=".s:selection ."'"
|
|
||||||
exe "let s:sp_line = ' guisp=".s:line ."'"
|
|
||||||
exe "let s:sp_comment = ' guisp=".s:comment ."'"
|
|
||||||
exe "let s:sp_red = ' guisp=".s:red ."'"
|
|
||||||
exe "let s:sp_orange = ' guisp=".s:orange ."'"
|
|
||||||
exe "let s:sp_yellow = ' guisp=".s:yellow ."'"
|
|
||||||
exe "let s:sp_green = ' guisp=".s:green ."'"
|
|
||||||
exe "let s:sp_aqua = ' guisp=".s:aqua ."'"
|
|
||||||
exe "let s:sp_blue = ' guisp=".s:blue ."'"
|
|
||||||
exe "let s:sp_purple = ' guisp=".s:purple ."'"
|
|
||||||
exe "let s:sp_window = ' guisp=".s:window ."'"
|
|
||||||
exe "let s:sp_addbg = ' guisp=".s:addbg ."'"
|
|
||||||
exe "let s:sp_addfg = ' guisp=".s:addfg ."'"
|
|
||||||
exe "let s:sp_changebg = ' guisp=".s:changebg ."'"
|
|
||||||
exe "let s:sp_changefg = ' guisp=".s:changefg ."'"
|
|
||||||
exe "let s:sp_darkblue = ' guisp=".s:darkblue ."'"
|
|
||||||
exe "let s:sp_darkcyan = ' guisp=".s:darkcyan ."'"
|
|
||||||
exe "let s:sp_darkred = ' guisp=".s:darkred ."'"
|
|
||||||
exe "let s:sp_darkpurple = ' guisp=".s:darkpurple."'"
|
|
||||||
else
|
|
||||||
let s:sp_none = ""
|
|
||||||
let s:sp_foreground = ""
|
|
||||||
let s:sp_background = ""
|
|
||||||
let s:sp_selection = ""
|
|
||||||
let s:sp_line = ""
|
|
||||||
let s:sp_comment = ""
|
|
||||||
let s:sp_red = ""
|
|
||||||
let s:sp_orange = ""
|
|
||||||
let s:sp_yellow = ""
|
|
||||||
let s:sp_green = ""
|
|
||||||
let s:sp_aqua = ""
|
|
||||||
let s:sp_blue = ""
|
|
||||||
let s:sp_purple = ""
|
|
||||||
let s:sp_window = ""
|
|
||||||
let s:sp_addbg = ""
|
|
||||||
let s:sp_addfg = ""
|
|
||||||
let s:sp_changebg = ""
|
|
||||||
let s:sp_changefg = ""
|
|
||||||
let s:sp_darkblue = ""
|
|
||||||
let s:sp_darkcyan = ""
|
|
||||||
let s:sp_darkred = ""
|
|
||||||
let s:sp_darkpurple = ""
|
|
||||||
endif
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Vim Highlighting: (see :help highlight-groups)"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
exe "hi! ColorColumn" .s:fg_none .s:bg_line .s:fmt_none
|
|
||||||
" Conceal"
|
|
||||||
" Cursor"
|
|
||||||
" CursorIM"
|
|
||||||
exe "hi! CursorColumn" .s:fg_none .s:bg_line .s:fmt_none
|
|
||||||
exe "hi! CursorLine" .s:fg_none .s:bg_line .s:fmt_none
|
|
||||||
exe "hi! Directory" .s:fg_blue .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! DiffAdd" .s:fg_addfg .s:bg_addbg .s:fmt_none
|
|
||||||
exe "hi! DiffChange" .s:fg_changefg .s:bg_changebg .s:fmt_none
|
|
||||||
exe "hi! DiffDelete" .s:fg_background .s:bg_red .s:fmt_none
|
|
||||||
exe "hi! DiffText" .s:fg_background .s:bg_blue .s:fmt_none
|
|
||||||
exe "hi! ErrorMsg" .s:fg_background .s:bg_red .s:fmt_stnd
|
|
||||||
exe "hi! VertSplit" .s:fg_window .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! Folded" .s:fg_comment .s:bg_darkcolumn .s:fmt_none
|
|
||||||
exe "hi! FoldColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
|
|
||||||
exe "hi! SignColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
|
|
||||||
" Incsearch"
|
|
||||||
exe "hi! LineNr" .s:fg_selection .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! CursorLineNr" .s:fg_yellow .s:bg_none .s:fmt_bold
|
|
||||||
exe "hi! MatchParen" .s:fg_background .s:bg_changebg .s:fmt_none
|
|
||||||
exe "hi! ModeMsg" .s:fg_green .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! MoreMsg" .s:fg_green .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! NonText" .s:fg_selection .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! Pmenu" .s:fg_foreground .s:bg_selection .s:fmt_none
|
|
||||||
exe "hi! PmenuSel" .s:fg_foreground .s:bg_selection .s:fmt_revr
|
|
||||||
" PmenuSbar"
|
|
||||||
" PmenuThumb"
|
|
||||||
exe "hi! Question" .s:fg_green .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! Search" .s:fg_background .s:bg_yellow .s:fmt_none
|
|
||||||
exe "hi! SpecialKey" .s:fg_selection .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! SpellCap" .s:fg_blue .s:bg_darkblue .s:fmt_undr
|
|
||||||
exe "hi! SpellLocal" .s:fg_aqua .s:bg_darkcyan .s:fmt_undr
|
|
||||||
exe "hi! SpellBad" .s:fg_red .s:bg_darkred .s:fmt_undr
|
|
||||||
exe "hi! SpellRare" .s:fg_purple .s:bg_darkpurple .s:fmt_undr
|
|
||||||
exe "hi! StatusLine" .s:fg_comment .s:bg_background .s:fmt_revr
|
|
||||||
exe "hi! StatusLineNC" .s:fg_window .s:bg_comment .s:fmt_revr
|
|
||||||
exe "hi! TabLine" .s:fg_foreground .s:bg_darkcolumn .s:fmt_revr
|
|
||||||
" TabLineFill"
|
|
||||||
" TabLineSel"
|
|
||||||
exe "hi! Title" .s:fg_yellow .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! Visual" .s:fg_none .s:bg_selection .s:fmt_none
|
|
||||||
" VisualNos"
|
|
||||||
exe "hi! WarningMsg" .s:fg_red .s:bg_none .s:fmt_none
|
|
||||||
" WildMenu"
|
|
||||||
|
|
||||||
" Use Xresources for background colour
|
|
||||||
if has('gui_running') || (g:hybrid_use_Xresources != 1 && g:hybrid_use_iTerm_colors != 1)
|
|
||||||
exe "hi! Normal" .s:fg_foreground .s:bg_background .s:fmt_none
|
|
||||||
else
|
|
||||||
exe "hi! Normal" .s:fg_foreground .s:bg_none .s:fmt_none
|
|
||||||
endif
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Generic Syntax Highlighting: (see :help group-name)"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
exe "hi! Comment" .s:fg_comment .s:bg_none .s:fmt_none
|
|
||||||
|
|
||||||
exe "hi! Constant" .s:fg_red .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! String" .s:fg_green .s:bg_none .s:fmt_none
|
|
||||||
" Character"
|
|
||||||
" Number"
|
|
||||||
" Boolean"
|
|
||||||
" Float"
|
|
||||||
|
|
||||||
exe "hi! Identifier" .s:fg_purple .s:bg_none .s:fmt_none
|
|
||||||
exe "hi! Function" .s:fg_yellow .s:bg_none .s:fmt_none
|
|
||||||
|
|
||||||
exe "hi! Statement" .s:fg_blue .s:bg_none .s:fmt_none
|
|
||||||
" Conditional"
|
|
||||||
" Repeat"
|
|
||||||
" Label"
|
|
||||||
exe "hi! Operator" .s:fg_aqua .s:bg_none .s:fmt_none
|
|
||||||
" Keyword"
|
|
||||||
" Exception"
|
|
||||||
|
|
||||||
exe "hi! PreProc" .s:fg_aqua .s:bg_none .s:fmt_none
|
|
||||||
" Include"
|
|
||||||
" Define"
|
|
||||||
" Macro"
|
|
||||||
" PreCondit"
|
|
||||||
|
|
||||||
exe "hi! Type" .s:fg_orange .s:bg_none .s:fmt_none
|
|
||||||
" StorageClass"
|
|
||||||
exe "hi! Structure" .s:fg_aqua .s:bg_none .s:fmt_none
|
|
||||||
" Typedef"
|
|
||||||
|
|
||||||
exe "hi! Special" .s:fg_green .s:bg_none .s:fmt_none
|
|
||||||
" SpecialChar"
|
|
||||||
" Tag"
|
|
||||||
" Delimiter"
|
|
||||||
" SpecialComment"
|
|
||||||
" Debug"
|
|
||||||
"
|
|
||||||
exe "hi! Underlined" .s:fg_blue .s:bg_none .s:fmt_none
|
|
||||||
|
|
||||||
exe "hi! Ignore" .s:fg_none .s:bg_none .s:fmt_none
|
|
||||||
|
|
||||||
exe "hi! Error" .s:fg_red .s:bg_darkred .s:fmt_undr
|
|
||||||
|
|
||||||
exe "hi! Todo" .s:fg_addfg .s:bg_none .s:fmt_none
|
|
||||||
|
|
||||||
" Quickfix window highlighting
|
|
||||||
exe "hi! qfLineNr" .s:fg_yellow .s:bg_none .s:fmt_none
|
|
||||||
" qfFileName"
|
|
||||||
" qfLineNr"
|
|
||||||
" qfError"
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Diff Syntax Highlighting:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
" Diff
|
|
||||||
" diffOldFile
|
|
||||||
" diffNewFile
|
|
||||||
" diffFile
|
|
||||||
" diffOnly
|
|
||||||
" diffIdentical
|
|
||||||
" diffDiffer
|
|
||||||
" diffBDiffer
|
|
||||||
" diffIsA
|
|
||||||
" diffNoEOL
|
|
||||||
" diffCommon
|
|
||||||
hi! link diffRemoved Constant
|
|
||||||
" diffChanged
|
|
||||||
hi! link diffAdded Special
|
|
||||||
" diffLine
|
|
||||||
" diffSubname
|
|
||||||
" diffComment
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
" Legal:"{{{
|
|
||||||
" ----------------------------------------------------------------------------
|
|
||||||
" Copyright (c) 2011 Ethan Schoonover
|
|
||||||
" Copyright (c) 2009-2012 NanoTech
|
|
||||||
" Copyright (c) 2012 w0ng
|
|
||||||
"
|
|
||||||
" Permission is hereby granted, free of charge, to any per‐
|
|
||||||
" son obtaining a copy of this software and associated doc‐
|
|
||||||
" umentation files (the “Software”), to deal in the Soft‐
|
|
||||||
" ware without restriction, including without limitation
|
|
||||||
" the rights to use, copy, modify, merge, publish, distrib‐
|
|
||||||
" ute, 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 PARTICU‐
|
|
||||||
" LAR 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 CON‐
|
|
||||||
" TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON‐
|
|
||||||
" NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
" THE SOFTWARE.
|
|
||||||
|
|
||||||
" }}}
|
|
|
@ -1,142 +0,0 @@
|
||||||
" Vim color file
|
|
||||||
"
|
|
||||||
" Name: xoria256.vim
|
|
||||||
" Version: 1.5
|
|
||||||
" Maintainer: Dmitriy Y. Zotikov (xio) <xio@ungrund.org>
|
|
||||||
"
|
|
||||||
" Should work in recent 256 color terminals. 88-color terms like urxvt are
|
|
||||||
" NOT supported.
|
|
||||||
"
|
|
||||||
" Don't forget to install 'ncurses-term' and set TERM to xterm-256color or
|
|
||||||
" similar value.
|
|
||||||
"
|
|
||||||
" Color numbers (0-255) see:
|
|
||||||
" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
|
|
||||||
"
|
|
||||||
" For a specific filetype highlighting rules issue :syntax list when a file of
|
|
||||||
" that type is opened.
|
|
||||||
|
|
||||||
" Initialization {{{
|
|
||||||
if &t_Co != 256 && ! has("gui_running")
|
|
||||||
echomsg ""
|
|
||||||
echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)"
|
|
||||||
echomsg ""
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
|
|
||||||
hi clear
|
|
||||||
|
|
||||||
if exists("syntax_on")
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let colors_name = "xoria256"
|
|
||||||
"}}}
|
|
||||||
" Colours {{{1
|
|
||||||
"" General {{{2
|
|
||||||
hi Normal ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c cterm=none gui=none
|
|
||||||
hi Cursor ctermbg=214 guibg=#ffaf00
|
|
||||||
hi CursorColumn ctermbg=238 guibg=#444444
|
|
||||||
hi CursorLine ctermbg=237 guibg=#3a3a3a cterm=none gui=none
|
|
||||||
hi Error ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000
|
|
||||||
hi ErrorMsg ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000
|
|
||||||
hi FoldColumn ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212
|
|
||||||
hi Folded ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87
|
|
||||||
hi IncSearch ctermfg=0 guifg=#000000 ctermbg=223 guibg=#ffdfaf cterm=none gui=none
|
|
||||||
hi LineNr ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212
|
|
||||||
hi MatchParen ctermfg=188 guifg=#dfdfdf ctermbg=68 guibg=#5f87df cterm=bold gui=bold
|
|
||||||
" TODO
|
|
||||||
" hi MoreMsg
|
|
||||||
hi NonText ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 cterm=bold gui=bold
|
|
||||||
hi Pmenu ctermfg=0 guifg=#000000 ctermbg=250 guibg=#bcbcbc
|
|
||||||
hi PmenuSel ctermfg=255 guifg=#eeeeee ctermbg=243 guibg=#767676
|
|
||||||
hi PmenuSbar ctermbg=252 guibg=#d0d0d0
|
|
||||||
hi PmenuThumb ctermfg=243 guifg=#767676
|
|
||||||
hi Search ctermfg=0 guifg=#000000 ctermbg=149 guibg=#afdf5f
|
|
||||||
hi SignColumn ctermfg=248 guifg=#a8a8a8
|
|
||||||
hi SpecialKey ctermfg=77 guifg=#5fdf5f
|
|
||||||
hi SpellBad ctermfg=160 guifg=fg ctermbg=bg cterm=underline guisp=#df0000
|
|
||||||
hi SpellCap ctermfg=189 guifg=#dfdfff ctermbg=bg guibg=bg cterm=underline gui=underline
|
|
||||||
hi SpellRare ctermfg=168 guifg=#df5f87 ctermbg=bg guibg=bg cterm=underline gui=underline
|
|
||||||
hi SpellLocal ctermfg=98 guifg=#875fdf ctermbg=bg guibg=bg cterm=underline gui=underline
|
|
||||||
hi StatusLine ctermfg=15 guifg=#ffffff ctermbg=239 guibg=#4e4e4e cterm=bold gui=bold
|
|
||||||
hi StatusLineNC ctermfg=249 guifg=#b2b2b2 ctermbg=237 guibg=#3a3a3a cterm=none gui=none
|
|
||||||
hi TabLine ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=none gui=none
|
|
||||||
hi TabLineFill ctermfg=fg guifg=fg ctermbg=237 guibg=#3a3a3a cterm=none gui=none
|
|
||||||
" FIXME
|
|
||||||
hi Title ctermfg=225 guifg=#ffdfff
|
|
||||||
hi Todo ctermfg=0 guifg=#000000 ctermbg=184 guibg=#dfdf00
|
|
||||||
hi Underlined ctermfg=39 guifg=#00afff cterm=underline gui=underline
|
|
||||||
hi VertSplit ctermfg=237 guifg=#3a3a3a ctermbg=237 guibg=#3a3a3a cterm=none gui=none
|
|
||||||
" hi VIsualNOS ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff cterm=none gui=none
|
|
||||||
" hi Visual ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff
|
|
||||||
hi Visual ctermfg=255 guifg=#eeeeee ctermbg=96 guibg=#875f87
|
|
||||||
" hi Visual ctermfg=255 guifg=#eeeeee ctermbg=24 guibg=#005f87
|
|
||||||
hi VisualNOS ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87
|
|
||||||
hi WildMenu ctermfg=0 guifg=#000000 ctermbg=150 guibg=#afdf87 cterm=bold gui=bold
|
|
||||||
|
|
||||||
"" Syntax highlighting {{{2
|
|
||||||
hi Comment ctermfg=244 guifg=#808080
|
|
||||||
hi Constant ctermfg=229 guifg=#ffffaf
|
|
||||||
hi Identifier ctermfg=182 guifg=#dfafdf cterm=none
|
|
||||||
hi Ignore ctermfg=238 guifg=#444444
|
|
||||||
hi Number ctermfg=180 guifg=#dfaf87
|
|
||||||
hi PreProc ctermfg=150 guifg=#afdf87
|
|
||||||
hi Special ctermfg=174 guifg=#df8787
|
|
||||||
hi Statement ctermfg=110 guifg=#87afdf cterm=none gui=none
|
|
||||||
hi Type ctermfg=146 guifg=#afafdf cterm=none gui=none
|
|
||||||
|
|
||||||
"" Special {{{2
|
|
||||||
""" .diff {{{3
|
|
||||||
hi diffAdded ctermfg=150 guifg=#afdf87
|
|
||||||
hi diffRemoved ctermfg=174 guifg=#df8787
|
|
||||||
""" vimdiff {{{3
|
|
||||||
hi diffAdd ctermfg=bg guifg=bg ctermbg=151 guibg=#afdfaf
|
|
||||||
"hi diffDelete ctermfg=bg guifg=bg ctermbg=186 guibg=#dfdf87 cterm=none gui=none
|
|
||||||
hi diffDelete ctermfg=bg guifg=bg ctermbg=246 guibg=#949494 cterm=none gui=none
|
|
||||||
hi diffChange ctermfg=bg guifg=bg ctermbg=181 guibg=#dfafaf
|
|
||||||
hi diffText ctermfg=bg guifg=bg ctermbg=174 guibg=#df8787 cterm=none gui=none
|
|
||||||
""" HTML {{{3
|
|
||||||
" hi htmlTag ctermfg=146 guifg=#afafdf
|
|
||||||
" hi htmlEndTag ctermfg=146 guifg=#afafdf
|
|
||||||
hi htmlTag ctermfg=244
|
|
||||||
hi htmlEndTag ctermfg=244
|
|
||||||
hi htmlArg ctermfg=182 guifg=#dfafdf
|
|
||||||
hi htmlValue ctermfg=187 guifg=#dfdfaf
|
|
||||||
hi htmlTitle ctermfg=254 ctermbg=95
|
|
||||||
" hi htmlArg ctermfg=146
|
|
||||||
" hi htmlTagName ctermfg=146
|
|
||||||
" hi htmlString ctermfg=187
|
|
||||||
""" django {{{3
|
|
||||||
hi djangoVarBlock ctermfg=180
|
|
||||||
hi djangoTagBlock ctermfg=150
|
|
||||||
hi djangoStatement ctermfg=146
|
|
||||||
hi djangoFilter ctermfg=174
|
|
||||||
""" python {{{3
|
|
||||||
hi pythonExceptions ctermfg=174
|
|
||||||
""" NERDTree {{{3
|
|
||||||
hi Directory ctermfg=110 guifg=#87afdf
|
|
||||||
hi treeCWD ctermfg=180 guifg=#dfaf87
|
|
||||||
hi treeClosable ctermfg=174 guifg=#df8787
|
|
||||||
hi treeOpenable ctermfg=150 guifg=#afdf87
|
|
||||||
hi treePart ctermfg=244 guifg=#808080
|
|
||||||
hi treeDirSlash ctermfg=244 guifg=#808080
|
|
||||||
hi treeLink ctermfg=182 guifg=#dfafdf
|
|
||||||
|
|
||||||
""" VimDebug {{{3
|
|
||||||
" FIXME
|
|
||||||
" you may want to set SignColumn highlight in your .vimrc
|
|
||||||
" :help sign
|
|
||||||
" :help SignColumn
|
|
||||||
|
|
||||||
" hi currentLine term=reverse cterm=reverse gui=reverse
|
|
||||||
" hi breakPoint term=NONE cterm=NONE gui=NONE
|
|
||||||
" hi empty term=NONE cterm=NONE gui=NONE
|
|
||||||
|
|
||||||
" sign define currentLine linehl=currentLine
|
|
||||||
" sign define breakPoint linehl=breakPoint text=>>
|
|
||||||
" sign define both linehl=currentLine text=>>
|
|
||||||
" sign define empty linehl=empty
|
|
||||||
|
|
Loading…
Reference in a new issue