From 41fb97e85b0386b976b39051de4f7eaa42ba6b2b Mon Sep 17 00:00:00 2001 From: itchyny Date: Sat, 28 Apr 2018 00:10:36 +0900 Subject: [PATCH] replace cui with cterm (close #304) --- README.md | 2 +- doc/lightline.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 06b9cb8..21ac8de 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ https://github.com/itchyny/lightline.vim ![lightline.vim - landscape](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/landscape.png) -landscape is my colorscheme, which is a high-contrast cui-supported colorscheme, available at https://github.com/itchyny/landscape.vim +landscape is my colorscheme, which is a high-contrast cterm-supported colorscheme, available at https://github.com/itchyny/landscape.vim ## Why yet another clone of powerline? + [vim-powerline](https://github.com/Lokaltog/vim-powerline) is a nice plugin, but deprecated. diff --git a/doc/lightline.txt b/doc/lightline.txt index 0e83149..6f3f176 100644 --- a/doc/lightline.txt +++ b/doc/lightline.txt @@ -4,7 +4,7 @@ Version: 0.1 Author: itchyny (https://github.com/itchyny) License: MIT License Repository: https://github.com/itchyny/lightline.vim -Last Change: 2018/04/14 10:25:12. +Last Change: 2018/04/28 00:08:18. CONTENTS *lightline-contents* @@ -576,7 +576,7 @@ defines the colors for the components on the left hand side, in normal mode. defines the colors for the selected tab in tabline. In general, each palette follows the following style: > - let s:p.{mode}.{where} = [ [ {guifg}, {guibg}, {cuifg}, {cuibg} ], ... ] + let s:p.{mode}.{where} = [ [ {guifg}, {guibg}, {ctermfg}, {ctermbg} ], ... ] < @@ -620,7 +620,7 @@ colors. For the complete list of components the color of which you should define in your colorscheme, see the colorscheme files in lightline. -It is sometimes painful to write all the colors for both gui and cui. +It is sometimes painful to write all the colors for both gui and cterm. Actually, lightline has some useful functions for writing colorschemes. For example, see lightline.vim/autoload/lightline/colorscheme/Tomorrow_Night.vim @@ -629,7 +629,7 @@ normal colorscheme form using: > let g:lightline#colorscheme#Tomorrow_Night#palette = lightline#colorscheme#fill(s:p) < -This function fills the cui colors for a palette which has only gui colors, or +This function fills the cterm colors for a palette which has only gui colors, or vice versa. However, note that using the convenient function sources an additional Vim script file (autoload/lightline/colorscheme.vim), which causes a little slow down. If you want to avoid this situation, write all the colors