lightline_foobar.vim


Ⅰ. 插件描述

lightline color schemes

Ⅱ. 基本信息

创建日期:  2019-01-07
使用用户:  2
Github星:  16
插件作者:  sainnhe

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Demo

let g:lightline.colorscheme = 'ayu_light' && ayu

let g:lightline.colorscheme = 'ayu_mirage' && ayu

let g:lightline.colorscheme = 'softera_alter' && soft-era

let g:lightline.colorscheme = 'srcery_alter' && vorange

let g:lightline.colorscheme = 'colored_dark' && cosme

let g:lightline.colorscheme = 'carbonized_alter' && carbonized

let g:lightline.colorscheme = 'deus_beta_light' && seoul256

let g:lightline.colorscheme = 'seoul256_alter' && seoul256

let g:lightline.colorscheme = 'deus_beta_dark' && neodark

let g:lightline.colorscheme = 'neodark_alter' && neodark

let g:lightline.colorscheme = 'tfw_light' && two-firewatch light

let g:lightline.colorscheme = 'tfw_dark' && two-firewatch dark

Merged let g:lightline.colorscheme = 'typewriter_light' && typewriter

Merged let g:lightline.colorscheme = 'typewriter_dark' && typewriter

let g:lightline.colorscheme = 'pencil_alter' && pencil

Merged and Adjusted let g:lightline.colorscheme = 'sacredforest_alter' && sacredforest

let g:lightline.colorscheme = 'moons' && pink-moon

let g:lightline.colorscheme = 'palenight_alter' && material palenight

let g:lightline.colorscheme = 'oldbook_alter' && oldbook

let g:lightline.colorscheme = 'dark_plus_alter' && dark_plus

let g:lightline.colorscheme = 'space_vim_light' && space-vim

let g:lightline.colorscheme = 'space_vim_dark' && space-vim

let g:lightline.colorscheme = 'simplifysimplify_light_alter' && simplifysimplify

let g:lightline.colorscheme = 'cake_alter' && cake

let g:lightline.colorscheme = 'hypsteria_alter' && hypsteria

let g:lightline.colorscheme = 'wwdc16_alter' && wwdc16

let g:lightline.colorscheme = 'wwdc17_alter' && wwdc17

Installation

for vim-plug:

Plug 'sainnhe/lightline_foobar.vim'

Usage

put this in your vimrc:

let g:lightline.colorscheme = 'foobar'

or if you want to apply it without reload:

:let g:lightline.colorscheme = 'foobar'
:call lightline#init()
:call lightline#colorscheme()
:call lightline#update()

where foobar is the name of a color scheme.

check Demo for all available color schemes.

Customize

Some color scheme support bold, you can enable it by adding let g:lightline_foobar_bold = 1 to your vimrc.

FAQ

  • Q: What's your lightline configuration?
  • A: Check this gist

Contribution

The original purpose of this repo was to solve my own needs, many of the lightline color schemes are just in line with my own tastes. So, may be there are some color schemes you are not satisfied with, or maybe you want a new color scheme that fits a certain color scheme.

I've created a template for writing color scheme which can be found in most of the color scheme files (located in autoload/lightline/colorscheme/*), it should be very easy to write a new one. If you have any ideas, feel free to fork it, any PR is welcome.

Thanks to

leoatchina: ayu_mirage

添加新评论