A dark color scheme for Vim based on a custom palette. It aims to be selective in its use of color and contrast. Compared to other themes it doesn't pack your editor full of a full spectrum of colors.
If you like the look and feel, but its not quite there, note that it shares some colors with vim-hybrid:
Which is, in turn, built on top of:
- Tomorrow-Night's palette.
- Jellybeans' syntax group highlighting.
- Solarized's vimscript.
- gVim 7.3+ on Linux, Mac and Windows.
- Vim 7.3+ on Linux and Mac, using a terminal that supports 256 colours.
Due to the limited 256 terminal color palette, the gVim colors cannot be used
directly in vim. In order to use the theme's palette in the terminal the colors
must be added to your ~/.Xresources
file or other terminal specific
configuration.
.Xresources
:
! vim-dzo colors
*background: #1A1A1A
*foreground: #EEEEEF
! black
*color0: #1A1A1A
*color8: #373B41
! red
*color1: #A54242
*color9: #CC6666
! green
*color2: #99cf50
*color10: #8bb664
! yellow
*color3: #FDAF87
*color11: #DDA790
! blue
*color4: #5F819D
*color12: #81A2BE
! magenta
*color5: #85678F
*color13: #B294BB
! cyan
*color6: #005577
*color14: #89BDFF
! white
*color7: #707880
*color15: #C5C8C6
For other users pre-made configuration files will be added in the future. Please feel free to submit your own.
-
Copy
colors/dzo.vim
to:~/.vim/colors/dzo.vim
Or, alternatively, use a plugin manger such as vim-plug, NeoBundle, Vundle, or Pathogen.
-
Add to
~/.vimrc
:colorscheme dzo
-
Copy
autoload/airline/themes/dzo.vim
to:~/.vim/autload/airline/themes/dzo.vim
Or use a plugin manager mentioned above.
-
Add the following to your
~/.vimrc
:let g:airline_theme='myterm'
-
(Optional) Add the following settings to remove the default separators, or modify them to your liking.
let g:airline_symbols = {} let g:airline_left_sep='' let g:airline_right_sep='' let g:airline_left_alt_sep = '' let g:airline_right_alt_sep = ''