"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
" * You can now set a darker background for bright environments. To activate, us
e:
" contrast Zenburn, use:
"
"
let g:zenburn_high_Contrast = 1
"
" * For example, Vim help files uses the Ignore-group for the pipes in tags
" like "|somelink.txt|". By default, the pipes are not visible, as they
" map to Ignore group. If you wish to enable coloring of the Ignore group,
" set the following parameter to 1. Warning, it might make some syntax files
" look strange.
"
"
let g:zenburn_color_also_Ignore = 1
"
" * To get more contrast to the Visual selection, use
"
"
let g:zenburn_alternate_Visual = 1
"
" Note: this is enabled only if the old-style Visual
" if used, see g:zenburn_old_Visual
"
" * To use alternate colouring for Error message, use
"
"
let g:zenburn_alternate_Error = 1
"
" * The new default for Include is a duller orange. To use the original
" colouring for Include, use
"
"
let g:zenburn_alternate_Include = 1
"
" * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237
" as light values, and sets background to light for some people. If you have
" this problem, use:
"
"
let g:zenburn_force_dark_Background = 1
"
" * By default the CursorColumn is of a lighter colour. I find it more readable
" that way, but some people may want to align it with the darker CursorLine
" color, for visual uniformity. To do so, use:
"
"
let g:zenburn_unified_CursorColumn = 1
"
" Note: you can ignore this unless you use
" ":set cursorline cursorcolumn", since otherwise the effect won't be
" seen.
"
" * New (dark) Visual coloring has been introduced.
" The dark Visual is more aligned with the rest of the colour scheme,
" especially if you use line numbers. If you wish to use the
" old Visual coloring, use
"
"
let g:zenburn_old_Visual = 1
"
" Default is to use the new Visual.
"
" * EXPERIMENTAL FEATURE: Zenburn will automatically detect if you
"
have ctags_highlighting.vim (by Al Budden,
"
http://www.vim.org/scripts/script.php?script_id=2646) enabled, and
"
will set sensible highlight links. Nothing will happen if you do
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
not have ctags_highlighting.vim. If you do not want this feature, you can
override the check with:
let g:zenburn_disable_ctags_highlighting_support = 1
NOTE:
* To turn the parameter(s) back to defaults, use UNLET or set them to 0:
unlet g:zenburn_alternate_Include
or
let g:zenburn_alternate_Include = 0
That's it, enjoy!
TODO
- Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
- IME colouring (CursorIM)
" Set defaults, but keep any parameters already set by the user
if ! exists("g:zenburn_high_Contrast")
let g:zenburn_high_Contrast = 0
endif
if ! exists("g:zenburn_color_also_Ignore")
let g:zenburn_color_also_Ignore = 0
endif
if ! exists("g:zenburn_alternate_Error")
let g:zenburn_alternate_Error = 0
endif
if ! exists("g:zenburn_force_dark_Background")
let g:zenburn_force_dark_Background = 0
endif
if ! exists("g:zenburn_alternate_Visual")
let g:zenburn_alternate_Visual = 0
endif
if ! exists("g:zenburn_alternate_Include")
let g:zenburn_alternate_Include = 0
endif
if ! exists("g:zenburn_unified_CursorColumn")
let g:zenburn_unified_CursorColumn = 0
endif
if ! exists("g:zenburn_old_Visual")
let g:zenburn_old_Visual = 0
endif
if ! exists("g:zenburn_disable_ctags_highlighting_support")
" enabled by default
let g:zenburn_disable_ctags_highlighting_support = 0
endif
" -----------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="zenburn"
" check for ctags-highlighting
if exists("g:loaded_ctags_highlighting") && g:loaded_ctags_highlighting && ! g:z
enburn_disable_ctags_highlighting_support
" internal
let _zenburn_ctags = 1
endif
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
Boolean
Character
Comment
Conditional
Constant
Cursor
Debug
Define
Delimiter
DiffAdd
DiffChange
DiffDelete
DiffText
Directory
ErrorMsg
Exception
Float
FoldColumn
Folded
Function
Identifier
IncSearch
Keyword
Label
Macro
ModeMsg
MoreMsg
Number
Operator
PreCondit
PreProc
Question
Repeat
Search
SpecialChar
SpecialComment
Special
SpecialKey
Statement
StatusLine
StatusLineNC
StorageClass
String
Structure
Tag
Title
guifg=#dca3a3
guifg=#dca3a3
guifg=#7f9f7f
guifg=#f0dfaf
guifg=#dca3a3
guifg=#000d18
guifg=#bca3a3
guifg=#ffcfaf
guifg=#8f8f8f
guifg=#709080
guibg=#333333
guifg=#333333
guifg=#ecbcbc
guifg=#9fafaf
guifg=#80d4aa
guifg=#c3bf9f
guifg=#c0bed1
guifg=#93b3a3
guifg=#93b3a3
guifg=#efef8f
guifg=#efdcbc
guibg=#f8f893
guifg=#f0dfaf
guifg=#dfcfaf
guifg=#ffcfaf
guifg=#ffcfaf
guifg=#ffffff
guifg=#8cd0d3
guifg=#f0efd0
guifg=#dfaf8f
guifg=#ffcfaf
guifg=#ffffff
guifg=#ffd7a7
guifg=#ffffe0
guifg=#dca3a3
guifg=#82a282
guifg=#cfbfaf
guifg=#9ece9e
guifg=#e3ceab
guifg=#313633
guifg=#2e3330
guifg=#c3bf9f
guifg=#cc9393
guifg=#efefaf
guifg=#e89393
guifg=#efefef
gui=bold
gui=italic
gui=bold
gui=bold
guibg=#8faf9f gui=bold
gui=bold
gui=bold
guibg=#313c36 gui=bold
guibg=#464646
guibg=#41363c gui=bold
gui=bold
guibg=#2f2f2f gui=bold
gui=bold
guibg=#3f4040
guibg=#3f4040
guifg=#385f38
gui=bold
gui=underline
gui=bold
gui=none
gui=bold
gui=bold
gui=bold
gui=bold
gui=bold
guibg=#284f28
gui=bold
gui=bold
gui=none
guibg=#ccdc90
guibg=#88b090
gui=bold
gui=bold
gui=bold
gui=bold
hi
hi
hi
hi
hi
hi
hi
hi
Todo
Typedef
Type
Underlined
VertSplit
VisualNOS
WarningMsg
WildMenu
hi
hi
hi
hi
SpellBad
SpellCap
SpellRare
SpellLocal
guifg=#dfdfdf
guifg=#dfe4cf
guifg=#dfdfbf
guifg=#dcdccc
guifg=#2e3330
guifg=#333333
guifg=#ffffff
guibg=#2c302d
guisp=#bc6c4c
guisp=#6c6c9c
guisp=#bc6c9c
guisp=#7cac7c
guibg=bg gui=bold
gui=bold
gui=bold
gui=underline
guibg=#688060
guibg=#f18c96 gui=bold,underline
guibg=#333333 gui=bold
guifg=#cbecd0 gui=underline
guifg=#dc8c6c
guifg=#8c8cbc
guifg=#bc8cbc
guifg=#9ccc9c
ctermfg=181
ctermfg=181
ctermfg=108
ctermfg=223
ctermfg=181
ctermfg=233
ctermfg=181
ctermfg=223
ctermfg=245
ctermfg=66
ctermbg=236
ctermfg=236
ctermfg=217
ctermfg=109
ctermfg=115
ctermfg=249
ctermfg=251
ctermfg=228
ctermfg=223
ctermbg=228
ctermfg=223
ctermfg=187
ctermfg=248
ctermfg=223
ctermfg=223
ctermfg=15
ctermfg=116
ctermfg=230
ctermfg=180
ctermfg=223
ctermfg=15
ctermfg=223
ctermfg=230
ctermfg=181
ctermfg=108
ctermfg=181
ctermfg=151
ctermfg=187
ctermfg=236
ctermfg=235
ctermfg=249
ctermfg=174
ctermfg=229
ctermfg=181
cterm=bold
cterm=bold
cterm=bold
ctermbg=109
cterm=bold
cterm=bold
cterm=bold
ctermbg=237
cterm=bold
ctermbg=238
ctermbg=237
cterm=bold
ctermbg=236
cterm=bold
cterm=bold
cterm=bold
ctermfg=238
cterm=bold
cterm=underline
ctermbg=233
cterm=bold
cterm=none
cterm=bold
cterm=bold
cterm=bold
cterm=bold
cterm=bold
ctermbg=236
cterm=bold
cterm=bold
ctermbg=234
ctermbg=186
ctermbg=108
cterm=bold
cterm=bold
cterm=bold
cterm=none
hi
hi
hi
hi
hi
hi
hi
hi
hi
Title
Todo
Typedef
Type
Underlined
VertSplit
VisualNOS
WarningMsg
WildMenu
ctermfg=7
ctermfg=108
ctermfg=253
ctermfg=187
ctermfg=188
ctermfg=236
ctermfg=236
ctermfg=15
ctermbg=236
ctermbg=234
ctermbg=234
cterm=bold
cterm=bold
ctermbg=234
ctermbg=65
ctermbg=210
ctermbg=236
ctermfg=194
cterm=bold
cterm=bold
cterm=bold
cterm=bold
cterm=bold
cterm=bold
ctermfg=248 ctermbg=0
ctermfg=223 ctermbg=235
ctermbg=233
cterm=none
ctermbg=235
cterm=none
else
hi CursorColumn
endif
else
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi Ignore
endif
ctermfg=240
ctermbg=238
cterm=none
ctermbg=239
cterm=none
else
hi CursorColumn
endif
endif
guifg=#9fafaf guibg=#161616
else
" Original, lighter background
hi Normal
guifg=#dcdccc guibg=#3f3f3f
hi CursorLine
guibg=#434443
if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColum
n
hi CursorColumn
guibg=#434343
else
hi CursorColumn
guibg=#4f4f4f
endif
hi Pmenu
guibg=#2c2e2e guifg=#9f9f9f
hi PMenuSel
guibg=#242424 guifg=#d0d0a0
hi PmenuSbar
guibg=#2e3330 guifg=#000000
hi PMenuThumb
guibg=#a0afa0 guifg=#040404
hi MatchParen
guifg=#b2b2a0 guibg=#2e2e2e
hi SignColumn
guifg=#9fafaf guibg=#343434
hi TabLineFill
guifg=#cfcfaf guibg=#353535
hi TabLineSel
guifg=#efefef guibg=#3a3a39
hi TabLine
guifg=#b6bf98 guibg=#353535
hi NonText
guifg=#5b605e gui=bold
hi LineNr
endif
gui=bold
gui=bold
gui=bold
gui=bold
gui=bold
gui=bold
guifg=#9fafaf guibg=#262626
hi Error
endif
guibg=#242424
ctermbg=233
ctermbg=233
ctermbg=236
ctermbg=235
ctermbg=236
ctermfg=109
ctermfg=109
ctermfg=108 cterm=none
ctermfg=186 cterm=bold
ctermfg=236
else
hi
hi
hi
hi
hi
FoldColumn
Folded
TabLine
TabLineSel
TabLineFill
hi SpecialKey
guibg=#333333
guibg=#333333
guifg=#d0d0b8 guibg=#222222 gui=none
guifg=#f0f0b0 guibg=#333333 gui=bold
guifg=#dccdcc guibg=#101010 gui=none
guibg=#444444
ctermbg=236
ctermbg=236
ctermbg=235
ctermbg=236
ctermbg=233
ctermfg=109
ctermfg=109
ctermfg=187 cterm=none
ctermfg=229 cterm=bold
ctermfg=233
guifg=#acd0b3
hi link CTagsImport
hi link CTagsMember
Statement
Function
ctermfg=115
hi link CTagsGlobalConstant
" These
hi link
hi link
hi link
hi link
hi link
hi link
Constant
endif
" TODO check for more obscure syntax groups that they're ok