tmuxline.vim
tmuxline.vim copied to clipboard
Gruvbox color scheme
Issue
Tmuxline doesn't work with the airline theme gruvbox. By default neovim doesn't set tmux theme on opening.
https://github.com/morhetz/gruvbox
There are no problems with other themes.
When I switch to gruvbox though
How to reproduce
Put the following in your init.vim
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'edkolev/tmuxline.vim' " configure tmux status bar to be like vim airline. Is this magic?
call plug#end()
run nvim +PlugInstall, then open nvim, run :AirlineTheme gruvbox
Other
$ tmux -V
2.3
$ nvim --version
NVIM 0.1.5
I'm with the same problem using onedark theme
I was able to fix this by adding the following lines to my ~/.tmux.conf
:
set -g default-terminal "tmux-256color"
set-option -ga terminal-overrides ",tmux-256color:Tc,xterm-256color:Tc"
Source: https://github.com/gruvbox-community/gruvbox/wiki/Terminal-specific