jay


Ⅰ. 插件描述

Yet another Vim colorscheme on GitHub. Inspired by Molokai.

Ⅱ. 基本信息

创建日期:  2016-06-15
使用用户:  22
Github星:  32
插件作者:  Josue Galeas

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# jay
Yet another Vim colorscheme on GitHub. Inspired by Molokai.

Features

  • Same color palette for both terminal and GUI Vim
  • Light and dark modes, with a transparent option
  • Matching themes for Airline and Lightline
  • Support for 256, 16, and 8 color terminals
  • Explicitly supported plugins: None so far!

    • Want a certain plugin themed? Feel free to open an issue!

Gallery

Font used in screenshots is Hack. Additional syntax highlighting done by vim-polyglot.

For more examples in different languages, visit 'jay' on colorswat.ch.

Dark Mode

Dark Mode

Light Mode

Light Mode

Airline Theme

Airline (Dark)

Airline (Light)

Lightline Theme

Lightline (Dark)

Lightline (Light)

Palette

Tabulated values can be found here.

Palette (Dark)

Palette (Light)

Installation

1) Installing the Theme

Manually

  • Download this repository and unzip its contents
  • Copy or move the contents into your .vim directory (possibly vimfiles on Windows)

vim-plug (or similar plugin manager)

  • Add Plug 'josuegaleas/jay' to your .vimrc file
  • Restart Vim and use :PlugInstall to install

pathogen.vim

Clone this repository into your .vim/bundle directory (possibly vimfiles\bundle on Windows) with:

git clone --depth=1 https://github.com/josuegaleas/jay.git ~/.vim/bundle/jay/

2) Updating .vimrc

Dark Mode

Add the following lines to your .vimrc file:

syntax enable
set background=dark
colorscheme jay

Light Mode

Add the following lines to your .vimrc file:

syntax enable
set background=light
colorscheme jay

Transparent Option

Add the following line anywhere before colorscheme jay to your .vimrc file:

let jay_transparent=1

Matching Airline/Lightline Theme

Airline should detect your configuration without further instruction.

For Lightline, add the following line anywhere after colorscheme jay to your .vimrc file:

let g:lightline = {'colorscheme': 'jay'}

Lightline should detect your configuration after the above line is added.

TODO

  • [ ] Find a better solution to issue #4
  • [ ] Add explicit support for various plugins
  • [ ] Add support for environments that use italics

References

Tools

Credit

  • FliiFe for motivating me to make the transparent option.
  • ksergey for motivating me to improve the tabline of the Airline and Lightline themes.

添加新评论