Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmuxline not inheriting airline colors when mode changes #90

Open
ScrumpyJack opened this issue May 2, 2018 · 1 comment
Open

tmuxline not inheriting airline colors when mode changes #90

ScrumpyJack opened this issue May 2, 2018 · 1 comment

Comments

@ScrumpyJack
Copy link

When I change from Normal to Visual or to Insert modes, the tmuxline does change it's colors automatically to match those of the airline colors.

They do match if i set :Tmuxline airline_insert inside vim for example

How can I make the tmuxline change colors automatically?

@mlopezgva
Copy link

mlopezgva commented Jun 7, 2019

I use this:

if exists('$TMUX')
	au InsertEnter * Tmuxline lightline_insert
	au InsertLeave * Tmuxline lightline
endif

I put them inside an au group, but it is working (except for the cosmic_latte theme which throws an error, but that is another story. 😃. Unfortunately (or not ;-)) there is no VisualEnter event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants