tmuxline.vim icon indicating copy to clipboard operation
tmuxline.vim copied to clipboard

Use consistent color in tmuxline with airline

Open paulhybryant opened this issue 10 years ago • 6 comments

Airline use a bright color for the tab that is selected, I think tmuxline should be consistent with that?

Sent a PR for this issue.

Thanks!

paulhybryant avatar Jan 09 '15 02:01 paulhybryant

Thank you for the pull request.

I would prefer not to modify all the airline themes (airline, airline_insert, airline_visual). Also, if someone doesn't use airline's tabline feature (which is by default off), the tmux colors will not be consistent with the tabline (because tabline is not visible).

Still, I do think this is a useful addition. Could you implement it as a separate theme? For example autoload/tmuxline/themes/airline_tabline.vim. Before return-ing here https://github.com/edkolev/tmuxline.vim/blob/master/autoload/tmuxline/themes/airline_visual.vim#L12 the colors should be modified.

Then users will have to set this in vimrc let g:tmuxline_preset = 'airline_tabline'

edkolev avatar Jan 17 '15 06:01 edkolev

Sure. What is the difference between theme and preset? If I implement this as a theme, shouldn't the user specify let g:tmuxline_theme = 'airline_tabline' instead of setting g:tmuxline_preset?

Thanks,

paulhybryant avatar Jan 17 '15 17:01 paulhybryant

Sorry, I copy-pasted incorrectly. User should set g:tmuxline_theme

Let me know if you run into any issues.

edkolev avatar Jan 17 '15 19:01 edkolev

+1 either changing the theme or creating a new one

justmytwospence avatar Jun 24 '15 21:06 justmytwospence

I have updated the PR and include this as a new theme.

Thanks.

paulhybryant avatar Sep 13 '15 03:09 paulhybryant

Please take a look at the PR. Thanks,

paulhybryant avatar Dec 20 '15 05:12 paulhybryant