vim-dzo


Ⅰ. 插件描述

A dark color scheme for vim.

Ⅱ. 基本信息

创建日期:  2016-11-09
使用用户:  8
Github星:  5
插件作者:  Henry Blevins

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'blevs/vim-dzo'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'blevs/vim-dzo'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'blevs/vim-dzo'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/blevs/vim-dzo

Ⅳ. 文档说明

# vim-dzo

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.

Color Palette

Sample Code

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:

Requirements

  • gVim 7.3+ on Linux, Mac and Windows.
  • Vim 7.3+ on Linux and Mac, using a terminal that supports 256 colours.

Installation

Terminal Colors

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.

Vim Theme

  1. Copy colors/dzo.vim to:

    ~/.vim/colors/dzo.vim
Or, alternatively, use a plugin manger such as
[vim-plug](https://github.com/junegunn/vim-plug),
[NeoBundle](https://github.com/Shougo/neobundle.vim),
[Vundle](https://github.com/gmarik/Vundle.vim), or
[Pathogen](https://github.com/tpope/vim-pathogen).
  1. Add to ~/.vimrc:

    colorscheme dzo

Vim-airline Theme

  1. Copy autoload/airline/themes/dzo.vim to:

    ~/.vim/autload/airline/themes/dzo.vim
Or use a plugin manager mentioned above.
  1. Add the following to your ~/.vimrc:

    let g:airline_theme='myterm'
  2. (Optional) Add the following settings to remove the default separators, or
  3. 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 = ''

Screenshots

syntax.txt

diff

spellcheck

添加新评论