-
Notifications
You must be signed in to change notification settings - Fork 529
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
Different background color in vim vs terminal/tmux #34
Comments
I've had this. It's usually around having Vim setup correctly with 256 colors. See if the |
Note that it's supposed to be navy in Vim |
I've noticed a similar thing. If I set |
Have you tried using neovim? |
That was actually my next move... I will post back if it's better. |
Indeed, it looks correct with nvim. Thanks for the suggestion 👍 |
There are a few things that seem to need clarifying here.
@domingusj Can you elaborate? If the colors look correct, comments and syntax highlighting should, too.
That's because MacVim is using GUI colors and ignores the You can get NeoVim to use the (correct, good-looking) GUI colors inside the terminal, regardless of the I'm closing this issue since there doesn't appear to be an actual problem, but feel free to keep the dialog going. :) |
@codemang What you're seeing is almost certainly because you're using the theme in 256-color mode. Please either use 16 color-mode or NeoVim, as described in the README. |
@domingusj To me that indicates that something is wrong with the 16-color iTerm preset (or the import of it.) When's the last time you downloaded a fresh copy of it and re-imported it? It has changed a few times during the past couple of weeks. I'm glad you like the colorscheme! :) |
I'm pretty sure that I re-imported it fairly recently, but I'm not 100% sure. nvim is working great though and I've started moving my stuff over. Thanks again for all your work! |
@domingusj Okay! You're welcome! |
@joshdick Thanks |
@joshdick |
@yarhtut Have this same dark grayish bg. What did you change to get it working? Specifically the dark gray bg appears in tmux (v2.2 which should have 24 bit support) nvim only. edit: fixed by adding |
same issue like @joshdick after setting and if I use At last I found the reason is, I used an onedark theme for iterm from nathanbuchar/atom-one-dark-terminal, with doesn't work well with 16bit onedark.vim! So I switch to |
@reidcooper That is the 8-bit/256 color palette, whose colors are defined as the To get hex equivalents to those colors, you'll have to look up the aforementioned I hope that helps! |
@joshdick Thanks! That makes sense. As for the attributes When are any of the 3 chosen? New to vim. |
@reidcooper You’re welcome! For any given color definition, So, every color definition is actually three definitions since each color needs to work in three modes. Your configuration is what determines which mode is used. The README goes into a lot of detail about that. |
In vim the background is a nice dark gray, but in my terminal it looks like a very dark navy. Have you encountered this issue before?
The text was updated successfully, but these errors were encountered: