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

Documentation on color codes for highlighting? #44

Closed
geoffharcourt opened this issue Mar 10, 2015 · 6 comments
Closed

Documentation on color codes for highlighting? #44

geoffharcourt opened this issue Mar 10, 2015 · 6 comments

Comments

@geoffharcourt
Copy link

The highlighting of the selected match isn't visible under tmux with several colorschemes I have tried. I am having this issue using the base Thoughtbot tmux configuration with no customizations. The issue happens both in and outside of Vim. Everything works fine if I'm not in tmux.

I have a feeling there's an easy way to fix the color profiles (it works in Solarized Dark, but not in Jellybeans), but after fiddling with the colors in my profiles I'm still having trouble figuring out what attribute I should change to enable the highlighting.

@Mange
Copy link

Mange commented Mar 10, 2015

What is your $TERM inside tmux?

> echo $TERM

@geoffharcourt
Copy link
Author

.HI @Mange, my $TERM in tmux is screen-256color

@calleluks
Copy link
Collaborator

Thanks for reporting this @geoffharcourt.

pick is not using a specific color but instead uses the built in standout feature of the terminal.

If you run less < /dev/null, (END) should be printed at the top left of your terminal, when you press q it should go away. less should print (END) using the same standout feature pick uses. Can you check if you see experience similar problems with this command using different themes?

@geoffharcourt
Copy link
Author

@calleerlandsson, when I run that in the Jellybeans theme, I see don't see any highlighting.

This could be a problem with the theme, which certainly shouldn't be a concern of this project. I'm currently able to get highlighting with fzf, so I think that project must use a different means of applying a highlight.

@calleluks
Copy link
Collaborator

@geoffharcourt Looking at the fzf implementation, they seem to explicitly set a color pair of the output whereas pick will use the terminal default standout color pair. If the less command does not give you the right color, I unfortunately think there might be a problem with your theme.

@geoffharcourt
Copy link
Author

Thanks for the help, (I have zero experience reading C), looks like it's time to move on to a better theme.

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