estilo-xoria256


Ⅰ. 插件描述

Revamp of Xoria256 Vim colour scheme to use Estilo to maintain palette and lightline support

Ⅱ. 基本信息

创建日期:  2018-03-12
使用用户:  3
Github星:  1
插件作者:  Josh Peak

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Xoria256

<img
align="right"
alt="Xoria SVG Logo"
src="https://raw.githubusercontent.com/neozenith/estilo-xoria256/master/logo.svg?sanitize=true"
/>

I'm in love with pastel colorschemes for development so they
capture enough contrast to easily convey information yet are gentle on my eyes
whether in a full lit office or 4am on a train into work.

Xoria256 was originally authored by
Dmitriy Y. Zotikov (xio) <xio@ungrund.org>.

<img
align="right"
alt="estilo/palette/xora256.yml"
src="https://raw.githubusercontent.com/neozenith/estilo-xoria256/master/palette-vim.png"
/>

Yet it wasn't up to date with the symbols I needed for Javascript and NodeJS
development and that is where Tender
colorscheme and the Estilo tooling
by jacoborus to facilitate maintaining Vim
colorschemes come to the rescue and give you this generation of the Xoria256 colorscheme.

Work In Progress

I am still working through matching the original xoria256 palette to the

  1. For now I just replaced similar hues in tender with the xoria256 palette.

Hence there are no sample screenshots just yet.

Also I have baked in my brain the Powerline theme defaults for Lightline so
Normal Mode status bar is green and Insert Mode status bar is blue.

Usage

call plug#begin()
Plug 'neozenith/estilo-xoria256'
...
call plug#end()

syntax on
colorscheme xoria256

let g:lightline.colorscheme = 'xoria256'

Maintenance

The Estilo project files are:

  • estilo.yml
  • estilo/palette
  • estilo/syntax
  • estilo/...

The Vim output files are in:

  • colors/
  • autoload/
# NOTE: Estilo Globs files in the estilo/ directories so keep them clean.
rm -rfv ./**/.DS_Store

npm install
npm start

Useful

Add the following to your .vimrc to inspect what syntax element a word is
defined as.

" Show syntax highlighting groups for word under cursor
function! <SID>SynStack()
  if !exists("*synstack")
    return
  endif
  echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc

" Map leader function to call Syntax Inspector
nmap <Leader>si :call <SID>SynStack()<CR>

添加新评论