Ⅰ. 插件描述
Colorful dark color scheme for Vim inspired by Apple's WWDC16 pageⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'lifepillar/vim-wwdc16-theme'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'lifepillar/vim-wwdc16-theme'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'lifepillar/vim-wwdc16-theme'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/lifepillar/vim-wwdc16-theme
Ⅳ. 文档说明
# WWDC16 Color Scheme for Vim

A colorful dark theme for Vim inspired by the colors of 2016's
WWDC event.
Looking for a companion light theme? Check out
vim-wwdc17-theme!
This color scheme works out of the box everywhere. For the best experience,
you need:
- Vim ≥7.4.1799, or NeoVim, with
termguicolorsset, and - a true-color enabled terminal.
WWDC16 also works in MacVim, gVim, etc…: no configuration is needed.
For terminals not supporting true colors, WWDC16 will fall back to use a (not so
bad) approximate palette based on xterm's 256 colors. If you want exact colors
in such terminals, you must set your terminal's 16 ANSI color to the WWDC16
palette (a terminal profile for macOS's Terminal.app is included in the plugin)
and set t_Co=16.
Options
- Use a transparent background in the terminal:
let g:wwdc16_transp_bg = 1
The color palette is available through g:terminal_ansi_colors.
Hacking
Do you want to hack the theme? Install the
Colortemplate ftplugin and
modify wwdc16.colortemplate, then rebuild the colorscheme.
If you extend or improve WWDC16, please consider submitting a pull request!