lightline-onedark


Ⅰ. 插件描述

A lightline theme for onedark vim colorscheme

Ⅱ. 基本信息

创建日期:  2016-06-18
使用用户:  2
Github星:  3
插件作者:  Steven Hall

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/hallzy/lightline-onedark

Ⅳ. 文档说明

Analytics

lightline-onedark

Below is a picture of the onedark colorscheme in vim along with how lightline
looks with four different vim modes.

I am open to suggestions, and improvements, so if you like a different colour
combination then by all means, let me know, or create a pull request.

onedark

This is an itchyny / lightline.vim
theme for joshdick / onedark.vim.

I used the same colour codes used in the original onedark theme, so the colours
should match. I also tried to make the statusline look as similar to the
original airline theme as possible.

Installation

Use your favourite plugin manager or just add the autoload/ folder and all
subdirectories to .vim/

Then add this theme to the lightline configuration in your .vimrc using the name
"onedark". For more information on this see the lightline repo.

As a summary you can set the colourscheme using something like this:

let g:lightline.colorscheme="onedark"

or if you have other lightline configurations already, you can just add it to
those using something similar to the below.

let g:lightline = {
  \ 'colorscheme': 'onedark',
  \
}

For more examples see the original lightline repo and just search for
colorscheme in the README.

添加新评论