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

Gruvbox color scheme

Open jurajpetrik opened this issue 7 years ago • 2 comments

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

screen shot 2016-10-15 at 20 57 01

There are no problems with other themes.

screen shot 2016-10-15 at 20 58 17

When I switch to gruvbox though screen shot 2016-10-15 at 21 00 18

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

jurajpetrik avatar Oct 15 '16 18:10 jurajpetrik

I'm with the same problem using onedark theme

wseabra avatar Jan 05 '17 01:01 wseabra

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"

ksnip_20210903-215710

Source: https://github.com/gruvbox-community/gruvbox/wiki/Terminal-specific

ret2src avatar Sep 03 '21 19:09 ret2src