Ⅰ. 插件描述
Vim color scheme.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'zeis/kolor'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'zeis/kolor'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'zeis/kolor'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/zeis/vim-kolor
Ⅳ. 文档说明
# vim-kolor
Colorful Vim color scheme with 256 color terminal support.
Designed for optimal visibility and comfort.
Installation
You can install it via Vundle or Pathogen, alternatively, just copy kolor.vim
to ~/.vim/colors
(on Windows <your-vim-dir>\vimfiles\colors
). Or for global accessibility, /usr/share/vim/vimfiles/colors
.
Then add the line colorscheme kolor
in your vimrc file, and restart Vim.
For Arch Linux users, there is also a PKGBUILD available in the AUR, created by graysky.
Options
Options must be set before the line colorscheme kolor
.
" Enable italic. Default: 1
let g:kolor_italic=1
" Enable bold. Default: 1
let g:kolor_bold=1
" Enable underline. Default: 0
let g:kolor_underlined=0
" Gray 'MatchParen' color. Default: 0
let g:kolor_alternative_matchparen=0
" White foreground 'MatchParen' color that might work better with some terminals. Default: 0
let g:kolor_inverted_matchparen=0
Donations
This color scheme is dedicated to the the Ugandan children (How about donating to them? See Vim's website).
Self-promotion
If you like vim-kolor don't forget to rate it! (Vimscript #4339).