Lightline.vim: I'm making a custom colourscheme, but I can't seem to make some parts transparent in a transparent terminal.

Created on 13 Apr 2016  路  7Comments  路  Source: itchyny/lightline.vim

I'd like to make the middle of the bottom bar transparent, and the empty space to the right of the tabs as well. I have tried setting these values to 'NONE', 'default', '0', 'black', and 'rgba(0, 0, 0, 0)' etc, but nothing has worked.

configuration

All 7 comments

How about this configuration?

let s:p.normal.middle = [ [ '#ffffff', 'NONE', 255, 'NONE' ] ]
let s:p.inactive.middle = [ [ '#ffffff', 'NONE', 255, 'NONE' ] ]
let s:p.tabline.middle = [ [ '#ffffff', 'NONE', 255, 'NONE' ] ]

You bet! :)

Thanks so much for the amazing plugin!

Oh! One other thing: is there a way to remove the little vertical separators on the bottom right? unix | utf-8 | >>> unix utf-8

Add the following configuration to your vimrc.

let g:lightline = { 'subseparator': { 'right': '' } }

Perfect! Thanks again!

@itchyny I'm sorry, what I'm doing wrong?

I've pasted this in my .vimrc

let s:p.normal.middle = [ [ '#ffffff', 'NONE', 255, 'NONE' ] ]
let s:p.inactive.middle = [ [ '#ffffff', 'NONE', 255, 'NONE' ] ]
let s:p.tabline.middle = [ [ '#ffffff', 'NONE', 255, 'NONE' ] ]

and it says:

Undefined variable: s:p

UPD: Oh I think I got it, I should place it in colorscheme file, I did, but unfortunately it doesn't work, can you help me?

小薪懈屑芯泻 褝泻褉邪薪邪 2019-05-16 胁 0 38 24

UPD2: I find out that I need to modify other theme, but here is the error:

 Color name or number not recognized: ctermfg=O ctermbg=235

@karambaq Please create a new issue with your configuration and what you want.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

linus345 picture linus345  路  3Comments

dongsibo picture dongsibo  路  4Comments

kiryph picture kiryph  路  3Comments

ayutheos picture ayutheos  路  4Comments