lumiere.vim


Ⅰ. 插件描述

A light black and white vim colorscheme with sparse use of color

Ⅱ. 基本信息

创建日期:  2018-03-18
使用用户:  1
Github星:  9
插件作者:  Alexander Jeurissen

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

image

Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.

Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.

~ (Poem by Dylan Thomas)

A light black and white Vim 8 / Neovim colorscheme with sparse use of color to denote important syntax elements.
Looks even more awesome when combined with Sombre.tmux

image

Screenshots

Ruby

image

Python

image

Javascript

image

Vimscript

image

Notable Features

Dim inactive windows (neovim only)

Lumiere offers a configuration option, to reduce the opacity of inactive windows. This helps more clearly
distinguish the pane that is currently being focussed. This currently depends on the hl-NormalNC highlight group which
is only available in NeoVim. There is an open issue to add Vim8 support.

This setting is opt in and can be enabled by setting let g:lumiere_dim_inactive_windows = 1 in your vimrc
and restarting Vim.

Git Diff

image

Vim diff (using Neovim as git difftool)

image

Installation

Lumiere can be installed using the native Vim packages feature, as well as your plugin manager of choice:

  • Pathogen
    git clone https://github.com/alexanderjeurissen/lumiere.vim.git ~/.vim/bundle/lumiere
  • Vundle
    Add Plugin 'alexanderjeurissen/lumiere.vim' to your .vimrc and run :PluginInstall
  • NeoBundle
    Add NeoBundle 'alexanderjeurissen/lumiere.vim' to your .vimrc and run :NeoBundleInstall
  • vim-plug
    Add Plug 'alexanderjeurissen/lumiere.vim' to your .vimrc and run :PlugInstall

Then add the line colorscheme lumiere to your .vimrc file, and restart Vim.

Configuration options

There are a couple of options that can be configured:

option_namedefaulteffect
g:lumiere_bold1when set to 0, disables the usage of bold font
g:lumiere_italic1when set to 0, disables the usage of italic font
g:lumiere_inverse1when set to 0, disables the usage of inversing fg / bg of color groups
g:lumiere_invert_selection1when set to 0, disables the usage of inverting the color in visual cursor and HlSearch
g:lumiere_dim_inactive_windows0When set to 1, reduces the background color opacity of inactive windows

添加新评论