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

Not seeing true colors on tmux/nvim #75

Closed
yosiat opened this issue Jan 18, 2017 · 4 comments
Closed

Not seeing true colors on tmux/nvim #75

yosiat opened this issue Jan 18, 2017 · 4 comments

Comments

@yosiat
Copy link

yosiat commented Jan 18, 2017

Hi,

This my environment:

  • macOS sierra 10.12.1

  • iterm2 3.0.13 - with xterm-256color and onedark-256 itermcolor

  • tmux 2.3 (with true color, checked with "tmux info | grep Tc"

  • nvim 0.1.7

Here is ~/.vimrc (the part which is related to the colors):

set t_Co=256
let g:rehash256 = 1
let g:onedark_termcolors=256

set background=dark
colorscheme onedark

and in tmux I see those colors:
screen shot 2017-01-18 at 11 43 28 pm

Outside of tmux it works.

Is this tmux issue? if so what's the specific issue?

@joshdick
Copy link
Owner

Please try the config snippet in step 1 of the README with the outer if (empty($TMUX)) check removed.

@simonsmith
Copy link
Collaborator

Possible dupe of #73 #74 #69

@joshdick
Copy link
Owner

(Really, this just amounts to adding set termguicolors to your vim configuration.)

@yosiat
Copy link
Author

yosiat commented Jan 18, 2017

the config snippet don't work at all, but only set termguicolors worked great!

Thanks @joshdick

@yosiat yosiat closed this as completed Jan 18, 2017
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

3 participants